diff --git a/clients/client-nimble/.gitignore b/clients/client-nimble/.gitignore deleted file mode 100644 index 54f14c9aef25..000000000000 --- a/clients/client-nimble/.gitignore +++ /dev/null @@ -1,9 +0,0 @@ -/node_modules/ -/build/ -/coverage/ -/docs/ -/dist-* -*.tsbuildinfo -*.tgz -*.log -package-lock.json diff --git a/clients/client-nimble/CHANGELOG.md b/clients/client-nimble/CHANGELOG.md deleted file mode 100644 index 4222706756b8..000000000000 --- a/clients/client-nimble/CHANGELOG.md +++ /dev/null @@ -1,2936 +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.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-nimble - - - - - -# [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-nimble - - - - - -# [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-nimble - - - - - -# [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-nimble - - - - - -# [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-nimble - - - - - -# [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-nimble - - - - - -# [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-nimble - - - - - -# [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-nimble - - - - - -# [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-nimble - - - - - -# [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-nimble - - - - - -## [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-nimble - - - - - -# [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-nimble - - - - - -# [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-nimble - - - - - -# [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-nimble - - - - - -# [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-nimble - - - - - -# [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-nimble - - - - - -# [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-nimble - - - - - -# [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-nimble - - - - - -# [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-nimble - - - - - -# [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-nimble - - - - - -# [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-nimble - - - - - -## [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-nimble - - - - - -# [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-nimble - - - - - -# [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-nimble - - - - - -# [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-nimble - - - - - -# [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-nimble - - - - - -# [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-nimble - - - - - -# [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-nimble - - - - - -# [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-nimble - - - - - -# [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-nimble - - - - - -# [3.596.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.595.0...v3.596.0) (2024-06-12) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.592.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.591.0...v3.592.0) (2024-06-06) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.590.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.589.0...v3.590.0) (2024-06-04) - - -### Bug Fixes - -* **codegen:** consistently add region as config option when generated client is Sigv4 but not AWS ([#6156](https://github.com/aws/aws-sdk-js-v3/issues/6156)) ([06f51cc](https://github.com/aws/aws-sdk-js-v3/commit/06f51ccdc1c825f4b4de6a865520ace78c098ff3)) - - - - - -# [3.588.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.587.0...v3.588.0) (2024-05-31) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.587.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.586.0...v3.587.0) (2024-05-30) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.583.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.582.0...v3.583.0) (2024-05-23) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.582.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.581.0...v3.582.0) (2024-05-22) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.577.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.576.0...v3.577.0) (2024-05-15) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.576.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.575.0...v3.576.0) (2024-05-14) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.575.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.574.0...v3.575.0) (2024-05-13) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.574.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.573.0...v3.574.0) (2024-05-10) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.572.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.571.0...v3.572.0) (2024-05-08) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.569.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.568.0...v3.569.0) (2024-05-03) - - -### Bug Fixes - -* **clients:** add deps required by default credential providers ([#6055](https://github.com/aws/aws-sdk-js-v3/issues/6055)) ([bfa8626](https://github.com/aws/aws-sdk-js-v3/commit/bfa86268540d197a21f13e8d2e8bced10b78d480)) - - - - - -# [3.568.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.567.0...v3.568.0) (2024-05-02) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.567.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.566.0...v3.567.0) (2024-05-01) - - -### Features - -* end support for Node.js 14.x ([#6034](https://github.com/aws/aws-sdk-js-v3/issues/6034)) ([d196411](https://github.com/aws/aws-sdk-js-v3/commit/d19641119f07d62c29f12348f448cd834d841533)) - - - - - -# [3.565.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.564.0...v3.565.0) (2024-04-29) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.564.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.563.0...v3.564.0) (2024-04-26) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.563.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.562.0...v3.563.0) (2024-04-25) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.556.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.555.0...v3.556.0) (2024-04-16) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.554.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.553.0...v3.554.0) (2024-04-11) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.552.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.551.0...v3.552.0) (2024-04-09) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.549.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.548.0...v3.549.0) (2024-04-04) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.540.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.539.0...v3.540.0) (2024-03-22) - - -### Bug Fixes - -* **util-endpoints:** augment endpointFunctions inline in endpointResolver functions ([#5933](https://github.com/aws/aws-sdk-js-v3/issues/5933)) ([42a791d](https://github.com/aws/aws-sdk-js-v3/commit/42a791defb20c697fefc985f1f2b22fc9e5be388)) - - - - - -# [3.535.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.534.0...v3.535.0) (2024-03-15) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.533.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.532.0...v3.533.0) (2024-03-13) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -## [3.529.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.529.0...v3.529.1) (2024-03-08) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.529.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.528.0...v3.529.0) (2024-03-07) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.525.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.524.0...v3.525.0) (2024-02-29) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.523.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.522.0...v3.523.0) (2024-02-27) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.521.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.520.0...v3.521.0) (2024-02-23) - - -### Features - -* requestHandler ctor param pass-through ([#5820](https://github.com/aws/aws-sdk-js-v3/issues/5820)) ([9fec71d](https://github.com/aws/aws-sdk-js-v3/commit/9fec71d1933cd8e3db118c164bca16edc2305532)) - - - - - -# [3.515.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.514.0...v3.515.0) (2024-02-15) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.514.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.513.0...v3.514.0) (2024-02-14) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.513.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.512.0...v3.513.0) (2024-02-13) - - -### Features - -* **experimentalIdentityAndAuth:** release phase for services without customizations ([#5787](https://github.com/aws/aws-sdk-js-v3/issues/5787)) ([4004ff6](https://github.com/aws/aws-sdk-js-v3/commit/4004ff68a8ad20f6e60e8fab1f8952928f92f4b7)) - - - - - -# [3.511.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.510.0...v3.511.0) (2024-02-09) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.509.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.508.0...v3.509.0) (2024-02-07) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.507.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.506.0...v3.507.0) (2024-02-05) - - -### Features - -* unified error dispatcher in protocols ([#5756](https://github.com/aws/aws-sdk-js-v3/issues/5756)) ([0872087](https://github.com/aws/aws-sdk-js-v3/commit/0872087ef56422541bd38d293f97613dfd10236f)) - - - - - -# [3.504.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.503.1...v3.504.0) (2024-01-31) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -## [3.503.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.503.0...v3.503.1) (2024-01-30) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.503.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.502.0...v3.503.0) (2024-01-30) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.502.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.501.0...v3.502.0) (2024-01-29) - - -### Features - -* **credential-providers:** lazy load STS & SSO clients in credential providers ([#5681](https://github.com/aws/aws-sdk-js-v3/issues/5681)) ([d27301d](https://github.com/aws/aws-sdk-js-v3/commit/d27301d48f3e75fdaccabf58f779f0b33a70664e)) - - - - - -# [3.501.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.500.0...v3.501.0) (2024-01-26) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.499.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.498.0...v3.499.0) (2024-01-24) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.496.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.495.0...v3.496.0) (2024-01-19) - - -### Bug Fixes - -* get full list of exports for esm compat in dist-cjs ([#5694](https://github.com/aws/aws-sdk-js-v3/issues/5694)) ([5d26da6](https://github.com/aws/aws-sdk-js-v3/commit/5d26da6d07b593ae286ca674fb3cbff7c833cbb0)) - - - - - -# [3.495.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.494.0...v3.495.0) (2024-01-18) - - -### Features - -* use bundled dist-cjs build ([#5687](https://github.com/aws/aws-sdk-js-v3/issues/5687)) ([5f79e22](https://github.com/aws/aws-sdk-js-v3/commit/5f79e225e32f0b2ed5b432ae4e4108663eb0acfb)) - - - - - -# [3.490.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.489.0...v3.490.0) (2024-01-11) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.489.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.488.0...v3.489.0) (2024-01-10) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.485.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.484.0...v3.485.0) (2024-01-03) - - -### Features - -* **credential-providers:** add credentialScope field ([#5606](https://github.com/aws/aws-sdk-js-v3/issues/5606)) ([04c1459](https://github.com/aws/aws-sdk-js-v3/commit/04c14592898ac63ed87d47f2a53320ccaa991083)) - - - - - -# [3.484.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.483.0...v3.484.0) (2023-12-29) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.481.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.480.0...v3.481.0) (2023-12-26) - - -### Features - -* codegen for command class builder ([#5604](https://github.com/aws/aws-sdk-js-v3/issues/5604)) ([4835de4](https://github.com/aws/aws-sdk-js-v3/commit/4835de4ebb8f302ae1e838ac1efaf5f12384910d)) - - - - - -# [3.478.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.477.0...v3.478.0) (2023-12-20) - - -### Features - -* codegen for paginator factory ([#5590](https://github.com/aws/aws-sdk-js-v3/issues/5590)) ([e54099b](https://github.com/aws/aws-sdk-js-v3/commit/e54099b7c1eb3b1de5737d5494821b1dae045fca)) - - - - - -# [3.477.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.476.0...v3.477.0) (2023-12-19) - - -### Features - -* xml codegen reduction ([#5566](https://github.com/aws/aws-sdk-js-v3/issues/5566)) ([3ed7c81](https://github.com/aws/aws-sdk-js-v3/commit/3ed7c81f9191182826de7645078cc6ed1d2ee959)) - - - - - -# [3.476.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.475.0...v3.476.0) (2023-12-18) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.474.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.473.0...v3.474.0) (2023-12-14) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.473.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.472.0...v3.473.0) (2023-12-13) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.470.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.469.0...v3.470.0) (2023-12-08) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.468.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.467.0...v3.468.0) (2023-12-06) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.465.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.464.0...v3.465.0) (2023-12-01) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.462.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.461.0...v3.462.0) (2023-11-29) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.461.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.460.0...v3.461.0) (2023-11-28) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.460.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.459.0...v3.460.0) (2023-11-28) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.458.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.457.0...v3.458.0) (2023-11-27) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.454.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.453.0...v3.454.0) (2023-11-17) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.451.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.450.0...v3.451.0) (2023-11-14) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.450.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.449.0...v3.450.0) (2023-11-13) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.449.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.448.0...v3.449.0) (2023-11-10) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.445.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.444.0...v3.445.0) (2023-11-07) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.441.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.440.0...v3.441.0) (2023-11-01) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.438.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.437.0...v3.438.0) (2023-10-27) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.437.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.436.0...v3.437.0) (2023-10-26) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.436.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.435.0...v3.436.0) (2023-10-25) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.435.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.434.0...v3.435.0) (2023-10-24) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.433.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.432.0...v3.433.0) (2023-10-20) - - -### Bug Fixes - -* **codegen:** use partial record for enum keyed types ([#5391](https://github.com/aws/aws-sdk-js-v3/issues/5391)) ([70c2107](https://github.com/aws/aws-sdk-js-v3/commit/70c2107b970d035bfedb211278c88fdbfc2e5334)) - - - - - -# [3.431.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.430.0...v3.431.0) (2023-10-18) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.430.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.429.0...v3.430.0) (2023-10-17) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.429.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.428.0...v3.429.0) (2023-10-16) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.428.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.427.0...v3.428.0) (2023-10-12) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.427.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.426.0...v3.427.0) (2023-10-06) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.425.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.424.0...v3.425.0) (2023-10-04) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.423.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.422.0...v3.423.0) (2023-10-02) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.421.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.420.0...v3.421.0) (2023-09-27) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.418.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.417.0...v3.418.0) (2023-09-22) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.414.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.413.0...v3.414.0) (2023-09-15) - - -### Features - -* **region-config:** add aws region runtime extension codegen ([#5157](https://github.com/aws/aws-sdk-js-v3/issues/5157)) ([b9d59e8](https://github.com/aws/aws-sdk-js-v3/commit/b9d59e81696f9628c6502473bb01a2d1a617e928)) - - - - - -# [3.413.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.412.0...v3.413.0) (2023-09-14) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.410.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.409.0...v3.410.0) (2023-09-11) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.409.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.408.0...v3.409.0) (2023-09-08) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.408.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.407.0...v3.408.0) (2023-09-07) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.405.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.404.0...v3.405.0) (2023-09-01) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.398.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.397.0...v3.398.0) (2023-08-23) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.395.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.394.0...v3.395.0) (2023-08-18) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.391.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.390.0...v3.391.0) (2023-08-14) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.388.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.387.0...v3.388.0) (2023-08-09) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.387.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.386.0...v3.387.0) (2023-08-08) - - -### Features - -* **clients:** allow client creation without configuration ([#5060](https://github.com/aws/aws-sdk-js-v3/issues/5060)) ([a9723dc](https://github.com/aws/aws-sdk-js-v3/commit/a9723dcbbf970402a3131a8ff79153a04b2cfb89)) - - - - - -# [3.386.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.385.0...v3.386.0) (2023-08-07) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.385.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.384.0...v3.385.0) (2023-08-04) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.382.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.381.0...v3.382.0) (2023-08-01) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -## [3.379.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.379.0...v3.379.1) (2023-07-28) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.378.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.377.0...v3.378.0) (2023-07-26) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.377.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.376.0...v3.377.0) (2023-07-25) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.370.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.369.0...v3.370.0) (2023-07-13) - - -### Bug Fixes - -* **codegen:** pkg.json merge behavior ([#4954](https://github.com/aws/aws-sdk-js-v3/issues/4954)) ([4fc0b7f](https://github.com/aws/aws-sdk-js-v3/commit/4fc0b7f3961fe8a88c781c8f34269aef12d5f620)) - - - - - -# [3.369.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.368.0...v3.369.0) (2023-07-11) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.363.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.362.0...v3.363.0) (2023-06-29) - - -### Features - -* **clients:** use migrated [@smithy](https://github.com/smithy) packages ([#4873](https://github.com/aws/aws-sdk-js-v3/issues/4873)) ([d036e2e](https://github.com/aws/aws-sdk-js-v3/commit/d036e2e43cd33cfd497871f97dde907c3078b2fd)) - - - - - -# [3.362.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.361.0...v3.362.0) (2023-06-28) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.360.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.359.0...v3.360.0) (2023-06-26) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.359.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.358.0...v3.359.0) (2023-06-23) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.358.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.357.0...v3.358.0) (2023-06-22) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.357.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.356.0...v3.357.0) (2023-06-21) - - -### Features - -* **clients:** automatic blob type conversions ([#4836](https://github.com/aws/aws-sdk-js-v3/issues/4836)) ([60ec921](https://github.com/aws/aws-sdk-js-v3/commit/60ec921c879ae8363f32ebbe9e1ecd6062df1081)) - - - - - -# [3.354.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.353.0...v3.354.0) (2023-06-16) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.353.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.352.0...v3.353.0) (2023-06-15) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.352.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.351.0...v3.352.0) (2023-06-13) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.350.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.349.0...v3.350.0) (2023-06-09) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.348.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.347.1...v3.348.0) (2023-06-07) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -## [3.347.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.347.0...v3.347.1) (2023-06-07) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.347.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.346.0...v3.347.0) (2023-06-06) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.345.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.344.0...v3.345.0) (2023-06-02) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.344.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.343.0...v3.344.0) (2023-06-01) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.342.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.341.0...v3.342.0) (2023-05-30) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.341.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.340.0...v3.341.0) (2023-05-26) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.338.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.337.0...v3.338.0) (2023-05-23) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.337.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.336.0...v3.337.0) (2023-05-22) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.335.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.334.0...v3.335.0) (2023-05-18) - - -### Features - -* **deps:** use [@smithy](https://github.com/smithy) types and protocol-http ([#4722](https://github.com/aws/aws-sdk-js-v3/issues/4722)) ([7ed7101](https://github.com/aws/aws-sdk-js-v3/commit/7ed7101dcc4e81038b6c7f581162b959e6b33a04)) - - - - - -# [3.332.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.331.0...v3.332.0) (2023-05-11) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.329.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.328.0...v3.329.0) (2023-05-08) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.328.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.327.0...v3.328.0) (2023-05-05) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.327.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.326.0...v3.327.0) (2023-05-04) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.326.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.325.0...v3.326.0) (2023-05-03) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.325.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.324.0...v3.325.0) (2023-05-02) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -## [3.321.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.321.0...v3.321.1) (2023-04-27) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.319.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.318.0...v3.319.0) (2023-04-24) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.316.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.315.0...v3.316.0) (2023-04-19) - - -### Features - -* **smithy-client:** factory for aggregated clients ([#4639](https://github.com/aws/aws-sdk-js-v3/issues/4639)) ([852b99d](https://github.com/aws/aws-sdk-js-v3/commit/852b99d393fe5f1a9ff6345f797949f3901a9cbf)) - - - - - -# [3.315.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.314.0...v3.315.0) (2023-04-17) - - -### Features - -* **codegen:** shorten serialization and deserialization code in protocols files ([#4625](https://github.com/aws/aws-sdk-js-v3/issues/4625)) ([8798a6e](https://github.com/aws/aws-sdk-js-v3/commit/8798a6eac1b48f0a807c51e38b864ef62b712943)) - - - - - -# [3.312.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.311.0...v3.312.0) (2023-04-12) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.310.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.309.0...v3.310.0) (2023-04-10) - - -### Bug Fixes - -* use updated dist glob pattern in package.json ([#4628](https://github.com/aws/aws-sdk-js-v3/issues/4628)) ([352393d](https://github.com/aws/aws-sdk-js-v3/commit/352393dcdba5ba16dca589c265c40e22913c7f2b)) - - - - - -# [3.309.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.308.0...v3.309.0) (2023-04-07) - - -### Features - -* **codegen:** shorten internal serde function names ([#4611](https://github.com/aws/aws-sdk-js-v3/issues/4611)) ([e385e85](https://github.com/aws/aws-sdk-js-v3/commit/e385e85938d112434b752abb38ab5de2d094f669)) - - - - - -# [3.306.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.305.0...v3.306.0) (2023-04-04) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.303.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.302.0...v3.303.0) (2023-03-30) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.301.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.300.0...v3.301.0) (2023-03-28) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.300.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.299.0...v3.300.0) (2023-03-27) - - -### Features - -* **clients:** codegen for structural hint documentation in commands ([#4573](https://github.com/aws/aws-sdk-js-v3/issues/4573)) ([b3ff58d](https://github.com/aws/aws-sdk-js-v3/commit/b3ff58d3606ceefcdd04ac82fc1ca54f5f811989)) - - - - - -# [3.299.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.298.0...v3.299.0) (2023-03-24) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.298.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.297.0...v3.298.0) (2023-03-23) - - -### Features - -* **clients:** remove generated log filters for data with no sensitive data ([#4544](https://github.com/aws/aws-sdk-js-v3/issues/4544)) ([569155d](https://github.com/aws/aws-sdk-js-v3/commit/569155d6cce710b102cefa7511ba1bc1d28bc87e)) - - - - - -# [3.297.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.296.0...v3.297.0) (2023-03-22) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.296.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.295.0...v3.296.0) (2023-03-21) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.295.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.294.0...v3.295.0) (2023-03-20) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.294.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.293.0...v3.294.0) (2023-03-17) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.293.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.292.1...v3.293.0) (2023-03-16) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.292.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.291.0...v3.292.0) (2023-03-15) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.290.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.289.0...v3.290.0) (2023-03-13) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.289.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.288.0...v3.289.0) (2023-03-10) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.288.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.287.0...v3.288.0) (2023-03-09) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.287.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.286.0...v3.287.0) (2023-03-08) - - -### Bug Fixes - -* **clients:** remove aggregated client from paginators ([#4496](https://github.com/aws/aws-sdk-js-v3/issues/4496)) ([aea457a](https://github.com/aws/aws-sdk-js-v3/commit/aea457ab5d4e72939f2f608140d82b60526eb716)) - - - - - -# [3.282.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.281.0...v3.282.0) (2023-03-01) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.281.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.280.0...v3.281.0) (2023-02-28) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.279.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.278.0...v3.279.0) (2023-02-24) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.278.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.277.0...v3.278.0) (2023-02-23) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.276.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.275.0...v3.276.0) (2023-02-21) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.272.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.271.0...v3.272.0) (2023-02-15) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.271.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.270.0...v3.271.0) (2023-02-14) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.267.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.266.1...v3.267.0) (2023-02-08) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -## [3.266.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.266.0...v3.266.1) (2023-02-07) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.266.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.265.0...v3.266.0) (2023-02-06) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.264.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.263.0...v3.264.0) (2023-02-02) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.262.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.261.0...v3.262.0) (2023-01-31) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.261.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.260.0...v3.261.0) (2023-01-30) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.259.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.258.0...v3.259.0) (2023-01-26) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.258.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.257.0...v3.258.0) (2023-01-25) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.257.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.256.0...v3.257.0) (2023-01-24) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.256.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.255.0...v3.256.0) (2023-01-23) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.254.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.253.0...v3.254.0) (2023-01-19) - - -### Features - -* **checksum:** replace Hash with Checksum ([#4346](https://github.com/aws/aws-sdk-js-v3/issues/4346)) ([172b4f3](https://github.com/aws/aws-sdk-js-v3/commit/172b4f3475370b386271750436004706b36bc056)) - - - - - -# [3.252.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.251.0...v3.252.0) (2023-01-17) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.245.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.244.0...v3.245.0) (2023-01-05) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.241.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.240.0...v3.241.0) (2022-12-29) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.238.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.237.0...v3.238.0) (2022-12-23) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.236.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.235.0...v3.236.0) (2022-12-21) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.235.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.234.0...v3.235.0) (2022-12-20) - - -### Features - -* **client-nimble:** Amazon Nimble Studio now supports configuring session storage volumes and persistence, as well as backup and restore sessions through launch profiles. ([858e866](https://github.com/aws/aws-sdk-js-v3/commit/858e86600559dd26ade59e9ee876e9eab57d7237)) - - - - - -# [3.234.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.233.0...v3.234.0) (2022-12-19) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.231.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.230.0...v3.231.0) (2022-12-14) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.229.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.228.0...v3.229.0) (2022-12-12) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.226.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.225.0...v3.226.0) (2022-12-07) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.224.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.223.0...v3.224.0) (2022-12-05) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.223.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.222.0...v3.223.0) (2022-12-02) - - -### Bug Fixes - -* **clients:** remove unconditional inclusion of util-retry ([#4246](https://github.com/aws/aws-sdk-js-v3/issues/4246)) ([3baeb44](https://github.com/aws/aws-sdk-js-v3/commit/3baeb445fb399fa3b6d81e89e88c22b0c0a691cc)) - - - - - -# [3.222.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.221.0...v3.222.0) (2022-12-01) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.218.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.217.0...v3.218.0) (2022-11-28) - - -### Bug Fixes - -* **codegen:** add check for required query parameters ([#4223](https://github.com/aws/aws-sdk-js-v3/issues/4223)) ([b941f46](https://github.com/aws/aws-sdk-js-v3/commit/b941f4646518aacec2d7709eb673e5b2d90f0b04)) - - - - - -# [3.216.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.215.0...v3.216.0) (2022-11-22) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.215.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.214.0...v3.215.0) (2022-11-21) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.213.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.212.0...v3.213.0) (2022-11-17) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.212.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.211.0...v3.212.0) (2022-11-16) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.211.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.210.0...v3.211.0) (2022-11-15) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.210.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.209.0...v3.210.0) (2022-11-14) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.209.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.208.0...v3.209.0) (2022-11-11) - - -### Bug Fixes - -* **clients:** remove unconditional add of util-base64 node and browser modules ([#4170](https://github.com/aws/aws-sdk-js-v3/issues/4170)) ([24ec718](https://github.com/aws/aws-sdk-js-v3/commit/24ec718ea19309059d8b923c0b5c4265d308a36f)) -* **clients:** use default no-op logger in clients codegen ([#4171](https://github.com/aws/aws-sdk-js-v3/issues/4171)) ([9721730](https://github.com/aws/aws-sdk-js-v3/commit/9721730bc3ceba8a8b80ad95e9c893e55e30272e)) - - - - - -# [3.208.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.207.0...v3.208.0) (2022-11-10) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.204.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.203.0...v3.204.0) (2022-11-04) - - -### Features - -* **clients:** update client endpoints as of 2022-11-04 ([7471107](https://github.com/aws/aws-sdk-js-v3/commit/7471107c0881b5d9e474447a660dd3354a50b195)) - - - - - -# [3.202.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.201.0...v3.202.0) (2022-11-02) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.201.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.200.0...v3.201.0) (2022-11-01) - - -### Features - -* end support for Node.js 12.x ([#4123](https://github.com/aws/aws-sdk-js-v3/issues/4123)) ([83f913e](https://github.com/aws/aws-sdk-js-v3/commit/83f913ec2ac3878d8726c6964f585550dc5caf3e)) - - - - - -# [3.200.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.199.0...v3.200.0) (2022-10-31) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.199.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.198.0...v3.199.0) (2022-10-28) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.198.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.197.0...v3.198.0) (2022-10-27) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.197.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.196.0...v3.197.0) (2022-10-26) - - -### Bug Fixes - -* **types:** expand custom endpoint type ([#4097](https://github.com/aws/aws-sdk-js-v3/issues/4097)) ([3620ce4](https://github.com/aws/aws-sdk-js-v3/commit/3620ce4162435b9688823162281140f40365b14c)) - - - - - -# [3.196.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.195.0...v3.196.0) (2022-10-25) - - -### Features - -* **endpoint:** add remaining restJson1 services endpoint models ([#4090](https://github.com/aws/aws-sdk-js-v3/issues/4090)) ([998113b](https://github.com/aws/aws-sdk-js-v3/commit/998113bd0a70a7de4bf5d975cb5f7524098866a0)) - - - - - -# [3.194.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.193.0...v3.194.0) (2022-10-21) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.193.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.192.0...v3.193.0) (2022-10-20) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.192.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.191.0...v3.192.0) (2022-10-19) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.190.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.189.0...v3.190.0) (2022-10-17) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.188.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.187.0...v3.188.0) (2022-10-13) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.186.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.185.0...v3.186.0) (2022-10-06) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.185.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.184.0...v3.185.0) (2022-10-05) - - -### Bug Fixes - -* **codegen:** add deser check for x-amz-request-id ([#4015](https://github.com/aws/aws-sdk-js-v3/issues/4015)) ([6ff07bd](https://github.com/aws/aws-sdk-js-v3/commit/6ff07bd7e72bd56725f318013ac1d6d0fbbcdd9a)) - - - - - -# [3.183.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.182.0...v3.183.0) (2022-10-03) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.181.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.180.0...v3.181.0) (2022-09-29) - - -### Bug Fixes - -* **clients:** make parseErrorBody async ([#3999](https://github.com/aws/aws-sdk-js-v3/issues/3999)) ([2558c93](https://github.com/aws/aws-sdk-js-v3/commit/2558c93c050357ac6dc47aa0452b15b12ebfd676)) -* **clients:** populate message field when parsing errors ([#3995](https://github.com/aws/aws-sdk-js-v3/issues/3995)) ([02e47f1](https://github.com/aws/aws-sdk-js-v3/commit/02e47f14397ae0a5d2e2883350d038b307fdcdb4)) - - - - - -# [3.180.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.179.0...v3.180.0) (2022-09-27) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.179.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.178.0...v3.179.0) (2022-09-26) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.178.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.177.0...v3.178.0) (2022-09-23) - - -### Features - -* **client-nimble:** Amazon Nimble Studio adds support for on-demand Amazon Elastic Compute Cloud (EC2) G3 and G5 instances, allowing customers to utilize additional GPU instance types for their creative projects. ([8f5334a](https://github.com/aws/aws-sdk-js-v3/commit/8f5334a5ffa75b5d228d175c810944ba9ba90f4e)) - - - - - -# [3.171.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.170.0...v3.171.0) (2022-09-14) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.170.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.169.0...v3.170.0) (2022-09-13) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.169.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.168.0...v3.169.0) (2022-09-12) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.168.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.167.0...v3.168.0) (2022-09-09) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.165.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.164.0...v3.165.0) (2022-09-06) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.163.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.162.0...v3.163.0) (2022-09-01) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.162.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.161.0...v3.162.0) (2022-08-31) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.161.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.160.0...v3.161.0) (2022-08-30) - - -### Features - -* **clients:** update client endpoints as of 2022-08-30 ([59043d3](https://github.com/aws/aws-sdk-js-v3/commit/59043d3755015c9185990f3ad850aaded13bd58c)) - - - - - -# [3.160.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.159.0...v3.160.0) (2022-08-29) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.159.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.158.0...v3.159.0) (2022-08-26) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.154.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.153.0...v3.154.0) (2022-08-19) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.150.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.149.0...v3.150.0) (2022-08-15) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.145.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.144.0...v3.145.0) (2022-08-08) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.142.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.141.0...v3.142.0) (2022-08-02) - - -### Features - -* **codegen:** general data mapping function ([#3830](https://github.com/aws/aws-sdk-js-v3/issues/3830)) ([9417eae](https://github.com/aws/aws-sdk-js-v3/commit/9417eae722806799fb4c15c07921574268c1165c)) - - - - - -# [3.141.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.140.0...v3.141.0) (2022-08-01) - - -### Features - -* **clients:** update client endpoints as of 2022-08-01 ([aaf49f2](https://github.com/aws/aws-sdk-js-v3/commit/aaf49f21b371412e6ea7e00890b71a7b31991b66)) - - - - - -# [3.137.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.136.1...v3.137.0) (2022-07-26) - - -### Features - -* **namespaces:** remove namespaces with only a log filter ([#3823](https://github.com/aws/aws-sdk-js-v3/issues/3823)) ([33e6822](https://github.com/aws/aws-sdk-js-v3/commit/33e68228fb64c53dd8f89e6be76dd5f46edc3cfd)) - - - - - -# [3.131.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.130.0...v3.131.0) (2022-07-15) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.130.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.129.0...v3.130.0) (2022-07-14) - - -### Bug Fixes - -* **codegen:** fix error code parsing when it's a number ([#3371](https://github.com/aws/aws-sdk-js-v3/issues/3371)) ([c2d8522](https://github.com/aws/aws-sdk-js-v3/commit/c2d852279a3d23958521a6ceb4f4c642b0cb1848)) - - -### Features - -* **client-nimble:** Amazon Nimble Studio adds support for IAM-based access to AWS resources for Nimble Studio components and custom studio components. Studio Component scripts use these roles on Nimble Studio workstation to mount filesystems, access S3 buckets, or other configured resources in the Studio's AWS account ([bae6c59](https://github.com/aws/aws-sdk-js-v3/commit/bae6c592854d1e806e074a214bc833b5cbe4c939)) - - - - - -# [3.128.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.127.0...v3.128.0) (2022-07-12) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.127.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.126.0...v3.127.0) (2022-07-11) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.121.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.120.0...v3.121.0) (2022-06-30) - - -### Features - -* **clients:** fallback to status code for unmodeled errors ([#3752](https://github.com/aws/aws-sdk-js-v3/issues/3752)) ([49bcc4f](https://github.com/aws/aws-sdk-js-v3/commit/49bcc4f153e890e798a8e82fd5fc397b2dcc449f)) - - - - - -## [3.118.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.118.0...v3.118.1) (2022-06-27) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.118.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.117.0...v3.118.0) (2022-06-24) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.112.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.111.0...v3.112.0) (2022-06-16) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.110.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.109.0...v3.110.0) (2022-06-14) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.109.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.108.1...v3.109.0) (2022-06-13) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06) - - -### Features - -* **clients:** support recursion detection in Lambda ([#3654](https://github.com/aws/aws-sdk-js-v3/issues/3654)) ([ecfe46e](https://github.com/aws/aws-sdk-js-v3/commit/ecfe46ea1fd8b6e3812b75b3dc6c03554fb4b3fa)) - - - - - -# [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.99.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.98.0...v3.99.0) (2022-05-25) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.95.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.94.0...v3.95.0) (2022-05-19) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.94.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.93.0...v3.94.0) (2022-05-18) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.92.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.91.0...v3.92.0) (2022-05-16) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.87.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.86.0...v3.87.0) (2022-05-09) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.85.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.84.0...v3.85.0) (2022-05-05) - - -### Features - -* **codegen:** add codegen indicator comment to all generated files ([#3592](https://github.com/aws/aws-sdk-js-v3/issues/3592)) ([567a530](https://github.com/aws/aws-sdk-js-v3/commit/567a5304232fcc1f9db3fd3df545054de8336b4b)) - - - - - -# [3.82.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.81.0...v3.82.0) (2022-05-02) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.81.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.80.0...v3.81.0) (2022-04-29) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.80.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.79.0...v3.80.0) (2022-04-28) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.79.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.78.0...v3.79.0) (2022-04-27) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.78.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.77.0...v3.78.0) (2022-04-26) - - -### Features - -* **types:** add pagination stopOnSameToken option ([#3524](https://github.com/aws/aws-sdk-js-v3/issues/3524)) ([9bf73e8](https://github.com/aws/aws-sdk-js-v3/commit/9bf73e81b8d9be9f12c72cbefbe26c502d1873c6)) - - - - - -# [3.76.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.75.0...v3.76.0) (2022-04-22) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.75.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.74.0...v3.75.0) (2022-04-21) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.74.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.73.0...v3.74.0) (2022-04-20) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.72.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.71.0...v3.72.0) (2022-04-15) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.67.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.66.0...v3.67.0) (2022-04-08) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.58.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.57.0...v3.58.0) (2022-03-28) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.56.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.55.0...v3.56.0) (2022-03-24) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.55.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.1...v3.55.0) (2022-03-21) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -## [3.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24) - - -### Features - -* **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074)) - - - - - -# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.49.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.48.0...v3.49.0) (2022-01-29) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.48.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.2...v3.48.0) (2022-01-22) - - -### Features - -* **clients:** update clients as of 2022/01/21 ([#3228](https://github.com/aws/aws-sdk-js-v3/issues/3228)) ([fa713ef](https://github.com/aws/aws-sdk-js-v3/commit/fa713efca6b2f424c27535d000359f08830960b1)) - - - - - -## [3.47.2](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.1...v3.47.2) (2022-01-21) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -## [3.47.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.0-release-test-1...v3.47.1) (2022-01-20) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15) - - -### Features - -* **clients:** update clients to use default values inferred from defaults mode ([#3192](https://github.com/aws/aws-sdk-js-v3/issues/3192)) ([9152e21](https://github.com/aws/aws-sdk-js-v3/commit/9152e210c6ec29f34bb070eaf2874039022e6ab7)) - - - - - -# [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07) - - -### Bug Fixes - -* **clients:** update clean:dist script to delete dist-* folder ([#3155](https://github.com/aws/aws-sdk-js-v3/issues/3155)) ([cdb1709](https://github.com/aws/aws-sdk-js-v3/commit/cdb17090f82d1fc8755811c82cbed5976ec7e60b)) - - -### Features - -* **clients:** extend typedoc.json from root ([#3136](https://github.com/aws/aws-sdk-js-v3/issues/3136)) ([f6a3ef5](https://github.com/aws/aws-sdk-js-v3/commit/f6a3ef541ae2d92872d09d8cab6727911287ebb2)) -* end support for Node.js 10.x ([#3122](https://github.com/aws/aws-sdk-js-v3/issues/3122)) ([7acf18a](https://github.com/aws/aws-sdk-js-v3/commit/7acf18abd3fb1cc461f809110cdb0d7968c2070e)) - - - - - -# [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23) - - -### Features - -* **clients:** update clients as of 2021/12/23 ([#3110](https://github.com/aws/aws-sdk-js-v3/issues/3110)) ([5d638e1](https://github.com/aws/aws-sdk-js-v3/commit/5d638e188ce64fa80fe36b8cba79ba63b80b50b7)) - - - - - -# [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.41.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.1...v3.41.0) (2021-11-11) - - -### Features - -* **clients:** update clients as of 2021/11/11 ([#3015](https://github.com/aws/aws-sdk-js-v3/issues/3015)) ([3d82c4e](https://github.com/aws/aws-sdk-js-v3/commit/3d82c4e3c4d174533f46ce35495cf5cffabdb35a)) - - - - - -# [3.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05) - - -### Features - -* **client-nimble:** update model as of 11/02/2021 ([#2976](https://github.com/aws/aws-sdk-js-v3/issues/2976)) ([47d2a6c](https://github.com/aws/aws-sdk-js-v3/commit/47d2a6c10033b4a52f19db58d85549e40e325d2e)) -* **clients:** populate variants in endpoints hashes ([#2974](https://github.com/aws/aws-sdk-js-v3/issues/2974)) ([0dd68ef](https://github.com/aws/aws-sdk-js-v3/commit/0dd68ef8b04ea0e96e43b05a9a10221e433fdf86)) - - - - - -# [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22) - - -### Features - -* **client-documentation-generator:** rename package ([#2916](https://github.com/aws/aws-sdk-js-v3/issues/2916)) ([1a80bfd](https://github.com/aws/aws-sdk-js-v3/commit/1a80bfd2dfc583001ddb4a21b6432eaaad699aa7)) -* **clients:** export folder from index.ts ([#2912](https://github.com/aws/aws-sdk-js-v3/issues/2912)) ([183b46d](https://github.com/aws/aws-sdk-js-v3/commit/183b46dde7f5613128038bf1c076f3c0b693203b)) - - - - - -# [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15) - - -### Features - -* **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c)) - - - - - -## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12) - - -### Bug Fixes - -* **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d)) - - - - - -# [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08) - - -### Features - -* publish files in dist-* only ([#2873](https://github.com/aws/aws-sdk-js-v3/issues/2873)) ([53b4243](https://github.com/aws/aws-sdk-js-v3/commit/53b4243b066f25ff2412d5f0dea1036054b2df32)) -* **codegen:** ts-ignore packageInfo imports in codegen ([#2875](https://github.com/aws/aws-sdk-js-v3/issues/2875)) ([99d9267](https://github.com/aws/aws-sdk-js-v3/commit/99d926762193e83a354edec6e9de2b0543449704)) -* **tsconfig:** remove sourceMap ([#2867](https://github.com/aws/aws-sdk-js-v3/issues/2867)) ([d25f526](https://github.com/aws/aws-sdk-js-v3/commit/d25f526627a02a2ca28675fecce66c76b6c97966)) - - - - - -# [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04) - - -### Features - -* **clients:** eslint --fix using esprint ([#2849](https://github.com/aws/aws-sdk-js-v3/issues/2849)) ([94d0a2d](https://github.com/aws/aws-sdk-js-v3/commit/94d0a2d8a0579ee0a742337937ad05735cfbc1ba)) -* **clients:** move source files to 'src' folder ([#2845](https://github.com/aws/aws-sdk-js-v3/issues/2845)) ([e0025cd](https://github.com/aws/aws-sdk-js-v3/commit/e0025cddbba244a41ddf1fd1adb761142e15c22d)) - - - - - -# [3.34.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.33.0...v3.34.0) (2021-09-24) - - -### Features - -* **clients:** remove comments from transpiled JS files ([#2817](https://github.com/aws/aws-sdk-js-v3/issues/2817)) ([d01420b](https://github.com/aws/aws-sdk-js-v3/commit/d01420b247966c8ec84c1dd0a1b42512ede10c90)) - - - - - -# [3.33.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.32.0...v3.33.0) (2021-09-21) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.32.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.31.0...v3.32.0) (2021-09-17) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.31.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.30.0...v3.31.0) (2021-09-11) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.30.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.29.0...v3.30.0) (2021-09-07) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.29.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.28.0...v3.29.0) (2021-09-02) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.28.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.27.0...v3.28.0) (2021-08-27) - - -### Bug Fixes - -* **clients:** use optional chaining while processing runtime config ([#2690](https://github.com/aws/aws-sdk-js-v3/issues/2690)) ([18469ce](https://github.com/aws/aws-sdk-js-v3/commit/18469cefc27840ba00d516265ebd976f10240496)) - - -### Features - -* **clients:** modular endpoints resolution ([#2704](https://github.com/aws/aws-sdk-js-v3/issues/2704)) ([88de69b](https://github.com/aws/aws-sdk-js-v3/commit/88de69ba28aaedfc7f13fa165044ef8cae023bbe)) - - - - - -# [3.27.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.26.0...v3.27.0) (2021-08-19) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.26.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.25.0...v3.26.0) (2021-08-13) - - -### Features - -* **clients:** update clients as of 08/13/2021 ([#2674](https://github.com/aws/aws-sdk-js-v3/issues/2674)) ([de45580](https://github.com/aws/aws-sdk-js-v3/commit/de45580769f70d5db409204f5196da5221c23d99)) - - - - - -# [3.25.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.24.0...v3.25.0) (2021-08-05) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.24.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.23.0...v3.24.0) (2021-07-29) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.23.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.22.0...v3.23.0) (2021-07-23) - - -### Bug Fixes - -* **clients:** allow undefined configuration ([#2617](https://github.com/aws/aws-sdk-js-v3/issues/2617)) ([a004d15](https://github.com/aws/aws-sdk-js-v3/commit/a004d1569e0b213259c50f72fddfd209fff0d7a3)) -* bump up tslib to 2.3.0 ([#2601](https://github.com/aws/aws-sdk-js-v3/issues/2601)) ([7040faa](https://github.com/aws/aws-sdk-js-v3/commit/7040faac07976c1dcfd5240675b82a2f275b2a55)) - - -### Features - -* **clients:** change runtime config from constant to provider functions ([#2574](https://github.com/aws/aws-sdk-js-v3/issues/2574)) ([5eca565](https://github.com/aws/aws-sdk-js-v3/commit/5eca565b5237a31ee4f18a2ecb4608099ccd55ac)) - - - - - -# [3.22.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.21.0...v3.22.0) (2021-07-16) - - -### Bug Fixes - -* **clients:** link to Hash Interface ([#2573](https://github.com/aws/aws-sdk-js-v3/issues/2573)) ([bb7b3ed](https://github.com/aws/aws-sdk-js-v3/commit/bb7b3edc152f2c33b0e1cf2848aba4231882c36d)) -* **clients:** prefix `dist/` for typesVersions TS<4 ([#2580](https://github.com/aws/aws-sdk-js-v3/issues/2580)) ([dff5cd4](https://github.com/aws/aws-sdk-js-v3/commit/dff5cd4b6fa00453e938ce8f238c1542ee7ba3d6)) - - - - - -# [3.21.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.20.0...v3.21.0) (2021-07-09) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.20.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.19.0...v3.20.0) (2021-07-02) - - -### Bug Fixes - -* replace prepublishOnly script with downlevel-dts ([#2537](https://github.com/aws/aws-sdk-js-v3/issues/2537)) ([63818a1](https://github.com/aws/aws-sdk-js-v3/commit/63818a1e47b08af56f092031a01bbbff0a9af590)) - - - - - -# [3.19.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.18.0...v3.19.0) (2021-06-24) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.18.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.17.0...v3.18.0) (2021-06-04) - - -### Features - -* support Sigv4 for non AWS services ([#2385](https://github.com/aws/aws-sdk-js-v3/issues/2385)) ([0a251aa](https://github.com/aws/aws-sdk-js-v3/commit/0a251aa44d54fbf21e328ccf2b20db45e94aaa90)), closes [/github.com/awslabs/smithy/blob/main/smithy-aws-protocol-tests/model/restJson1/main.smithy#L11-L13](https://github.com//github.com/awslabs/smithy/blob/main/smithy-aws-protocol-tests/model/restJson1/main.smithy/issues/L11-L13) -* **clients:** add retryModeProvider in runtimeConfig ([#2440](https://github.com/aws/aws-sdk-js-v3/issues/2440)) ([fc0a5da](https://github.com/aws/aws-sdk-js-v3/commit/fc0a5dae2c13814d5a0c5fce1d892ce0e97c98e4)) - - - - - -# [3.17.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.16.0...v3.17.0) (2021-05-26) - - -### Features - -* **clients:** update endpoint resolution as of 05/12/2021 ([#2398](https://github.com/aws/aws-sdk-js-v3/issues/2398)) ([17afcbb](https://github.com/aws/aws-sdk-js-v3/commit/17afcbb65bb26f091ba258717716272d5dc4e2c7)) - - - - - -# [3.16.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.15.0...v3.16.0) (2021-05-14) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.15.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.14.0...v3.15.0) (2021-05-10) - -**Note:** Version bump only for package @aws-sdk/client-nimble - - - - - -# [3.14.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.13.1...v3.14.0) (2021-04-30) - - -### Features - -* **clients:** update clients as of 04/29/2021 ([#2329](https://github.com/aws/aws-sdk-js-v3/issues/2329)) ([48ab750](https://github.com/aws/aws-sdk-js-v3/commit/48ab75045d1a94adfae94ac638a0dd882ebd05ac)) diff --git a/clients/client-nimble/LICENSE b/clients/client-nimble/LICENSE deleted file mode 100644 index f9e0c8672bca..000000000000 --- a/clients/client-nimble/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-2021 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-nimble/README.md b/clients/client-nimble/README.md deleted file mode 100644 index e94d6bbc0ac0..000000000000 --- a/clients/client-nimble/README.md +++ /dev/null @@ -1,602 +0,0 @@ - - -# @aws-sdk/client-nimble - -## Description - -AWS SDK for JavaScript Nimble Client for Node.js, Browser and React Native. - -

Welcome to the Amazon Nimble Studio API reference. This API reference provides -methods, schema, resources, parameters, and more to help you get the most out of Nimble -Studio.

-

Nimble Studio is a virtual studio that empowers visual effects, animation, and -interactive content teams to create content securely within a scalable, private cloud -service.

- -## Installing - -To install the this package, simply type add or install @aws-sdk/client-nimble -using your favorite package manager: - -- `npm install @aws-sdk/client-nimble` -- `yarn add @aws-sdk/client-nimble` -- `pnpm add @aws-sdk/client-nimble` - -## Getting Started - -### Import - -The AWS SDK is modulized by clients and commands. -To send a request, you only need to import the `NimbleClient` and -the commands you need, for example `ListEulasCommand`: - -```js -// ES5 example -const { NimbleClient, ListEulasCommand } = require("@aws-sdk/client-nimble"); -``` - -```ts -// ES6+ example -import { NimbleClient, ListEulasCommand } from "@aws-sdk/client-nimble"; -``` - -### 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 NimbleClient({ region: "REGION" }); - -const params = { - /** input parameters */ -}; -const command = new ListEulasCommand(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-nimble"; -const client = new AWS.Nimble({ region: "REGION" }); - -// async/await. -try { - const data = await client.listEulas(params); - // process data. -} catch (error) { - // error handling. -} - -// Promises. -client - .listEulas(params) - .then((data) => { - // process data. - }) - .catch((error) => { - // error handling. - }); - -// callbacks. -client.listEulas(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-nimble` 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) - -
- -AcceptEulas - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/AcceptEulasCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/AcceptEulasCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/AcceptEulasCommandOutput/) - -
-
- -CreateLaunchProfile - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/CreateLaunchProfileCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/CreateLaunchProfileCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/CreateLaunchProfileCommandOutput/) - -
-
- -CreateStreamingImage - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/CreateStreamingImageCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/CreateStreamingImageCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/CreateStreamingImageCommandOutput/) - -
-
- -CreateStreamingSession - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/CreateStreamingSessionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/CreateStreamingSessionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/CreateStreamingSessionCommandOutput/) - -
-
- -CreateStreamingSessionStream - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/CreateStreamingSessionStreamCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/CreateStreamingSessionStreamCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/CreateStreamingSessionStreamCommandOutput/) - -
-
- -CreateStudio - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/CreateStudioCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/CreateStudioCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/CreateStudioCommandOutput/) - -
-
- -CreateStudioComponent - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/CreateStudioComponentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/CreateStudioComponentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/CreateStudioComponentCommandOutput/) - -
-
- -DeleteLaunchProfile - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/DeleteLaunchProfileCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/DeleteLaunchProfileCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/DeleteLaunchProfileCommandOutput/) - -
-
- -DeleteLaunchProfileMember - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/DeleteLaunchProfileMemberCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/DeleteLaunchProfileMemberCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/DeleteLaunchProfileMemberCommandOutput/) - -
-
- -DeleteStreamingImage - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/DeleteStreamingImageCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/DeleteStreamingImageCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/DeleteStreamingImageCommandOutput/) - -
-
- -DeleteStreamingSession - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/DeleteStreamingSessionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/DeleteStreamingSessionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/DeleteStreamingSessionCommandOutput/) - -
-
- -DeleteStudio - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/DeleteStudioCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/DeleteStudioCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/DeleteStudioCommandOutput/) - -
-
- -DeleteStudioComponent - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/DeleteStudioComponentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/DeleteStudioComponentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/DeleteStudioComponentCommandOutput/) - -
-
- -DeleteStudioMember - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/DeleteStudioMemberCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/DeleteStudioMemberCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/DeleteStudioMemberCommandOutput/) - -
-
- -GetEula - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/GetEulaCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/GetEulaCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/GetEulaCommandOutput/) - -
-
- -GetLaunchProfile - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/GetLaunchProfileCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/GetLaunchProfileCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/GetLaunchProfileCommandOutput/) - -
-
- -GetLaunchProfileDetails - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/GetLaunchProfileDetailsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/GetLaunchProfileDetailsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/GetLaunchProfileDetailsCommandOutput/) - -
-
- -GetLaunchProfileInitialization - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/GetLaunchProfileInitializationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/GetLaunchProfileInitializationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/GetLaunchProfileInitializationCommandOutput/) - -
-
- -GetLaunchProfileMember - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/GetLaunchProfileMemberCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/GetLaunchProfileMemberCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/GetLaunchProfileMemberCommandOutput/) - -
-
- -GetStreamingImage - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/GetStreamingImageCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/GetStreamingImageCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/GetStreamingImageCommandOutput/) - -
-
- -GetStreamingSession - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/GetStreamingSessionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/GetStreamingSessionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/GetStreamingSessionCommandOutput/) - -
-
- -GetStreamingSessionBackup - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/GetStreamingSessionBackupCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/GetStreamingSessionBackupCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/GetStreamingSessionBackupCommandOutput/) - -
-
- -GetStreamingSessionStream - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/GetStreamingSessionStreamCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/GetStreamingSessionStreamCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/GetStreamingSessionStreamCommandOutput/) - -
-
- -GetStudio - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/GetStudioCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/GetStudioCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/GetStudioCommandOutput/) - -
-
- -GetStudioComponent - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/GetStudioComponentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/GetStudioComponentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/GetStudioComponentCommandOutput/) - -
-
- -GetStudioMember - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/GetStudioMemberCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/GetStudioMemberCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/GetStudioMemberCommandOutput/) - -
-
- -ListEulaAcceptances - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/ListEulaAcceptancesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/ListEulaAcceptancesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/ListEulaAcceptancesCommandOutput/) - -
-
- -ListEulas - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/ListEulasCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/ListEulasCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/ListEulasCommandOutput/) - -
-
- -ListLaunchProfileMembers - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/ListLaunchProfileMembersCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/ListLaunchProfileMembersCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/ListLaunchProfileMembersCommandOutput/) - -
-
- -ListLaunchProfiles - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/ListLaunchProfilesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/ListLaunchProfilesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/ListLaunchProfilesCommandOutput/) - -
-
- -ListStreamingImages - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/ListStreamingImagesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/ListStreamingImagesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/ListStreamingImagesCommandOutput/) - -
-
- -ListStreamingSessionBackups - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/ListStreamingSessionBackupsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/ListStreamingSessionBackupsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/ListStreamingSessionBackupsCommandOutput/) - -
-
- -ListStreamingSessions - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/ListStreamingSessionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/ListStreamingSessionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/ListStreamingSessionsCommandOutput/) - -
-
- -ListStudioComponents - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/ListStudioComponentsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/ListStudioComponentsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/ListStudioComponentsCommandOutput/) - -
-
- -ListStudioMembers - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/ListStudioMembersCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/ListStudioMembersCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/ListStudioMembersCommandOutput/) - -
-
- -ListStudios - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/ListStudiosCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/ListStudiosCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/ListStudiosCommandOutput/) - -
-
- -ListTagsForResource - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/ListTagsForResourceCommandOutput/) - -
-
- -PutLaunchProfileMembers - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/PutLaunchProfileMembersCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/PutLaunchProfileMembersCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/PutLaunchProfileMembersCommandOutput/) - -
-
- -PutStudioMembers - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/PutStudioMembersCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/PutStudioMembersCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/PutStudioMembersCommandOutput/) - -
-
- -StartStreamingSession - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/StartStreamingSessionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/StartStreamingSessionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/StartStreamingSessionCommandOutput/) - -
-
- -StartStudioSSOConfigurationRepair - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/StartStudioSSOConfigurationRepairCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/StartStudioSSOConfigurationRepairCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/StartStudioSSOConfigurationRepairCommandOutput/) - -
-
- -StopStreamingSession - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/StopStreamingSessionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/StopStreamingSessionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/StopStreamingSessionCommandOutput/) - -
-
- -TagResource - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/TagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/TagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/TagResourceCommandOutput/) - -
-
- -UntagResource - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/UntagResourceCommandOutput/) - -
-
- -UpdateLaunchProfile - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/UpdateLaunchProfileCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/UpdateLaunchProfileCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/UpdateLaunchProfileCommandOutput/) - -
-
- -UpdateLaunchProfileMember - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/UpdateLaunchProfileMemberCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/UpdateLaunchProfileMemberCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/UpdateLaunchProfileMemberCommandOutput/) - -
-
- -UpdateStreamingImage - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/UpdateStreamingImageCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/UpdateStreamingImageCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/UpdateStreamingImageCommandOutput/) - -
-
- -UpdateStudio - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/UpdateStudioCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/UpdateStudioCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/UpdateStudioCommandOutput/) - -
-
- -UpdateStudioComponent - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/nimble/command/UpdateStudioComponentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/UpdateStudioComponentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-nimble/Interface/UpdateStudioComponentCommandOutput/) - -
diff --git a/clients/client-nimble/api-extractor.json b/clients/client-nimble/api-extractor.json deleted file mode 100644 index d5bf5ffeee85..000000000000 --- a/clients/client-nimble/api-extractor.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": "../../api-extractor.json", - "mainEntryPointFilePath": "/dist-types/index.d.ts" -} diff --git a/clients/client-nimble/package.json b/clients/client-nimble/package.json deleted file mode 100644 index 5498f294f433..000000000000 --- a/clients/client-nimble/package.json +++ /dev/null @@ -1,104 +0,0 @@ -{ - "name": "@aws-sdk/client-nimble", - "description": "AWS SDK for JavaScript Nimble Client for Node.js, Browser and React Native", - "version": "3.675.0", - "scripts": { - "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", - "build:cjs": "node ../../scripts/compilation/inline client-nimble", - "build:es": "tsc -p tsconfig.es.json", - "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build", - "build:types": "tsc -p tsconfig.types.json", - "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", - "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo", - "extract:docs": "api-extractor run --local", - "generate:client": "node ../../scripts/generate-clients/single-service --solo nimble" - }, - "main": "./dist-cjs/index.js", - "types": "./dist-types/index.d.ts", - "module": "./dist-es/index.js", - "sideEffects": false, - "dependencies": { - "@aws-crypto/sha256-browser": "5.2.0", - "@aws-crypto/sha256-js": "5.2.0", - "@aws-sdk/client-sso-oidc": "*", - "@aws-sdk/client-sts": "*", - "@aws-sdk/core": "*", - "@aws-sdk/credential-provider-node": "*", - "@aws-sdk/middleware-host-header": "*", - "@aws-sdk/middleware-logger": "*", - "@aws-sdk/middleware-recursion-detection": "*", - "@aws-sdk/middleware-user-agent": "*", - "@aws-sdk/region-config-resolver": "*", - "@aws-sdk/types": "*", - "@aws-sdk/util-endpoints": "*", - "@aws-sdk/util-user-agent-browser": "*", - "@aws-sdk/util-user-agent-node": "*", - "@smithy/config-resolver": "^3.0.9", - "@smithy/core": "^2.4.8", - "@smithy/fetch-http-handler": "^3.2.9", - "@smithy/hash-node": "^3.0.7", - "@smithy/invalid-dependency": "^3.0.7", - "@smithy/middleware-content-length": "^3.0.9", - "@smithy/middleware-endpoint": "^3.1.4", - "@smithy/middleware-retry": "^3.0.23", - "@smithy/middleware-serde": "^3.0.7", - "@smithy/middleware-stack": "^3.0.7", - "@smithy/node-config-provider": "^3.1.8", - "@smithy/node-http-handler": "^3.2.4", - "@smithy/protocol-http": "^4.1.4", - "@smithy/smithy-client": "^3.4.0", - "@smithy/types": "^3.5.0", - "@smithy/url-parser": "^3.0.7", - "@smithy/util-base64": "^3.0.0", - "@smithy/util-body-length-browser": "^3.0.0", - "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.23", - "@smithy/util-defaults-mode-node": "^3.0.23", - "@smithy/util-endpoints": "^2.1.3", - "@smithy/util-middleware": "^3.0.7", - "@smithy/util-retry": "^3.0.7", - "@smithy/util-utf8": "^3.0.0", - "@smithy/util-waiter": "^3.1.6", - "@types/uuid": "^9.0.1", - "tslib": "^2.6.2", - "uuid": "^9.0.1" - }, - "devDependencies": { - "@tsconfig/node16": "16.1.3", - "@types/node": "^16.18.96", - "concurrently": "7.0.0", - "downlevel-dts": "0.10.1", - "rimraf": "3.0.2", - "typescript": "~4.9.5" - }, - "engines": { - "node": ">=16.0.0" - }, - "typesVersions": { - "<4.0": { - "dist-types/*": [ - "dist-types/ts3.4/*" - ] - } - }, - "files": [ - "dist-*/**" - ], - "author": { - "name": "AWS SDK for JavaScript Team", - "url": "https://aws.amazon.com/javascript/" - }, - "license": "Apache-2.0", - "browser": { - "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser" - }, - "react-native": { - "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native" - }, - "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-nimble", - "repository": { - "type": "git", - "url": "https://github.com/aws/aws-sdk-js-v3.git", - "directory": "clients/client-nimble" - } -} diff --git a/clients/client-nimble/src/Nimble.ts b/clients/client-nimble/src/Nimble.ts deleted file mode 100644 index 6b4ffe06a39a..000000000000 --- a/clients/client-nimble/src/Nimble.ts +++ /dev/null @@ -1,1064 +0,0 @@ -// smithy-typescript generated code -import { createAggregatedClient } from "@smithy/smithy-client"; -import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types"; - -import { AcceptEulasCommand, AcceptEulasCommandInput, AcceptEulasCommandOutput } from "./commands/AcceptEulasCommand"; -import { - CreateLaunchProfileCommand, - CreateLaunchProfileCommandInput, - CreateLaunchProfileCommandOutput, -} from "./commands/CreateLaunchProfileCommand"; -import { - CreateStreamingImageCommand, - CreateStreamingImageCommandInput, - CreateStreamingImageCommandOutput, -} from "./commands/CreateStreamingImageCommand"; -import { - CreateStreamingSessionCommand, - CreateStreamingSessionCommandInput, - CreateStreamingSessionCommandOutput, -} from "./commands/CreateStreamingSessionCommand"; -import { - CreateStreamingSessionStreamCommand, - CreateStreamingSessionStreamCommandInput, - CreateStreamingSessionStreamCommandOutput, -} from "./commands/CreateStreamingSessionStreamCommand"; -import { - CreateStudioCommand, - CreateStudioCommandInput, - CreateStudioCommandOutput, -} from "./commands/CreateStudioCommand"; -import { - CreateStudioComponentCommand, - CreateStudioComponentCommandInput, - CreateStudioComponentCommandOutput, -} from "./commands/CreateStudioComponentCommand"; -import { - DeleteLaunchProfileCommand, - DeleteLaunchProfileCommandInput, - DeleteLaunchProfileCommandOutput, -} from "./commands/DeleteLaunchProfileCommand"; -import { - DeleteLaunchProfileMemberCommand, - DeleteLaunchProfileMemberCommandInput, - DeleteLaunchProfileMemberCommandOutput, -} from "./commands/DeleteLaunchProfileMemberCommand"; -import { - DeleteStreamingImageCommand, - DeleteStreamingImageCommandInput, - DeleteStreamingImageCommandOutput, -} from "./commands/DeleteStreamingImageCommand"; -import { - DeleteStreamingSessionCommand, - DeleteStreamingSessionCommandInput, - DeleteStreamingSessionCommandOutput, -} from "./commands/DeleteStreamingSessionCommand"; -import { - DeleteStudioCommand, - DeleteStudioCommandInput, - DeleteStudioCommandOutput, -} from "./commands/DeleteStudioCommand"; -import { - DeleteStudioComponentCommand, - DeleteStudioComponentCommandInput, - DeleteStudioComponentCommandOutput, -} from "./commands/DeleteStudioComponentCommand"; -import { - DeleteStudioMemberCommand, - DeleteStudioMemberCommandInput, - DeleteStudioMemberCommandOutput, -} from "./commands/DeleteStudioMemberCommand"; -import { GetEulaCommand, GetEulaCommandInput, GetEulaCommandOutput } from "./commands/GetEulaCommand"; -import { - GetLaunchProfileCommand, - GetLaunchProfileCommandInput, - GetLaunchProfileCommandOutput, -} from "./commands/GetLaunchProfileCommand"; -import { - GetLaunchProfileDetailsCommand, - GetLaunchProfileDetailsCommandInput, - GetLaunchProfileDetailsCommandOutput, -} from "./commands/GetLaunchProfileDetailsCommand"; -import { - GetLaunchProfileInitializationCommand, - GetLaunchProfileInitializationCommandInput, - GetLaunchProfileInitializationCommandOutput, -} from "./commands/GetLaunchProfileInitializationCommand"; -import { - GetLaunchProfileMemberCommand, - GetLaunchProfileMemberCommandInput, - GetLaunchProfileMemberCommandOutput, -} from "./commands/GetLaunchProfileMemberCommand"; -import { - GetStreamingImageCommand, - GetStreamingImageCommandInput, - GetStreamingImageCommandOutput, -} from "./commands/GetStreamingImageCommand"; -import { - GetStreamingSessionBackupCommand, - GetStreamingSessionBackupCommandInput, - GetStreamingSessionBackupCommandOutput, -} from "./commands/GetStreamingSessionBackupCommand"; -import { - GetStreamingSessionCommand, - GetStreamingSessionCommandInput, - GetStreamingSessionCommandOutput, -} from "./commands/GetStreamingSessionCommand"; -import { - GetStreamingSessionStreamCommand, - GetStreamingSessionStreamCommandInput, - GetStreamingSessionStreamCommandOutput, -} from "./commands/GetStreamingSessionStreamCommand"; -import { GetStudioCommand, GetStudioCommandInput, GetStudioCommandOutput } from "./commands/GetStudioCommand"; -import { - GetStudioComponentCommand, - GetStudioComponentCommandInput, - GetStudioComponentCommandOutput, -} from "./commands/GetStudioComponentCommand"; -import { - GetStudioMemberCommand, - GetStudioMemberCommandInput, - GetStudioMemberCommandOutput, -} from "./commands/GetStudioMemberCommand"; -import { - ListEulaAcceptancesCommand, - ListEulaAcceptancesCommandInput, - ListEulaAcceptancesCommandOutput, -} from "./commands/ListEulaAcceptancesCommand"; -import { ListEulasCommand, ListEulasCommandInput, ListEulasCommandOutput } from "./commands/ListEulasCommand"; -import { - ListLaunchProfileMembersCommand, - ListLaunchProfileMembersCommandInput, - ListLaunchProfileMembersCommandOutput, -} from "./commands/ListLaunchProfileMembersCommand"; -import { - ListLaunchProfilesCommand, - ListLaunchProfilesCommandInput, - ListLaunchProfilesCommandOutput, -} from "./commands/ListLaunchProfilesCommand"; -import { - ListStreamingImagesCommand, - ListStreamingImagesCommandInput, - ListStreamingImagesCommandOutput, -} from "./commands/ListStreamingImagesCommand"; -import { - ListStreamingSessionBackupsCommand, - ListStreamingSessionBackupsCommandInput, - ListStreamingSessionBackupsCommandOutput, -} from "./commands/ListStreamingSessionBackupsCommand"; -import { - ListStreamingSessionsCommand, - ListStreamingSessionsCommandInput, - ListStreamingSessionsCommandOutput, -} from "./commands/ListStreamingSessionsCommand"; -import { - ListStudioComponentsCommand, - ListStudioComponentsCommandInput, - ListStudioComponentsCommandOutput, -} from "./commands/ListStudioComponentsCommand"; -import { - ListStudioMembersCommand, - ListStudioMembersCommandInput, - ListStudioMembersCommandOutput, -} from "./commands/ListStudioMembersCommand"; -import { ListStudiosCommand, ListStudiosCommandInput, ListStudiosCommandOutput } from "./commands/ListStudiosCommand"; -import { - ListTagsForResourceCommand, - ListTagsForResourceCommandInput, - ListTagsForResourceCommandOutput, -} from "./commands/ListTagsForResourceCommand"; -import { - PutLaunchProfileMembersCommand, - PutLaunchProfileMembersCommandInput, - PutLaunchProfileMembersCommandOutput, -} from "./commands/PutLaunchProfileMembersCommand"; -import { - PutStudioMembersCommand, - PutStudioMembersCommandInput, - PutStudioMembersCommandOutput, -} from "./commands/PutStudioMembersCommand"; -import { - StartStreamingSessionCommand, - StartStreamingSessionCommandInput, - StartStreamingSessionCommandOutput, -} from "./commands/StartStreamingSessionCommand"; -import { - StartStudioSSOConfigurationRepairCommand, - StartStudioSSOConfigurationRepairCommandInput, - StartStudioSSOConfigurationRepairCommandOutput, -} from "./commands/StartStudioSSOConfigurationRepairCommand"; -import { - StopStreamingSessionCommand, - StopStreamingSessionCommandInput, - StopStreamingSessionCommandOutput, -} from "./commands/StopStreamingSessionCommand"; -import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand"; -import { - UntagResourceCommand, - UntagResourceCommandInput, - UntagResourceCommandOutput, -} from "./commands/UntagResourceCommand"; -import { - UpdateLaunchProfileCommand, - UpdateLaunchProfileCommandInput, - UpdateLaunchProfileCommandOutput, -} from "./commands/UpdateLaunchProfileCommand"; -import { - UpdateLaunchProfileMemberCommand, - UpdateLaunchProfileMemberCommandInput, - UpdateLaunchProfileMemberCommandOutput, -} from "./commands/UpdateLaunchProfileMemberCommand"; -import { - UpdateStreamingImageCommand, - UpdateStreamingImageCommandInput, - UpdateStreamingImageCommandOutput, -} from "./commands/UpdateStreamingImageCommand"; -import { - UpdateStudioCommand, - UpdateStudioCommandInput, - UpdateStudioCommandOutput, -} from "./commands/UpdateStudioCommand"; -import { - UpdateStudioComponentCommand, - UpdateStudioComponentCommandInput, - UpdateStudioComponentCommandOutput, -} from "./commands/UpdateStudioComponentCommand"; -import { NimbleClient, NimbleClientConfig } from "./NimbleClient"; - -const commands = { - AcceptEulasCommand, - CreateLaunchProfileCommand, - CreateStreamingImageCommand, - CreateStreamingSessionCommand, - CreateStreamingSessionStreamCommand, - CreateStudioCommand, - CreateStudioComponentCommand, - DeleteLaunchProfileCommand, - DeleteLaunchProfileMemberCommand, - DeleteStreamingImageCommand, - DeleteStreamingSessionCommand, - DeleteStudioCommand, - DeleteStudioComponentCommand, - DeleteStudioMemberCommand, - GetEulaCommand, - GetLaunchProfileCommand, - GetLaunchProfileDetailsCommand, - GetLaunchProfileInitializationCommand, - GetLaunchProfileMemberCommand, - GetStreamingImageCommand, - GetStreamingSessionCommand, - GetStreamingSessionBackupCommand, - GetStreamingSessionStreamCommand, - GetStudioCommand, - GetStudioComponentCommand, - GetStudioMemberCommand, - ListEulaAcceptancesCommand, - ListEulasCommand, - ListLaunchProfileMembersCommand, - ListLaunchProfilesCommand, - ListStreamingImagesCommand, - ListStreamingSessionBackupsCommand, - ListStreamingSessionsCommand, - ListStudioComponentsCommand, - ListStudioMembersCommand, - ListStudiosCommand, - ListTagsForResourceCommand, - PutLaunchProfileMembersCommand, - PutStudioMembersCommand, - StartStreamingSessionCommand, - StartStudioSSOConfigurationRepairCommand, - StopStreamingSessionCommand, - TagResourceCommand, - UntagResourceCommand, - UpdateLaunchProfileCommand, - UpdateLaunchProfileMemberCommand, - UpdateStreamingImageCommand, - UpdateStudioCommand, - UpdateStudioComponentCommand, -}; - -export interface Nimble { - /** - * @see {@link AcceptEulasCommand} - */ - acceptEulas(args: AcceptEulasCommandInput, options?: __HttpHandlerOptions): Promise; - acceptEulas(args: AcceptEulasCommandInput, cb: (err: any, data?: AcceptEulasCommandOutput) => void): void; - acceptEulas( - args: AcceptEulasCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: AcceptEulasCommandOutput) => void - ): void; - - /** - * @see {@link CreateLaunchProfileCommand} - */ - createLaunchProfile( - args: CreateLaunchProfileCommandInput, - options?: __HttpHandlerOptions - ): Promise; - createLaunchProfile( - args: CreateLaunchProfileCommandInput, - cb: (err: any, data?: CreateLaunchProfileCommandOutput) => void - ): void; - createLaunchProfile( - args: CreateLaunchProfileCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: CreateLaunchProfileCommandOutput) => void - ): void; - - /** - * @see {@link CreateStreamingImageCommand} - */ - createStreamingImage( - args: CreateStreamingImageCommandInput, - options?: __HttpHandlerOptions - ): Promise; - createStreamingImage( - args: CreateStreamingImageCommandInput, - cb: (err: any, data?: CreateStreamingImageCommandOutput) => void - ): void; - createStreamingImage( - args: CreateStreamingImageCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: CreateStreamingImageCommandOutput) => void - ): void; - - /** - * @see {@link CreateStreamingSessionCommand} - */ - createStreamingSession( - args: CreateStreamingSessionCommandInput, - options?: __HttpHandlerOptions - ): Promise; - createStreamingSession( - args: CreateStreamingSessionCommandInput, - cb: (err: any, data?: CreateStreamingSessionCommandOutput) => void - ): void; - createStreamingSession( - args: CreateStreamingSessionCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: CreateStreamingSessionCommandOutput) => void - ): void; - - /** - * @see {@link CreateStreamingSessionStreamCommand} - */ - createStreamingSessionStream( - args: CreateStreamingSessionStreamCommandInput, - options?: __HttpHandlerOptions - ): Promise; - createStreamingSessionStream( - args: CreateStreamingSessionStreamCommandInput, - cb: (err: any, data?: CreateStreamingSessionStreamCommandOutput) => void - ): void; - createStreamingSessionStream( - args: CreateStreamingSessionStreamCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: CreateStreamingSessionStreamCommandOutput) => void - ): void; - - /** - * @see {@link CreateStudioCommand} - */ - createStudio(args: CreateStudioCommandInput, options?: __HttpHandlerOptions): Promise; - createStudio(args: CreateStudioCommandInput, cb: (err: any, data?: CreateStudioCommandOutput) => void): void; - createStudio( - args: CreateStudioCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: CreateStudioCommandOutput) => void - ): void; - - /** - * @see {@link CreateStudioComponentCommand} - */ - createStudioComponent( - args: CreateStudioComponentCommandInput, - options?: __HttpHandlerOptions - ): Promise; - createStudioComponent( - args: CreateStudioComponentCommandInput, - cb: (err: any, data?: CreateStudioComponentCommandOutput) => void - ): void; - createStudioComponent( - args: CreateStudioComponentCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: CreateStudioComponentCommandOutput) => void - ): void; - - /** - * @see {@link DeleteLaunchProfileCommand} - */ - deleteLaunchProfile( - args: DeleteLaunchProfileCommandInput, - options?: __HttpHandlerOptions - ): Promise; - deleteLaunchProfile( - args: DeleteLaunchProfileCommandInput, - cb: (err: any, data?: DeleteLaunchProfileCommandOutput) => void - ): void; - deleteLaunchProfile( - args: DeleteLaunchProfileCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteLaunchProfileCommandOutput) => void - ): void; - - /** - * @see {@link DeleteLaunchProfileMemberCommand} - */ - deleteLaunchProfileMember( - args: DeleteLaunchProfileMemberCommandInput, - options?: __HttpHandlerOptions - ): Promise; - deleteLaunchProfileMember( - args: DeleteLaunchProfileMemberCommandInput, - cb: (err: any, data?: DeleteLaunchProfileMemberCommandOutput) => void - ): void; - deleteLaunchProfileMember( - args: DeleteLaunchProfileMemberCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteLaunchProfileMemberCommandOutput) => void - ): void; - - /** - * @see {@link DeleteStreamingImageCommand} - */ - deleteStreamingImage( - args: DeleteStreamingImageCommandInput, - options?: __HttpHandlerOptions - ): Promise; - deleteStreamingImage( - args: DeleteStreamingImageCommandInput, - cb: (err: any, data?: DeleteStreamingImageCommandOutput) => void - ): void; - deleteStreamingImage( - args: DeleteStreamingImageCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteStreamingImageCommandOutput) => void - ): void; - - /** - * @see {@link DeleteStreamingSessionCommand} - */ - deleteStreamingSession( - args: DeleteStreamingSessionCommandInput, - options?: __HttpHandlerOptions - ): Promise; - deleteStreamingSession( - args: DeleteStreamingSessionCommandInput, - cb: (err: any, data?: DeleteStreamingSessionCommandOutput) => void - ): void; - deleteStreamingSession( - args: DeleteStreamingSessionCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteStreamingSessionCommandOutput) => void - ): void; - - /** - * @see {@link DeleteStudioCommand} - */ - deleteStudio(args: DeleteStudioCommandInput, options?: __HttpHandlerOptions): Promise; - deleteStudio(args: DeleteStudioCommandInput, cb: (err: any, data?: DeleteStudioCommandOutput) => void): void; - deleteStudio( - args: DeleteStudioCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteStudioCommandOutput) => void - ): void; - - /** - * @see {@link DeleteStudioComponentCommand} - */ - deleteStudioComponent( - args: DeleteStudioComponentCommandInput, - options?: __HttpHandlerOptions - ): Promise; - deleteStudioComponent( - args: DeleteStudioComponentCommandInput, - cb: (err: any, data?: DeleteStudioComponentCommandOutput) => void - ): void; - deleteStudioComponent( - args: DeleteStudioComponentCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteStudioComponentCommandOutput) => void - ): void; - - /** - * @see {@link DeleteStudioMemberCommand} - */ - deleteStudioMember( - args: DeleteStudioMemberCommandInput, - options?: __HttpHandlerOptions - ): Promise; - deleteStudioMember( - args: DeleteStudioMemberCommandInput, - cb: (err: any, data?: DeleteStudioMemberCommandOutput) => void - ): void; - deleteStudioMember( - args: DeleteStudioMemberCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteStudioMemberCommandOutput) => void - ): void; - - /** - * @see {@link GetEulaCommand} - */ - getEula(args: GetEulaCommandInput, options?: __HttpHandlerOptions): Promise; - getEula(args: GetEulaCommandInput, cb: (err: any, data?: GetEulaCommandOutput) => void): void; - getEula( - args: GetEulaCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetEulaCommandOutput) => void - ): void; - - /** - * @see {@link GetLaunchProfileCommand} - */ - getLaunchProfile( - args: GetLaunchProfileCommandInput, - options?: __HttpHandlerOptions - ): Promise; - getLaunchProfile( - args: GetLaunchProfileCommandInput, - cb: (err: any, data?: GetLaunchProfileCommandOutput) => void - ): void; - getLaunchProfile( - args: GetLaunchProfileCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetLaunchProfileCommandOutput) => void - ): void; - - /** - * @see {@link GetLaunchProfileDetailsCommand} - */ - getLaunchProfileDetails( - args: GetLaunchProfileDetailsCommandInput, - options?: __HttpHandlerOptions - ): Promise; - getLaunchProfileDetails( - args: GetLaunchProfileDetailsCommandInput, - cb: (err: any, data?: GetLaunchProfileDetailsCommandOutput) => void - ): void; - getLaunchProfileDetails( - args: GetLaunchProfileDetailsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetLaunchProfileDetailsCommandOutput) => void - ): void; - - /** - * @see {@link GetLaunchProfileInitializationCommand} - */ - getLaunchProfileInitialization( - args: GetLaunchProfileInitializationCommandInput, - options?: __HttpHandlerOptions - ): Promise; - getLaunchProfileInitialization( - args: GetLaunchProfileInitializationCommandInput, - cb: (err: any, data?: GetLaunchProfileInitializationCommandOutput) => void - ): void; - getLaunchProfileInitialization( - args: GetLaunchProfileInitializationCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetLaunchProfileInitializationCommandOutput) => void - ): void; - - /** - * @see {@link GetLaunchProfileMemberCommand} - */ - getLaunchProfileMember( - args: GetLaunchProfileMemberCommandInput, - options?: __HttpHandlerOptions - ): Promise; - getLaunchProfileMember( - args: GetLaunchProfileMemberCommandInput, - cb: (err: any, data?: GetLaunchProfileMemberCommandOutput) => void - ): void; - getLaunchProfileMember( - args: GetLaunchProfileMemberCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetLaunchProfileMemberCommandOutput) => void - ): void; - - /** - * @see {@link GetStreamingImageCommand} - */ - getStreamingImage( - args: GetStreamingImageCommandInput, - options?: __HttpHandlerOptions - ): Promise; - getStreamingImage( - args: GetStreamingImageCommandInput, - cb: (err: any, data?: GetStreamingImageCommandOutput) => void - ): void; - getStreamingImage( - args: GetStreamingImageCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetStreamingImageCommandOutput) => void - ): void; - - /** - * @see {@link GetStreamingSessionCommand} - */ - getStreamingSession( - args: GetStreamingSessionCommandInput, - options?: __HttpHandlerOptions - ): Promise; - getStreamingSession( - args: GetStreamingSessionCommandInput, - cb: (err: any, data?: GetStreamingSessionCommandOutput) => void - ): void; - getStreamingSession( - args: GetStreamingSessionCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetStreamingSessionCommandOutput) => void - ): void; - - /** - * @see {@link GetStreamingSessionBackupCommand} - */ - getStreamingSessionBackup( - args: GetStreamingSessionBackupCommandInput, - options?: __HttpHandlerOptions - ): Promise; - getStreamingSessionBackup( - args: GetStreamingSessionBackupCommandInput, - cb: (err: any, data?: GetStreamingSessionBackupCommandOutput) => void - ): void; - getStreamingSessionBackup( - args: GetStreamingSessionBackupCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetStreamingSessionBackupCommandOutput) => void - ): void; - - /** - * @see {@link GetStreamingSessionStreamCommand} - */ - getStreamingSessionStream( - args: GetStreamingSessionStreamCommandInput, - options?: __HttpHandlerOptions - ): Promise; - getStreamingSessionStream( - args: GetStreamingSessionStreamCommandInput, - cb: (err: any, data?: GetStreamingSessionStreamCommandOutput) => void - ): void; - getStreamingSessionStream( - args: GetStreamingSessionStreamCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetStreamingSessionStreamCommandOutput) => void - ): void; - - /** - * @see {@link GetStudioCommand} - */ - getStudio(args: GetStudioCommandInput, options?: __HttpHandlerOptions): Promise; - getStudio(args: GetStudioCommandInput, cb: (err: any, data?: GetStudioCommandOutput) => void): void; - getStudio( - args: GetStudioCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetStudioCommandOutput) => void - ): void; - - /** - * @see {@link GetStudioComponentCommand} - */ - getStudioComponent( - args: GetStudioComponentCommandInput, - options?: __HttpHandlerOptions - ): Promise; - getStudioComponent( - args: GetStudioComponentCommandInput, - cb: (err: any, data?: GetStudioComponentCommandOutput) => void - ): void; - getStudioComponent( - args: GetStudioComponentCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetStudioComponentCommandOutput) => void - ): void; - - /** - * @see {@link GetStudioMemberCommand} - */ - getStudioMember( - args: GetStudioMemberCommandInput, - options?: __HttpHandlerOptions - ): Promise; - getStudioMember(args: GetStudioMemberCommandInput, cb: (err: any, data?: GetStudioMemberCommandOutput) => void): void; - getStudioMember( - args: GetStudioMemberCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetStudioMemberCommandOutput) => void - ): void; - - /** - * @see {@link ListEulaAcceptancesCommand} - */ - listEulaAcceptances( - args: ListEulaAcceptancesCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listEulaAcceptances( - args: ListEulaAcceptancesCommandInput, - cb: (err: any, data?: ListEulaAcceptancesCommandOutput) => void - ): void; - listEulaAcceptances( - args: ListEulaAcceptancesCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListEulaAcceptancesCommandOutput) => void - ): void; - - /** - * @see {@link ListEulasCommand} - */ - listEulas(): Promise; - listEulas(args: ListEulasCommandInput, options?: __HttpHandlerOptions): Promise; - listEulas(args: ListEulasCommandInput, cb: (err: any, data?: ListEulasCommandOutput) => void): void; - listEulas( - args: ListEulasCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListEulasCommandOutput) => void - ): void; - - /** - * @see {@link ListLaunchProfileMembersCommand} - */ - listLaunchProfileMembers( - args: ListLaunchProfileMembersCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listLaunchProfileMembers( - args: ListLaunchProfileMembersCommandInput, - cb: (err: any, data?: ListLaunchProfileMembersCommandOutput) => void - ): void; - listLaunchProfileMembers( - args: ListLaunchProfileMembersCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListLaunchProfileMembersCommandOutput) => void - ): void; - - /** - * @see {@link ListLaunchProfilesCommand} - */ - listLaunchProfiles( - args: ListLaunchProfilesCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listLaunchProfiles( - args: ListLaunchProfilesCommandInput, - cb: (err: any, data?: ListLaunchProfilesCommandOutput) => void - ): void; - listLaunchProfiles( - args: ListLaunchProfilesCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListLaunchProfilesCommandOutput) => void - ): void; - - /** - * @see {@link ListStreamingImagesCommand} - */ - listStreamingImages( - args: ListStreamingImagesCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listStreamingImages( - args: ListStreamingImagesCommandInput, - cb: (err: any, data?: ListStreamingImagesCommandOutput) => void - ): void; - listStreamingImages( - args: ListStreamingImagesCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListStreamingImagesCommandOutput) => void - ): void; - - /** - * @see {@link ListStreamingSessionBackupsCommand} - */ - listStreamingSessionBackups( - args: ListStreamingSessionBackupsCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listStreamingSessionBackups( - args: ListStreamingSessionBackupsCommandInput, - cb: (err: any, data?: ListStreamingSessionBackupsCommandOutput) => void - ): void; - listStreamingSessionBackups( - args: ListStreamingSessionBackupsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListStreamingSessionBackupsCommandOutput) => void - ): void; - - /** - * @see {@link ListStreamingSessionsCommand} - */ - listStreamingSessions( - args: ListStreamingSessionsCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listStreamingSessions( - args: ListStreamingSessionsCommandInput, - cb: (err: any, data?: ListStreamingSessionsCommandOutput) => void - ): void; - listStreamingSessions( - args: ListStreamingSessionsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListStreamingSessionsCommandOutput) => void - ): void; - - /** - * @see {@link ListStudioComponentsCommand} - */ - listStudioComponents( - args: ListStudioComponentsCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listStudioComponents( - args: ListStudioComponentsCommandInput, - cb: (err: any, data?: ListStudioComponentsCommandOutput) => void - ): void; - listStudioComponents( - args: ListStudioComponentsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListStudioComponentsCommandOutput) => void - ): void; - - /** - * @see {@link ListStudioMembersCommand} - */ - listStudioMembers( - args: ListStudioMembersCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listStudioMembers( - args: ListStudioMembersCommandInput, - cb: (err: any, data?: ListStudioMembersCommandOutput) => void - ): void; - listStudioMembers( - args: ListStudioMembersCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListStudioMembersCommandOutput) => void - ): void; - - /** - * @see {@link ListStudiosCommand} - */ - listStudios(): Promise; - listStudios(args: ListStudiosCommandInput, options?: __HttpHandlerOptions): Promise; - listStudios(args: ListStudiosCommandInput, cb: (err: any, data?: ListStudiosCommandOutput) => void): void; - listStudios( - args: ListStudiosCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListStudiosCommandOutput) => void - ): void; - - /** - * @see {@link ListTagsForResourceCommand} - */ - listTagsForResource( - args: ListTagsForResourceCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listTagsForResource( - args: ListTagsForResourceCommandInput, - cb: (err: any, data?: ListTagsForResourceCommandOutput) => void - ): void; - listTagsForResource( - args: ListTagsForResourceCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListTagsForResourceCommandOutput) => void - ): void; - - /** - * @see {@link PutLaunchProfileMembersCommand} - */ - putLaunchProfileMembers( - args: PutLaunchProfileMembersCommandInput, - options?: __HttpHandlerOptions - ): Promise; - putLaunchProfileMembers( - args: PutLaunchProfileMembersCommandInput, - cb: (err: any, data?: PutLaunchProfileMembersCommandOutput) => void - ): void; - putLaunchProfileMembers( - args: PutLaunchProfileMembersCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: PutLaunchProfileMembersCommandOutput) => void - ): void; - - /** - * @see {@link PutStudioMembersCommand} - */ - putStudioMembers( - args: PutStudioMembersCommandInput, - options?: __HttpHandlerOptions - ): Promise; - putStudioMembers( - args: PutStudioMembersCommandInput, - cb: (err: any, data?: PutStudioMembersCommandOutput) => void - ): void; - putStudioMembers( - args: PutStudioMembersCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: PutStudioMembersCommandOutput) => void - ): void; - - /** - * @see {@link StartStreamingSessionCommand} - */ - startStreamingSession( - args: StartStreamingSessionCommandInput, - options?: __HttpHandlerOptions - ): Promise; - startStreamingSession( - args: StartStreamingSessionCommandInput, - cb: (err: any, data?: StartStreamingSessionCommandOutput) => void - ): void; - startStreamingSession( - args: StartStreamingSessionCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: StartStreamingSessionCommandOutput) => void - ): void; - - /** - * @see {@link StartStudioSSOConfigurationRepairCommand} - */ - startStudioSSOConfigurationRepair( - args: StartStudioSSOConfigurationRepairCommandInput, - options?: __HttpHandlerOptions - ): Promise; - startStudioSSOConfigurationRepair( - args: StartStudioSSOConfigurationRepairCommandInput, - cb: (err: any, data?: StartStudioSSOConfigurationRepairCommandOutput) => void - ): void; - startStudioSSOConfigurationRepair( - args: StartStudioSSOConfigurationRepairCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: StartStudioSSOConfigurationRepairCommandOutput) => void - ): void; - - /** - * @see {@link StopStreamingSessionCommand} - */ - stopStreamingSession( - args: StopStreamingSessionCommandInput, - options?: __HttpHandlerOptions - ): Promise; - stopStreamingSession( - args: StopStreamingSessionCommandInput, - cb: (err: any, data?: StopStreamingSessionCommandOutput) => void - ): void; - stopStreamingSession( - args: StopStreamingSessionCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: StopStreamingSessionCommandOutput) => void - ): void; - - /** - * @see {@link TagResourceCommand} - */ - tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise; - tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void; - tagResource( - args: TagResourceCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: TagResourceCommandOutput) => void - ): void; - - /** - * @see {@link UntagResourceCommand} - */ - untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise; - untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void; - untagResource( - args: UntagResourceCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: UntagResourceCommandOutput) => void - ): void; - - /** - * @see {@link UpdateLaunchProfileCommand} - */ - updateLaunchProfile( - args: UpdateLaunchProfileCommandInput, - options?: __HttpHandlerOptions - ): Promise; - updateLaunchProfile( - args: UpdateLaunchProfileCommandInput, - cb: (err: any, data?: UpdateLaunchProfileCommandOutput) => void - ): void; - updateLaunchProfile( - args: UpdateLaunchProfileCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: UpdateLaunchProfileCommandOutput) => void - ): void; - - /** - * @see {@link UpdateLaunchProfileMemberCommand} - */ - updateLaunchProfileMember( - args: UpdateLaunchProfileMemberCommandInput, - options?: __HttpHandlerOptions - ): Promise; - updateLaunchProfileMember( - args: UpdateLaunchProfileMemberCommandInput, - cb: (err: any, data?: UpdateLaunchProfileMemberCommandOutput) => void - ): void; - updateLaunchProfileMember( - args: UpdateLaunchProfileMemberCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: UpdateLaunchProfileMemberCommandOutput) => void - ): void; - - /** - * @see {@link UpdateStreamingImageCommand} - */ - updateStreamingImage( - args: UpdateStreamingImageCommandInput, - options?: __HttpHandlerOptions - ): Promise; - updateStreamingImage( - args: UpdateStreamingImageCommandInput, - cb: (err: any, data?: UpdateStreamingImageCommandOutput) => void - ): void; - updateStreamingImage( - args: UpdateStreamingImageCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: UpdateStreamingImageCommandOutput) => void - ): void; - - /** - * @see {@link UpdateStudioCommand} - */ - updateStudio(args: UpdateStudioCommandInput, options?: __HttpHandlerOptions): Promise; - updateStudio(args: UpdateStudioCommandInput, cb: (err: any, data?: UpdateStudioCommandOutput) => void): void; - updateStudio( - args: UpdateStudioCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: UpdateStudioCommandOutput) => void - ): void; - - /** - * @see {@link UpdateStudioComponentCommand} - */ - updateStudioComponent( - args: UpdateStudioComponentCommandInput, - options?: __HttpHandlerOptions - ): Promise; - updateStudioComponent( - args: UpdateStudioComponentCommandInput, - cb: (err: any, data?: UpdateStudioComponentCommandOutput) => void - ): void; - updateStudioComponent( - args: UpdateStudioComponentCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: UpdateStudioComponentCommandOutput) => void - ): void; -} - -/** - *

Welcome to the Amazon Nimble Studio API reference. This API reference provides - * methods, schema, resources, parameters, and more to help you get the most out of Nimble - * Studio.

- *

Nimble Studio is a virtual studio that empowers visual effects, animation, and - * interactive content teams to create content securely within a scalable, private cloud - * service.

- * @public - */ -export class Nimble extends NimbleClient implements Nimble {} -createAggregatedClient(commands, Nimble); diff --git a/clients/client-nimble/src/NimbleClient.ts b/clients/client-nimble/src/NimbleClient.ts deleted file mode 100644 index 01608ababede..000000000000 --- a/clients/client-nimble/src/NimbleClient.ts +++ /dev/null @@ -1,546 +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 { - defaultNimbleHttpAuthSchemeParametersProvider, - HttpAuthSchemeInputConfig, - HttpAuthSchemeResolvedConfig, - resolveHttpAuthSchemeConfig, -} from "./auth/httpAuthSchemeProvider"; -import { AcceptEulasCommandInput, AcceptEulasCommandOutput } from "./commands/AcceptEulasCommand"; -import { - CreateLaunchProfileCommandInput, - CreateLaunchProfileCommandOutput, -} from "./commands/CreateLaunchProfileCommand"; -import { - CreateStreamingImageCommandInput, - CreateStreamingImageCommandOutput, -} from "./commands/CreateStreamingImageCommand"; -import { - CreateStreamingSessionCommandInput, - CreateStreamingSessionCommandOutput, -} from "./commands/CreateStreamingSessionCommand"; -import { - CreateStreamingSessionStreamCommandInput, - CreateStreamingSessionStreamCommandOutput, -} from "./commands/CreateStreamingSessionStreamCommand"; -import { CreateStudioCommandInput, CreateStudioCommandOutput } from "./commands/CreateStudioCommand"; -import { - CreateStudioComponentCommandInput, - CreateStudioComponentCommandOutput, -} from "./commands/CreateStudioComponentCommand"; -import { - DeleteLaunchProfileCommandInput, - DeleteLaunchProfileCommandOutput, -} from "./commands/DeleteLaunchProfileCommand"; -import { - DeleteLaunchProfileMemberCommandInput, - DeleteLaunchProfileMemberCommandOutput, -} from "./commands/DeleteLaunchProfileMemberCommand"; -import { - DeleteStreamingImageCommandInput, - DeleteStreamingImageCommandOutput, -} from "./commands/DeleteStreamingImageCommand"; -import { - DeleteStreamingSessionCommandInput, - DeleteStreamingSessionCommandOutput, -} from "./commands/DeleteStreamingSessionCommand"; -import { DeleteStudioCommandInput, DeleteStudioCommandOutput } from "./commands/DeleteStudioCommand"; -import { - DeleteStudioComponentCommandInput, - DeleteStudioComponentCommandOutput, -} from "./commands/DeleteStudioComponentCommand"; -import { DeleteStudioMemberCommandInput, DeleteStudioMemberCommandOutput } from "./commands/DeleteStudioMemberCommand"; -import { GetEulaCommandInput, GetEulaCommandOutput } from "./commands/GetEulaCommand"; -import { GetLaunchProfileCommandInput, GetLaunchProfileCommandOutput } from "./commands/GetLaunchProfileCommand"; -import { - GetLaunchProfileDetailsCommandInput, - GetLaunchProfileDetailsCommandOutput, -} from "./commands/GetLaunchProfileDetailsCommand"; -import { - GetLaunchProfileInitializationCommandInput, - GetLaunchProfileInitializationCommandOutput, -} from "./commands/GetLaunchProfileInitializationCommand"; -import { - GetLaunchProfileMemberCommandInput, - GetLaunchProfileMemberCommandOutput, -} from "./commands/GetLaunchProfileMemberCommand"; -import { GetStreamingImageCommandInput, GetStreamingImageCommandOutput } from "./commands/GetStreamingImageCommand"; -import { - GetStreamingSessionBackupCommandInput, - GetStreamingSessionBackupCommandOutput, -} from "./commands/GetStreamingSessionBackupCommand"; -import { - GetStreamingSessionCommandInput, - GetStreamingSessionCommandOutput, -} from "./commands/GetStreamingSessionCommand"; -import { - GetStreamingSessionStreamCommandInput, - GetStreamingSessionStreamCommandOutput, -} from "./commands/GetStreamingSessionStreamCommand"; -import { GetStudioCommandInput, GetStudioCommandOutput } from "./commands/GetStudioCommand"; -import { GetStudioComponentCommandInput, GetStudioComponentCommandOutput } from "./commands/GetStudioComponentCommand"; -import { GetStudioMemberCommandInput, GetStudioMemberCommandOutput } from "./commands/GetStudioMemberCommand"; -import { - ListEulaAcceptancesCommandInput, - ListEulaAcceptancesCommandOutput, -} from "./commands/ListEulaAcceptancesCommand"; -import { ListEulasCommandInput, ListEulasCommandOutput } from "./commands/ListEulasCommand"; -import { - ListLaunchProfileMembersCommandInput, - ListLaunchProfileMembersCommandOutput, -} from "./commands/ListLaunchProfileMembersCommand"; -import { ListLaunchProfilesCommandInput, ListLaunchProfilesCommandOutput } from "./commands/ListLaunchProfilesCommand"; -import { - ListStreamingImagesCommandInput, - ListStreamingImagesCommandOutput, -} from "./commands/ListStreamingImagesCommand"; -import { - ListStreamingSessionBackupsCommandInput, - ListStreamingSessionBackupsCommandOutput, -} from "./commands/ListStreamingSessionBackupsCommand"; -import { - ListStreamingSessionsCommandInput, - ListStreamingSessionsCommandOutput, -} from "./commands/ListStreamingSessionsCommand"; -import { - ListStudioComponentsCommandInput, - ListStudioComponentsCommandOutput, -} from "./commands/ListStudioComponentsCommand"; -import { ListStudioMembersCommandInput, ListStudioMembersCommandOutput } from "./commands/ListStudioMembersCommand"; -import { ListStudiosCommandInput, ListStudiosCommandOutput } from "./commands/ListStudiosCommand"; -import { - ListTagsForResourceCommandInput, - ListTagsForResourceCommandOutput, -} from "./commands/ListTagsForResourceCommand"; -import { - PutLaunchProfileMembersCommandInput, - PutLaunchProfileMembersCommandOutput, -} from "./commands/PutLaunchProfileMembersCommand"; -import { PutStudioMembersCommandInput, PutStudioMembersCommandOutput } from "./commands/PutStudioMembersCommand"; -import { - StartStreamingSessionCommandInput, - StartStreamingSessionCommandOutput, -} from "./commands/StartStreamingSessionCommand"; -import { - StartStudioSSOConfigurationRepairCommandInput, - StartStudioSSOConfigurationRepairCommandOutput, -} from "./commands/StartStudioSSOConfigurationRepairCommand"; -import { - StopStreamingSessionCommandInput, - StopStreamingSessionCommandOutput, -} from "./commands/StopStreamingSessionCommand"; -import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand"; -import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand"; -import { - UpdateLaunchProfileCommandInput, - UpdateLaunchProfileCommandOutput, -} from "./commands/UpdateLaunchProfileCommand"; -import { - UpdateLaunchProfileMemberCommandInput, - UpdateLaunchProfileMemberCommandOutput, -} from "./commands/UpdateLaunchProfileMemberCommand"; -import { - UpdateStreamingImageCommandInput, - UpdateStreamingImageCommandOutput, -} from "./commands/UpdateStreamingImageCommand"; -import { UpdateStudioCommandInput, UpdateStudioCommandOutput } from "./commands/UpdateStudioCommand"; -import { - UpdateStudioComponentCommandInput, - UpdateStudioComponentCommandOutput, -} from "./commands/UpdateStudioComponentCommand"; -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 = - | AcceptEulasCommandInput - | CreateLaunchProfileCommandInput - | CreateStreamingImageCommandInput - | CreateStreamingSessionCommandInput - | CreateStreamingSessionStreamCommandInput - | CreateStudioCommandInput - | CreateStudioComponentCommandInput - | DeleteLaunchProfileCommandInput - | DeleteLaunchProfileMemberCommandInput - | DeleteStreamingImageCommandInput - | DeleteStreamingSessionCommandInput - | DeleteStudioCommandInput - | DeleteStudioComponentCommandInput - | DeleteStudioMemberCommandInput - | GetEulaCommandInput - | GetLaunchProfileCommandInput - | GetLaunchProfileDetailsCommandInput - | GetLaunchProfileInitializationCommandInput - | GetLaunchProfileMemberCommandInput - | GetStreamingImageCommandInput - | GetStreamingSessionBackupCommandInput - | GetStreamingSessionCommandInput - | GetStreamingSessionStreamCommandInput - | GetStudioCommandInput - | GetStudioComponentCommandInput - | GetStudioMemberCommandInput - | ListEulaAcceptancesCommandInput - | ListEulasCommandInput - | ListLaunchProfileMembersCommandInput - | ListLaunchProfilesCommandInput - | ListStreamingImagesCommandInput - | ListStreamingSessionBackupsCommandInput - | ListStreamingSessionsCommandInput - | ListStudioComponentsCommandInput - | ListStudioMembersCommandInput - | ListStudiosCommandInput - | ListTagsForResourceCommandInput - | PutLaunchProfileMembersCommandInput - | PutStudioMembersCommandInput - | StartStreamingSessionCommandInput - | StartStudioSSOConfigurationRepairCommandInput - | StopStreamingSessionCommandInput - | TagResourceCommandInput - | UntagResourceCommandInput - | UpdateLaunchProfileCommandInput - | UpdateLaunchProfileMemberCommandInput - | UpdateStreamingImageCommandInput - | UpdateStudioCommandInput - | UpdateStudioComponentCommandInput; - -/** - * @public - */ -export type ServiceOutputTypes = - | AcceptEulasCommandOutput - | CreateLaunchProfileCommandOutput - | CreateStreamingImageCommandOutput - | CreateStreamingSessionCommandOutput - | CreateStreamingSessionStreamCommandOutput - | CreateStudioCommandOutput - | CreateStudioComponentCommandOutput - | DeleteLaunchProfileCommandOutput - | DeleteLaunchProfileMemberCommandOutput - | DeleteStreamingImageCommandOutput - | DeleteStreamingSessionCommandOutput - | DeleteStudioCommandOutput - | DeleteStudioComponentCommandOutput - | DeleteStudioMemberCommandOutput - | GetEulaCommandOutput - | GetLaunchProfileCommandOutput - | GetLaunchProfileDetailsCommandOutput - | GetLaunchProfileInitializationCommandOutput - | GetLaunchProfileMemberCommandOutput - | GetStreamingImageCommandOutput - | GetStreamingSessionBackupCommandOutput - | GetStreamingSessionCommandOutput - | GetStreamingSessionStreamCommandOutput - | GetStudioCommandOutput - | GetStudioComponentCommandOutput - | GetStudioMemberCommandOutput - | ListEulaAcceptancesCommandOutput - | ListEulasCommandOutput - | ListLaunchProfileMembersCommandOutput - | ListLaunchProfilesCommandOutput - | ListStreamingImagesCommandOutput - | ListStreamingSessionBackupsCommandOutput - | ListStreamingSessionsCommandOutput - | ListStudioComponentsCommandOutput - | ListStudioMembersCommandOutput - | ListStudiosCommandOutput - | ListTagsForResourceCommandOutput - | PutLaunchProfileMembersCommandOutput - | PutStudioMembersCommandOutput - | StartStreamingSessionCommandOutput - | StartStudioSSOConfigurationRepairCommandOutput - | StopStreamingSessionCommandOutput - | TagResourceCommandOutput - | UntagResourceCommandOutput - | UpdateLaunchProfileCommandOutput - | UpdateLaunchProfileMemberCommandOutput - | UpdateStreamingImageCommandOutput - | UpdateStudioCommandOutput - | UpdateStudioComponentCommandOutput; - -/** - * @public - */ -export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> { - /** - * The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs. - */ - requestHandler?: __HttpHandlerUserInput; - - /** - * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface - * that computes the SHA-256 HMAC or checksum of a string or binary buffer. - * @internal - */ - sha256?: __ChecksumConstructor | __HashConstructor; - - /** - * The function that will be used to convert strings into HTTP endpoints. - * @internal - */ - urlParser?: __UrlParser; - - /** - * A function that can calculate the length of a request body. - * @internal - */ - bodyLengthChecker?: __BodyLengthCalculator; - - /** - * A function that converts a stream into an array of bytes. - * @internal - */ - streamCollector?: __StreamCollector; - - /** - * The function that will be used to convert a base64-encoded string to a byte array. - * @internal - */ - base64Decoder?: __Decoder; - - /** - * The function that will be used to convert binary data to a base64-encoded string. - * @internal - */ - base64Encoder?: __Encoder; - - /** - * The function that will be used to convert a UTF8-encoded string to a byte array. - * @internal - */ - utf8Decoder?: __Decoder; - - /** - * The function that will be used to convert binary data to a UTF-8 encoded string. - * @internal - */ - utf8Encoder?: __Encoder; - - /** - * The runtime environment. - * @internal - */ - runtime?: string; - - /** - * Disable dynamically changing the endpoint of the client based on the hostPrefix - * trait of an operation. - */ - disableHostPrefix?: boolean; - - /** - * Unique service identifier. - * @internal - */ - serviceId?: string; - - /** - * Enables IPv6/IPv4 dualstack endpoint. - */ - useDualstackEndpoint?: boolean | __Provider; - - /** - * Enables FIPS compatible endpoints. - */ - useFipsEndpoint?: boolean | __Provider; - - /** - * The AWS region to which this client will send requests - */ - region?: string | __Provider; - - /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal - */ - defaultUserAgentProvider?: Provider<__UserAgent>; - - /** - * Default credentials provider; Not available in browser runtime. - * @deprecated - * @internal - */ - credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider; - - /** - * Value for how many times a request will be made at most in case of retry. - */ - maxAttempts?: number | __Provider; - - /** - * Specifies which retry algorithm to use. - * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/ - * - */ - retryMode?: string | __Provider; - - /** - * Optional logger for logging debug/info/warn/error. - */ - logger?: __Logger; - - /** - * Optional extensions - */ - extensions?: RuntimeExtension[]; - - /** - * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK. - */ - defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>; -} - -/** - * @public - */ -export type NimbleClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & - ClientDefaults & - UserAgentInputConfig & - RetryInputConfig & - RegionInputConfig & - HostHeaderInputConfig & - EndpointInputConfig & - HttpAuthSchemeInputConfig & - ClientInputEndpointParameters; -/** - * @public - * - * The configuration interface of NimbleClient class constructor that set the region, credentials and other options. - */ -export interface NimbleClientConfig extends NimbleClientConfigType {} - -/** - * @public - */ -export type NimbleClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & - Required & - RuntimeExtensionsConfig & - UserAgentResolvedConfig & - RetryResolvedConfig & - RegionResolvedConfig & - HostHeaderResolvedConfig & - EndpointResolvedConfig & - HttpAuthSchemeResolvedConfig & - ClientResolvedEndpointParameters; -/** - * @public - * - * The resolved configuration interface of NimbleClient class. This is resolved and normalized from the {@link NimbleClientConfig | constructor configuration interface}. - */ -export interface NimbleClientResolvedConfig extends NimbleClientResolvedConfigType {} - -/** - *

Welcome to the Amazon Nimble Studio API reference. This API reference provides - * methods, schema, resources, parameters, and more to help you get the most out of Nimble - * Studio.

- *

Nimble Studio is a virtual studio that empowers visual effects, animation, and - * interactive content teams to create content securely within a scalable, private cloud - * service.

- * @public - */ -export class NimbleClient extends __Client< - __HttpHandlerOptions, - ServiceInputTypes, - ServiceOutputTypes, - NimbleClientResolvedConfig -> { - /** - * The resolved configuration of NimbleClient class. This is resolved and normalized from the {@link NimbleClientConfig | constructor configuration interface}. - */ - readonly config: NimbleClientResolvedConfig; - - constructor(...[configuration]: __CheckOptionalClientConfig) { - const _config_0 = __getRuntimeConfig(configuration || {}); - const _config_1 = resolveClientEndpointParameters(_config_0); - const _config_2 = resolveUserAgentConfig(_config_1); - const _config_3 = resolveRetryConfig(_config_2); - const _config_4 = resolveRegionConfig(_config_3); - const _config_5 = resolveHostHeaderConfig(_config_4); - const _config_6 = resolveEndpointConfig(_config_5); - const _config_7 = resolveHttpAuthSchemeConfig(_config_6); - const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); - super(_config_8); - this.config = _config_8; - this.middlewareStack.use(getUserAgentPlugin(this.config)); - this.middlewareStack.use(getRetryPlugin(this.config)); - this.middlewareStack.use(getContentLengthPlugin(this.config)); - this.middlewareStack.use(getHostHeaderPlugin(this.config)); - this.middlewareStack.use(getLoggerPlugin(this.config)); - this.middlewareStack.use(getRecursionDetectionPlugin(this.config)); - this.middlewareStack.use( - getHttpAuthSchemeEndpointRuleSetPlugin(this.config, { - httpAuthSchemeParametersProvider: defaultNimbleHttpAuthSchemeParametersProvider, - identityProviderConfigProvider: async (config: NimbleClientResolvedConfig) => - new DefaultIdentityProviderConfig({ - "aws.auth#sigv4": config.credentials, - }), - }) - ); - this.middlewareStack.use(getHttpSigningPlugin(this.config)); - } - - /** - * Destroy underlying resources, like sockets. It's usually not necessary to do this. - * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed. - * Otherwise, sockets might stay open for quite a long time before the server terminates them. - */ - destroy(): void { - super.destroy(); - } -} diff --git a/clients/client-nimble/src/auth/httpAuthExtensionConfiguration.ts b/clients/client-nimble/src/auth/httpAuthExtensionConfiguration.ts deleted file mode 100644 index 54c9c4d02f24..000000000000 --- a/clients/client-nimble/src/auth/httpAuthExtensionConfiguration.ts +++ /dev/null @@ -1,72 +0,0 @@ -// smithy-typescript generated code -import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types"; - -import { NimbleHttpAuthSchemeProvider } from "./httpAuthSchemeProvider"; - -/** - * @internal - */ -export interface HttpAuthExtensionConfiguration { - setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void; - httpAuthSchemes(): HttpAuthScheme[]; - setHttpAuthSchemeProvider(httpAuthSchemeProvider: NimbleHttpAuthSchemeProvider): void; - httpAuthSchemeProvider(): NimbleHttpAuthSchemeProvider; - setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void; - credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined; -} - -/** - * @internal - */ -export type HttpAuthRuntimeConfig = Partial<{ - httpAuthSchemes: HttpAuthScheme[]; - httpAuthSchemeProvider: NimbleHttpAuthSchemeProvider; - credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider; -}>; - -/** - * @internal - */ -export const getHttpAuthExtensionConfiguration = ( - runtimeConfig: HttpAuthRuntimeConfig -): HttpAuthExtensionConfiguration => { - const _httpAuthSchemes = runtimeConfig.httpAuthSchemes!; - let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider!; - let _credentials = runtimeConfig.credentials; - return { - setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void { - const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId); - if (index === -1) { - _httpAuthSchemes.push(httpAuthScheme); - } else { - _httpAuthSchemes.splice(index, 1, httpAuthScheme); - } - }, - httpAuthSchemes(): HttpAuthScheme[] { - return _httpAuthSchemes; - }, - setHttpAuthSchemeProvider(httpAuthSchemeProvider: NimbleHttpAuthSchemeProvider): void { - _httpAuthSchemeProvider = httpAuthSchemeProvider; - }, - httpAuthSchemeProvider(): NimbleHttpAuthSchemeProvider { - return _httpAuthSchemeProvider; - }, - setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void { - _credentials = credentials; - }, - credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined { - return _credentials; - }, - }; -}; - -/** - * @internal - */ -export const resolveHttpAuthRuntimeConfig = (config: HttpAuthExtensionConfiguration): HttpAuthRuntimeConfig => { - return { - httpAuthSchemes: config.httpAuthSchemes(), - httpAuthSchemeProvider: config.httpAuthSchemeProvider(), - credentials: config.credentials(), - }; -}; diff --git a/clients/client-nimble/src/auth/httpAuthSchemeProvider.ts b/clients/client-nimble/src/auth/httpAuthSchemeProvider.ts deleted file mode 100644 index 88bc4ca6700d..000000000000 --- a/clients/client-nimble/src/auth/httpAuthSchemeProvider.ts +++ /dev/null @@ -1,137 +0,0 @@ -// smithy-typescript generated code -import { - AwsSdkSigV4AuthInputConfig, - AwsSdkSigV4AuthResolvedConfig, - AwsSdkSigV4PreviouslyResolved, - resolveAwsSdkSigV4Config, -} from "@aws-sdk/core"; -import { - HandlerExecutionContext, - HttpAuthOption, - HttpAuthScheme, - HttpAuthSchemeParameters, - HttpAuthSchemeParametersProvider, - HttpAuthSchemeProvider, -} from "@smithy/types"; -import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware"; - -import { NimbleClientConfig, NimbleClientResolvedConfig } from "../NimbleClient"; - -/** - * @internal - */ -export interface NimbleHttpAuthSchemeParameters extends HttpAuthSchemeParameters { - region?: string; -} - -/** - * @internal - */ -export interface NimbleHttpAuthSchemeParametersProvider - extends HttpAuthSchemeParametersProvider< - NimbleClientResolvedConfig, - HandlerExecutionContext, - NimbleHttpAuthSchemeParameters, - object - > {} - -/** - * @internal - */ -export const defaultNimbleHttpAuthSchemeParametersProvider = async ( - config: NimbleClientResolvedConfig, - context: HandlerExecutionContext, - input: object -): Promise => { - return { - operation: getSmithyContext(context).operation as string, - region: - (await normalizeProvider(config.region)()) || - (() => { - throw new Error("expected `region` to be configured for `aws.auth#sigv4`"); - })(), - }; -}; - -function createAwsAuthSigv4HttpAuthOption(authParameters: NimbleHttpAuthSchemeParameters): HttpAuthOption { - return { - schemeId: "aws.auth#sigv4", - signingProperties: { - name: "nimble", - region: authParameters.region, - }, - propertiesExtractor: (config: Partial, context) => ({ - /** - * @internal - */ - signingProperties: { - config, - context, - }, - }), - }; -} - -/** - * @internal - */ -export interface NimbleHttpAuthSchemeProvider extends HttpAuthSchemeProvider {} - -/** - * @internal - */ -export const defaultNimbleHttpAuthSchemeProvider: NimbleHttpAuthSchemeProvider = (authParameters) => { - const options: HttpAuthOption[] = []; - switch (authParameters.operation) { - default: { - options.push(createAwsAuthSigv4HttpAuthOption(authParameters)); - } - } - return options; -}; - -/** - * @internal - */ -export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig { - /** - * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme. - * @internal - */ - httpAuthSchemes?: HttpAuthScheme[]; - - /** - * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use. - * @internal - */ - httpAuthSchemeProvider?: NimbleHttpAuthSchemeProvider; -} - -/** - * @internal - */ -export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig { - /** - * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme. - * @internal - */ - readonly httpAuthSchemes: HttpAuthScheme[]; - - /** - * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use. - * @internal - */ - readonly httpAuthSchemeProvider: NimbleHttpAuthSchemeProvider; -} - -/** - * @internal - */ -export const resolveHttpAuthSchemeConfig = ( - config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved -): T & HttpAuthSchemeResolvedConfig => { - const config_0 = resolveAwsSdkSigV4Config(config); - return { - ...config_0, - } as T & HttpAuthSchemeResolvedConfig; -}; diff --git a/clients/client-nimble/src/commands/AcceptEulasCommand.ts b/clients/client-nimble/src/commands/AcceptEulasCommand.ts deleted file mode 100644 index 03d979f703aa..000000000000 --- a/clients/client-nimble/src/commands/AcceptEulasCommand.ts +++ /dev/null @@ -1,128 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { commonParams } from "../endpoint/EndpointParameters"; -import { AcceptEulasRequest, AcceptEulasResponse } from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -import { de_AcceptEulasCommand, se_AcceptEulasCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link AcceptEulasCommand}. - */ -export interface AcceptEulasCommandInput extends AcceptEulasRequest {} -/** - * @public - * - * The output of {@link AcceptEulasCommand}. - */ -export interface AcceptEulasCommandOutput extends AcceptEulasResponse, __MetadataBearer {} - -/** - *

Accept EULAs.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, AcceptEulasCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, AcceptEulasCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // AcceptEulasRequest - * clientToken: "STRING_VALUE", - * eulaIds: [ // EulaIdList - * "STRING_VALUE", - * ], - * studioId: "STRING_VALUE", // required - * }; - * const command = new AcceptEulasCommand(input); - * const response = await client.send(command); - * // { // AcceptEulasResponse - * // eulaAcceptances: [ // EulaAcceptanceList - * // { // EulaAcceptance - * // acceptedAt: new Date("TIMESTAMP"), - * // acceptedBy: "STRING_VALUE", - * // accepteeId: "STRING_VALUE", - * // eulaAcceptanceId: "STRING_VALUE", - * // eulaId: "STRING_VALUE", - * // }, - * // ], - * // }; - * - * ``` - * - * @param AcceptEulasCommandInput - {@link AcceptEulasCommandInput} - * @returns {@link AcceptEulasCommandOutput} - * @see {@link AcceptEulasCommandInput} for command's `input` shape. - * @see {@link AcceptEulasCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class AcceptEulasCommand extends $Command - .classBuilder< - AcceptEulasCommandInput, - AcceptEulasCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "AcceptEulas", {}) - .n("NimbleClient", "AcceptEulasCommand") - .f(void 0, void 0) - .ser(se_AcceptEulasCommand) - .de(de_AcceptEulasCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: AcceptEulasRequest; - output: AcceptEulasResponse; - }; - sdk: { - input: AcceptEulasCommandInput; - output: AcceptEulasCommandOutput; - }; - }; -} diff --git a/clients/client-nimble/src/commands/CreateLaunchProfileCommand.ts b/clients/client-nimble/src/commands/CreateLaunchProfileCommand.ts deleted file mode 100644 index db378fd3b486..000000000000 --- a/clients/client-nimble/src/commands/CreateLaunchProfileCommand.ts +++ /dev/null @@ -1,230 +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 { - CreateLaunchProfileRequest, - CreateLaunchProfileRequestFilterSensitiveLog, - CreateLaunchProfileResponse, - CreateLaunchProfileResponseFilterSensitiveLog, -} from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -import { de_CreateLaunchProfileCommand, se_CreateLaunchProfileCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link CreateLaunchProfileCommand}. - */ -export interface CreateLaunchProfileCommandInput extends CreateLaunchProfileRequest {} -/** - * @public - * - * The output of {@link CreateLaunchProfileCommand}. - */ -export interface CreateLaunchProfileCommandOutput extends CreateLaunchProfileResponse, __MetadataBearer {} - -/** - *

Create a launch profile.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, CreateLaunchProfileCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, CreateLaunchProfileCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // CreateLaunchProfileRequest - * clientToken: "STRING_VALUE", - * description: "STRING_VALUE", - * ec2SubnetIds: [ // EC2SubnetIdList // required - * "STRING_VALUE", - * ], - * launchProfileProtocolVersions: [ // LaunchProfileProtocolVersionList // required - * "STRING_VALUE", - * ], - * name: "STRING_VALUE", // required - * streamConfiguration: { // StreamConfigurationCreate - * clipboardMode: "ENABLED" || "DISABLED", // required - * ec2InstanceTypes: [ // StreamingInstanceTypeList // required - * "g4dn.xlarge" || "g4dn.2xlarge" || "g4dn.4xlarge" || "g4dn.8xlarge" || "g4dn.12xlarge" || "g4dn.16xlarge" || "g3.4xlarge" || "g3s.xlarge" || "g5.xlarge" || "g5.2xlarge" || "g5.4xlarge" || "g5.8xlarge" || "g5.16xlarge", - * ], - * maxSessionLengthInMinutes: Number("int"), - * streamingImageIds: [ // StreamingImageIdList // required - * "STRING_VALUE", - * ], - * maxStoppedSessionLengthInMinutes: Number("int"), - * sessionStorage: { // StreamConfigurationSessionStorage - * root: { // StreamingSessionStorageRoot - * linux: "STRING_VALUE", - * windows: "STRING_VALUE", - * }, - * mode: [ // StreamingSessionStorageModeList // required - * "UPLOAD", - * ], - * }, - * sessionBackup: { // StreamConfigurationSessionBackup - * mode: "AUTOMATIC" || "DEACTIVATED", - * maxBackupsToRetain: Number("int"), - * }, - * sessionPersistenceMode: "DEACTIVATED" || "ACTIVATED", - * volumeConfiguration: { // VolumeConfiguration - * size: Number("int"), - * throughput: Number("int"), - * iops: Number("int"), - * }, - * automaticTerminationMode: "DEACTIVATED" || "ACTIVATED", - * }, - * studioComponentIds: [ // LaunchProfileStudioComponentIdList // required - * "STRING_VALUE", - * ], - * studioId: "STRING_VALUE", // required - * tags: { // Tags - * "": "STRING_VALUE", - * }, - * }; - * const command = new CreateLaunchProfileCommand(input); - * const response = await client.send(command); - * // { // CreateLaunchProfileResponse - * // launchProfile: { // LaunchProfile - * // arn: "STRING_VALUE", - * // createdAt: new Date("TIMESTAMP"), - * // createdBy: "STRING_VALUE", - * // description: "STRING_VALUE", - * // ec2SubnetIds: [ // EC2SubnetIdList - * // "STRING_VALUE", - * // ], - * // launchProfileId: "STRING_VALUE", - * // launchProfileProtocolVersions: [ // LaunchProfileProtocolVersionList - * // "STRING_VALUE", - * // ], - * // name: "STRING_VALUE", - * // state: "CREATE_IN_PROGRESS" || "READY" || "UPDATE_IN_PROGRESS" || "DELETE_IN_PROGRESS" || "DELETED" || "DELETE_FAILED" || "CREATE_FAILED" || "UPDATE_FAILED", - * // statusCode: "LAUNCH_PROFILE_CREATED" || "LAUNCH_PROFILE_UPDATED" || "LAUNCH_PROFILE_DELETED" || "LAUNCH_PROFILE_CREATE_IN_PROGRESS" || "LAUNCH_PROFILE_UPDATE_IN_PROGRESS" || "LAUNCH_PROFILE_DELETE_IN_PROGRESS" || "INTERNAL_ERROR" || "STREAMING_IMAGE_NOT_FOUND" || "STREAMING_IMAGE_NOT_READY" || "LAUNCH_PROFILE_WITH_STREAM_SESSIONS_NOT_DELETED" || "ENCRYPTION_KEY_ACCESS_DENIED" || "ENCRYPTION_KEY_NOT_FOUND" || "INVALID_SUBNETS_PROVIDED" || "INVALID_INSTANCE_TYPES_PROVIDED" || "INVALID_SUBNETS_COMBINATION", - * // statusMessage: "STRING_VALUE", - * // streamConfiguration: { // StreamConfiguration - * // clipboardMode: "ENABLED" || "DISABLED", // required - * // ec2InstanceTypes: [ // StreamingInstanceTypeList // required - * // "g4dn.xlarge" || "g4dn.2xlarge" || "g4dn.4xlarge" || "g4dn.8xlarge" || "g4dn.12xlarge" || "g4dn.16xlarge" || "g3.4xlarge" || "g3s.xlarge" || "g5.xlarge" || "g5.2xlarge" || "g5.4xlarge" || "g5.8xlarge" || "g5.16xlarge", - * // ], - * // maxSessionLengthInMinutes: Number("int"), - * // streamingImageIds: [ // StreamingImageIdList // required - * // "STRING_VALUE", - * // ], - * // maxStoppedSessionLengthInMinutes: Number("int"), - * // sessionStorage: { // StreamConfigurationSessionStorage - * // root: { // StreamingSessionStorageRoot - * // linux: "STRING_VALUE", - * // windows: "STRING_VALUE", - * // }, - * // mode: [ // StreamingSessionStorageModeList // required - * // "UPLOAD", - * // ], - * // }, - * // sessionBackup: { // StreamConfigurationSessionBackup - * // mode: "AUTOMATIC" || "DEACTIVATED", - * // maxBackupsToRetain: Number("int"), - * // }, - * // sessionPersistenceMode: "DEACTIVATED" || "ACTIVATED", - * // volumeConfiguration: { // VolumeConfiguration - * // size: Number("int"), - * // throughput: Number("int"), - * // iops: Number("int"), - * // }, - * // automaticTerminationMode: "DEACTIVATED" || "ACTIVATED", - * // }, - * // studioComponentIds: [ // LaunchProfileStudioComponentIdList - * // "STRING_VALUE", - * // ], - * // tags: { // Tags - * // "": "STRING_VALUE", - * // }, - * // updatedAt: new Date("TIMESTAMP"), - * // updatedBy: "STRING_VALUE", - * // validationResults: [ // ValidationResults - * // { // ValidationResult - * // type: "VALIDATE_ACTIVE_DIRECTORY_STUDIO_COMPONENT" || "VALIDATE_SUBNET_ASSOCIATION" || "VALIDATE_NETWORK_ACL_ASSOCIATION" || "VALIDATE_SECURITY_GROUP_ASSOCIATION", // required - * // state: "VALIDATION_NOT_STARTED" || "VALIDATION_IN_PROGRESS" || "VALIDATION_SUCCESS" || "VALIDATION_FAILED" || "VALIDATION_FAILED_INTERNAL_SERVER_ERROR", // required - * // statusCode: "VALIDATION_NOT_STARTED" || "VALIDATION_IN_PROGRESS" || "VALIDATION_SUCCESS" || "VALIDATION_FAILED_INVALID_SUBNET_ROUTE_TABLE_ASSOCIATION" || "VALIDATION_FAILED_SUBNET_NOT_FOUND" || "VALIDATION_FAILED_INVALID_SECURITY_GROUP_ASSOCIATION" || "VALIDATION_FAILED_INVALID_ACTIVE_DIRECTORY" || "VALIDATION_FAILED_UNAUTHORIZED" || "VALIDATION_FAILED_INTERNAL_SERVER_ERROR", // required - * // statusMessage: "STRING_VALUE", // required - * // }, - * // ], - * // }, - * // }; - * - * ``` - * - * @param CreateLaunchProfileCommandInput - {@link CreateLaunchProfileCommandInput} - * @returns {@link CreateLaunchProfileCommandOutput} - * @see {@link CreateLaunchProfileCommandInput} for command's `input` shape. - * @see {@link CreateLaunchProfileCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class CreateLaunchProfileCommand extends $Command - .classBuilder< - CreateLaunchProfileCommandInput, - CreateLaunchProfileCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "CreateLaunchProfile", {}) - .n("NimbleClient", "CreateLaunchProfileCommand") - .f(CreateLaunchProfileRequestFilterSensitiveLog, CreateLaunchProfileResponseFilterSensitiveLog) - .ser(se_CreateLaunchProfileCommand) - .de(de_CreateLaunchProfileCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: CreateLaunchProfileRequest; - output: CreateLaunchProfileResponse; - }; - sdk: { - input: CreateLaunchProfileCommandInput; - output: CreateLaunchProfileCommandOutput; - }; - }; -} diff --git a/clients/client-nimble/src/commands/CreateStreamingImageCommand.ts b/clients/client-nimble/src/commands/CreateStreamingImageCommand.ts deleted file mode 100644 index 1ce2223d5578..000000000000 --- a/clients/client-nimble/src/commands/CreateStreamingImageCommand.ts +++ /dev/null @@ -1,149 +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 { - CreateStreamingImageRequest, - CreateStreamingImageRequestFilterSensitiveLog, - CreateStreamingImageResponse, - CreateStreamingImageResponseFilterSensitiveLog, -} from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -import { de_CreateStreamingImageCommand, se_CreateStreamingImageCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link CreateStreamingImageCommand}. - */ -export interface CreateStreamingImageCommandInput extends CreateStreamingImageRequest {} -/** - * @public - * - * The output of {@link CreateStreamingImageCommand}. - */ -export interface CreateStreamingImageCommandOutput extends CreateStreamingImageResponse, __MetadataBearer {} - -/** - *

Creates a streaming image resource in a studio.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, CreateStreamingImageCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, CreateStreamingImageCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // CreateStreamingImageRequest - * clientToken: "STRING_VALUE", - * description: "STRING_VALUE", - * ec2ImageId: "STRING_VALUE", // required - * name: "STRING_VALUE", // required - * studioId: "STRING_VALUE", // required - * tags: { // Tags - * "": "STRING_VALUE", - * }, - * }; - * const command = new CreateStreamingImageCommand(input); - * const response = await client.send(command); - * // { // CreateStreamingImageResponse - * // streamingImage: { // StreamingImage - * // arn: "STRING_VALUE", - * // description: "STRING_VALUE", - * // ec2ImageId: "STRING_VALUE", - * // encryptionConfiguration: { // StreamingImageEncryptionConfiguration - * // keyArn: "STRING_VALUE", - * // keyType: "CUSTOMER_MANAGED_KEY", // required - * // }, - * // eulaIds: [ // EulaIdList - * // "STRING_VALUE", - * // ], - * // name: "STRING_VALUE", - * // owner: "STRING_VALUE", - * // platform: "STRING_VALUE", - * // state: "CREATE_IN_PROGRESS" || "READY" || "DELETE_IN_PROGRESS" || "DELETED" || "UPDATE_IN_PROGRESS" || "UPDATE_FAILED" || "CREATE_FAILED" || "DELETE_FAILED", - * // statusCode: "STREAMING_IMAGE_CREATE_IN_PROGRESS" || "STREAMING_IMAGE_READY" || "STREAMING_IMAGE_DELETE_IN_PROGRESS" || "STREAMING_IMAGE_DELETED" || "STREAMING_IMAGE_UPDATE_IN_PROGRESS" || "INTERNAL_ERROR" || "ACCESS_DENIED", - * // statusMessage: "STRING_VALUE", - * // streamingImageId: "STRING_VALUE", - * // tags: { // Tags - * // "": "STRING_VALUE", - * // }, - * // }, - * // }; - * - * ``` - * - * @param CreateStreamingImageCommandInput - {@link CreateStreamingImageCommandInput} - * @returns {@link CreateStreamingImageCommandOutput} - * @see {@link CreateStreamingImageCommandInput} for command's `input` shape. - * @see {@link CreateStreamingImageCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class CreateStreamingImageCommand extends $Command - .classBuilder< - CreateStreamingImageCommandInput, - CreateStreamingImageCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "CreateStreamingImage", {}) - .n("NimbleClient", "CreateStreamingImageCommand") - .f(CreateStreamingImageRequestFilterSensitiveLog, CreateStreamingImageResponseFilterSensitiveLog) - .ser(se_CreateStreamingImageCommand) - .de(de_CreateStreamingImageCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: CreateStreamingImageRequest; - output: CreateStreamingImageResponse; - }; - sdk: { - input: CreateStreamingImageCommandInput; - output: CreateStreamingImageCommandOutput; - }; - }; -} diff --git a/clients/client-nimble/src/commands/CreateStreamingSessionCommand.ts b/clients/client-nimble/src/commands/CreateStreamingSessionCommand.ts deleted file mode 100644 index bfe47fcf4408..000000000000 --- a/clients/client-nimble/src/commands/CreateStreamingSessionCommand.ts +++ /dev/null @@ -1,160 +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 { CreateStreamingSessionRequest, CreateStreamingSessionResponse } from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -import { de_CreateStreamingSessionCommand, se_CreateStreamingSessionCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link CreateStreamingSessionCommand}. - */ -export interface CreateStreamingSessionCommandInput extends CreateStreamingSessionRequest {} -/** - * @public - * - * The output of {@link CreateStreamingSessionCommand}. - */ -export interface CreateStreamingSessionCommandOutput extends CreateStreamingSessionResponse, __MetadataBearer {} - -/** - *

Creates a streaming session in a studio.

- *

After invoking this operation, you must poll GetStreamingSession until the streaming - * session is in the READY state.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, CreateStreamingSessionCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, CreateStreamingSessionCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // CreateStreamingSessionRequest - * clientToken: "STRING_VALUE", - * ec2InstanceType: "g4dn.xlarge" || "g4dn.2xlarge" || "g4dn.4xlarge" || "g4dn.8xlarge" || "g4dn.12xlarge" || "g4dn.16xlarge" || "g3.4xlarge" || "g3s.xlarge" || "g5.xlarge" || "g5.2xlarge" || "g5.4xlarge" || "g5.8xlarge" || "g5.16xlarge", - * launchProfileId: "STRING_VALUE", // required - * ownedBy: "STRING_VALUE", - * streamingImageId: "STRING_VALUE", - * studioId: "STRING_VALUE", // required - * tags: { // Tags - * "": "STRING_VALUE", - * }, - * }; - * const command = new CreateStreamingSessionCommand(input); - * const response = await client.send(command); - * // { // CreateStreamingSessionResponse - * // session: { // StreamingSession - * // arn: "STRING_VALUE", - * // createdAt: new Date("TIMESTAMP"), - * // createdBy: "STRING_VALUE", - * // ec2InstanceType: "STRING_VALUE", - * // launchProfileId: "STRING_VALUE", - * // ownedBy: "STRING_VALUE", - * // sessionId: "STRING_VALUE", - * // state: "CREATE_IN_PROGRESS" || "DELETE_IN_PROGRESS" || "READY" || "DELETED" || "CREATE_FAILED" || "DELETE_FAILED" || "STOP_IN_PROGRESS" || "START_IN_PROGRESS" || "STOPPED" || "STOP_FAILED" || "START_FAILED", - * // statusCode: "STREAMING_SESSION_READY" || "STREAMING_SESSION_DELETED" || "STREAMING_SESSION_CREATE_IN_PROGRESS" || "STREAMING_SESSION_DELETE_IN_PROGRESS" || "INTERNAL_ERROR" || "INSUFFICIENT_CAPACITY" || "ACTIVE_DIRECTORY_DOMAIN_JOIN_ERROR" || "NETWORK_CONNECTION_ERROR" || "INITIALIZATION_SCRIPT_ERROR" || "DECRYPT_STREAMING_IMAGE_ERROR" || "NETWORK_INTERFACE_ERROR" || "STREAMING_SESSION_STOPPED" || "STREAMING_SESSION_STARTED" || "STREAMING_SESSION_STOP_IN_PROGRESS" || "STREAMING_SESSION_START_IN_PROGRESS" || "AMI_VALIDATION_ERROR", - * // statusMessage: "STRING_VALUE", - * // streamingImageId: "STRING_VALUE", - * // tags: { // Tags - * // "": "STRING_VALUE", - * // }, - * // terminateAt: new Date("TIMESTAMP"), - * // updatedAt: new Date("TIMESTAMP"), - * // updatedBy: "STRING_VALUE", - * // stoppedAt: new Date("TIMESTAMP"), - * // stoppedBy: "STRING_VALUE", - * // startedAt: new Date("TIMESTAMP"), - * // startedBy: "STRING_VALUE", - * // stopAt: new Date("TIMESTAMP"), - * // startedFromBackupId: "STRING_VALUE", - * // backupMode: "AUTOMATIC" || "DEACTIVATED", - * // maxBackupsToRetain: Number("int"), - * // volumeRetentionMode: "RETAIN" || "DELETE", - * // sessionPersistenceMode: "DEACTIVATED" || "ACTIVATED", - * // volumeConfiguration: { // VolumeConfiguration - * // size: Number("int"), - * // throughput: Number("int"), - * // iops: Number("int"), - * // }, - * // automaticTerminationMode: "DEACTIVATED" || "ACTIVATED", - * // }, - * // }; - * - * ``` - * - * @param CreateStreamingSessionCommandInput - {@link CreateStreamingSessionCommandInput} - * @returns {@link CreateStreamingSessionCommandOutput} - * @see {@link CreateStreamingSessionCommandInput} for command's `input` shape. - * @see {@link CreateStreamingSessionCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class CreateStreamingSessionCommand extends $Command - .classBuilder< - CreateStreamingSessionCommandInput, - CreateStreamingSessionCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "CreateStreamingSession", {}) - .n("NimbleClient", "CreateStreamingSessionCommand") - .f(void 0, void 0) - .ser(se_CreateStreamingSessionCommand) - .de(de_CreateStreamingSessionCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: CreateStreamingSessionRequest; - output: CreateStreamingSessionResponse; - }; - sdk: { - input: CreateStreamingSessionCommandInput; - output: CreateStreamingSessionCommandOutput; - }; - }; -} diff --git a/clients/client-nimble/src/commands/CreateStreamingSessionStreamCommand.ts b/clients/client-nimble/src/commands/CreateStreamingSessionStreamCommand.ts deleted file mode 100644 index a5d5cb1c1f05..000000000000 --- a/clients/client-nimble/src/commands/CreateStreamingSessionStreamCommand.ts +++ /dev/null @@ -1,139 +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 { - CreateStreamingSessionStreamRequest, - CreateStreamingSessionStreamResponse, - CreateStreamingSessionStreamResponseFilterSensitiveLog, -} from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -import { - de_CreateStreamingSessionStreamCommand, - se_CreateStreamingSessionStreamCommand, -} from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link CreateStreamingSessionStreamCommand}. - */ -export interface CreateStreamingSessionStreamCommandInput extends CreateStreamingSessionStreamRequest {} -/** - * @public - * - * The output of {@link CreateStreamingSessionStreamCommand}. - */ -export interface CreateStreamingSessionStreamCommandOutput - extends CreateStreamingSessionStreamResponse, - __MetadataBearer {} - -/** - *

Creates a streaming session stream for a streaming session.

- *

After invoking this API, invoke GetStreamingSessionStream with the returned streamId - * to poll the resource until it is in the READY state.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, CreateStreamingSessionStreamCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, CreateStreamingSessionStreamCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // CreateStreamingSessionStreamRequest - * clientToken: "STRING_VALUE", - * expirationInSeconds: Number("int"), - * sessionId: "STRING_VALUE", // required - * studioId: "STRING_VALUE", // required - * }; - * const command = new CreateStreamingSessionStreamCommand(input); - * const response = await client.send(command); - * // { // CreateStreamingSessionStreamResponse - * // stream: { // StreamingSessionStream - * // createdAt: new Date("TIMESTAMP"), - * // createdBy: "STRING_VALUE", - * // expiresAt: new Date("TIMESTAMP"), - * // ownedBy: "STRING_VALUE", - * // state: "READY" || "CREATE_IN_PROGRESS" || "DELETE_IN_PROGRESS" || "DELETED" || "CREATE_FAILED" || "DELETE_FAILED", - * // statusCode: "STREAM_CREATE_IN_PROGRESS" || "STREAM_READY" || "STREAM_DELETE_IN_PROGRESS" || "STREAM_DELETED" || "INTERNAL_ERROR" || "NETWORK_CONNECTION_ERROR", - * // streamId: "STRING_VALUE", - * // url: "STRING_VALUE", - * // }, - * // }; - * - * ``` - * - * @param CreateStreamingSessionStreamCommandInput - {@link CreateStreamingSessionStreamCommandInput} - * @returns {@link CreateStreamingSessionStreamCommandOutput} - * @see {@link CreateStreamingSessionStreamCommandInput} for command's `input` shape. - * @see {@link CreateStreamingSessionStreamCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class CreateStreamingSessionStreamCommand extends $Command - .classBuilder< - CreateStreamingSessionStreamCommandInput, - CreateStreamingSessionStreamCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "CreateStreamingSessionStream", {}) - .n("NimbleClient", "CreateStreamingSessionStreamCommand") - .f(void 0, CreateStreamingSessionStreamResponseFilterSensitiveLog) - .ser(se_CreateStreamingSessionStreamCommand) - .de(de_CreateStreamingSessionStreamCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: CreateStreamingSessionStreamRequest; - output: CreateStreamingSessionStreamResponse; - }; - sdk: { - input: CreateStreamingSessionStreamCommandInput; - output: CreateStreamingSessionStreamCommandOutput; - }; - }; -} diff --git a/clients/client-nimble/src/commands/CreateStudioCommand.ts b/clients/client-nimble/src/commands/CreateStudioCommand.ts deleted file mode 100644 index 1524b60dbf1d..000000000000 --- a/clients/client-nimble/src/commands/CreateStudioCommand.ts +++ /dev/null @@ -1,173 +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 { - CreateStudioRequest, - CreateStudioRequestFilterSensitiveLog, - CreateStudioResponse, - CreateStudioResponseFilterSensitiveLog, -} from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -import { de_CreateStudioCommand, se_CreateStudioCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link CreateStudioCommand}. - */ -export interface CreateStudioCommandInput extends CreateStudioRequest {} -/** - * @public - * - * The output of {@link CreateStudioCommand}. - */ -export interface CreateStudioCommandOutput extends CreateStudioResponse, __MetadataBearer {} - -/** - *

Create a new studio.

- *

When creating a studio, two IAM roles must be provided: the admin role - * and the user role. These roles are assumed by your users when they log in to the Nimble Studio portal.

- *

The user role must have the AmazonNimbleStudio-StudioUser managed policy - * attached for the portal to function properly.

- *

The admin role must have the AmazonNimbleStudio-StudioAdmin managed - * policy attached for the portal to function properly.

- *

You may optionally specify a KMS key in the - * StudioEncryptionConfiguration.

- *

In Nimble Studio, resource names, descriptions, initialization scripts, and other - * data you provide are always encrypted at rest using an KMS key. By default, this key is - * owned by Amazon Web Services and managed on your behalf. You may provide your own KMS key - * when calling CreateStudio to encrypt this data using a key you own and - * manage.

- *

When providing an KMS key during studio creation, Nimble Studio creates KMS - * grants in your account to provide your studio user and admin roles access to these KMS - * keys.

- *

If you delete this grant, the studio will no longer be accessible to your portal - * users.

- *

If you delete the studio KMS key, your studio will no longer be accessible.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, CreateStudioCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, CreateStudioCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // CreateStudioRequest - * adminRoleArn: "STRING_VALUE", // required - * clientToken: "STRING_VALUE", - * displayName: "STRING_VALUE", // required - * studioEncryptionConfiguration: { // StudioEncryptionConfiguration - * keyArn: "STRING_VALUE", - * keyType: "AWS_OWNED_KEY" || "CUSTOMER_MANAGED_KEY", // required - * }, - * studioName: "STRING_VALUE", // required - * tags: { // Tags - * "": "STRING_VALUE", - * }, - * userRoleArn: "STRING_VALUE", // required - * }; - * const command = new CreateStudioCommand(input); - * const response = await client.send(command); - * // { // CreateStudioResponse - * // studio: { // Studio - * // adminRoleArn: "STRING_VALUE", - * // arn: "STRING_VALUE", - * // createdAt: new Date("TIMESTAMP"), - * // displayName: "STRING_VALUE", - * // homeRegion: "STRING_VALUE", - * // ssoClientId: "STRING_VALUE", - * // state: "CREATE_IN_PROGRESS" || "READY" || "UPDATE_IN_PROGRESS" || "DELETE_IN_PROGRESS" || "DELETED" || "DELETE_FAILED" || "CREATE_FAILED" || "UPDATE_FAILED", - * // statusCode: "STUDIO_CREATED" || "STUDIO_DELETED" || "STUDIO_UPDATED" || "STUDIO_CREATE_IN_PROGRESS" || "STUDIO_UPDATE_IN_PROGRESS" || "STUDIO_DELETE_IN_PROGRESS" || "STUDIO_WITH_LAUNCH_PROFILES_NOT_DELETED" || "STUDIO_WITH_STUDIO_COMPONENTS_NOT_DELETED" || "STUDIO_WITH_STREAMING_IMAGES_NOT_DELETED" || "AWS_SSO_NOT_ENABLED" || "AWS_SSO_ACCESS_DENIED" || "ROLE_NOT_OWNED_BY_STUDIO_OWNER" || "ROLE_COULD_NOT_BE_ASSUMED" || "INTERNAL_ERROR" || "ENCRYPTION_KEY_NOT_FOUND" || "ENCRYPTION_KEY_ACCESS_DENIED" || "AWS_SSO_CONFIGURATION_REPAIRED" || "AWS_SSO_CONFIGURATION_REPAIR_IN_PROGRESS" || "AWS_STS_REGION_DISABLED", - * // statusMessage: "STRING_VALUE", - * // studioEncryptionConfiguration: { // StudioEncryptionConfiguration - * // keyArn: "STRING_VALUE", - * // keyType: "AWS_OWNED_KEY" || "CUSTOMER_MANAGED_KEY", // required - * // }, - * // studioId: "STRING_VALUE", - * // studioName: "STRING_VALUE", - * // studioUrl: "STRING_VALUE", - * // tags: { // Tags - * // "": "STRING_VALUE", - * // }, - * // updatedAt: new Date("TIMESTAMP"), - * // userRoleArn: "STRING_VALUE", - * // }, - * // }; - * - * ``` - * - * @param CreateStudioCommandInput - {@link CreateStudioCommandInput} - * @returns {@link CreateStudioCommandOutput} - * @see {@link CreateStudioCommandInput} for command's `input` shape. - * @see {@link CreateStudioCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class CreateStudioCommand extends $Command - .classBuilder< - CreateStudioCommandInput, - CreateStudioCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "CreateStudio", {}) - .n("NimbleClient", "CreateStudioCommand") - .f(CreateStudioRequestFilterSensitiveLog, CreateStudioResponseFilterSensitiveLog) - .ser(se_CreateStudioCommand) - .de(de_CreateStudioCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: CreateStudioRequest; - output: CreateStudioResponse; - }; - sdk: { - input: CreateStudioCommandInput; - output: CreateStudioCommandOutput; - }; - }; -} diff --git a/clients/client-nimble/src/commands/CreateStudioComponentCommand.ts b/clients/client-nimble/src/commands/CreateStudioComponentCommand.ts deleted file mode 100644 index b2f89fd98d9a..000000000000 --- a/clients/client-nimble/src/commands/CreateStudioComponentCommand.ts +++ /dev/null @@ -1,236 +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 { - CreateStudioComponentRequest, - CreateStudioComponentRequestFilterSensitiveLog, - CreateStudioComponentResponse, - CreateStudioComponentResponseFilterSensitiveLog, -} from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -import { de_CreateStudioComponentCommand, se_CreateStudioComponentCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link CreateStudioComponentCommand}. - */ -export interface CreateStudioComponentCommandInput extends CreateStudioComponentRequest {} -/** - * @public - * - * The output of {@link CreateStudioComponentCommand}. - */ -export interface CreateStudioComponentCommandOutput extends CreateStudioComponentResponse, __MetadataBearer {} - -/** - *

Creates a studio component resource.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, CreateStudioComponentCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, CreateStudioComponentCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // CreateStudioComponentRequest - * clientToken: "STRING_VALUE", - * configuration: { // StudioComponentConfiguration - * activeDirectoryConfiguration: { // ActiveDirectoryConfiguration - * computerAttributes: [ // ActiveDirectoryComputerAttributeList - * { // ActiveDirectoryComputerAttribute - * name: "STRING_VALUE", - * value: "STRING_VALUE", - * }, - * ], - * directoryId: "STRING_VALUE", - * organizationalUnitDistinguishedName: "STRING_VALUE", - * }, - * computeFarmConfiguration: { // ComputeFarmConfiguration - * activeDirectoryUser: "STRING_VALUE", - * endpoint: "STRING_VALUE", - * }, - * licenseServiceConfiguration: { // LicenseServiceConfiguration - * endpoint: "STRING_VALUE", - * }, - * sharedFileSystemConfiguration: { // SharedFileSystemConfiguration - * endpoint: "STRING_VALUE", - * fileSystemId: "STRING_VALUE", - * linuxMountPoint: "STRING_VALUE", - * shareName: "STRING_VALUE", - * windowsMountDrive: "STRING_VALUE", - * }, - * }, - * description: "STRING_VALUE", - * ec2SecurityGroupIds: [ // StudioComponentSecurityGroupIdList - * "STRING_VALUE", - * ], - * initializationScripts: [ // StudioComponentInitializationScriptList - * { // StudioComponentInitializationScript - * launchProfileProtocolVersion: "STRING_VALUE", - * platform: "LINUX" || "WINDOWS", - * runContext: "SYSTEM_INITIALIZATION" || "USER_INITIALIZATION", - * script: "STRING_VALUE", - * }, - * ], - * name: "STRING_VALUE", // required - * scriptParameters: [ // StudioComponentScriptParameterKeyValueList - * { // ScriptParameterKeyValue - * key: "STRING_VALUE", - * value: "STRING_VALUE", - * }, - * ], - * studioId: "STRING_VALUE", // required - * subtype: "AWS_MANAGED_MICROSOFT_AD" || "AMAZON_FSX_FOR_WINDOWS" || "AMAZON_FSX_FOR_LUSTRE" || "CUSTOM", - * tags: { // Tags - * "": "STRING_VALUE", - * }, - * type: "ACTIVE_DIRECTORY" || "SHARED_FILE_SYSTEM" || "COMPUTE_FARM" || "LICENSE_SERVICE" || "CUSTOM", // required - * secureInitializationRoleArn: "STRING_VALUE", - * runtimeRoleArn: "STRING_VALUE", - * }; - * const command = new CreateStudioComponentCommand(input); - * const response = await client.send(command); - * // { // CreateStudioComponentResponse - * // studioComponent: { // StudioComponent - * // arn: "STRING_VALUE", - * // configuration: { // StudioComponentConfiguration - * // activeDirectoryConfiguration: { // ActiveDirectoryConfiguration - * // computerAttributes: [ // ActiveDirectoryComputerAttributeList - * // { // ActiveDirectoryComputerAttribute - * // name: "STRING_VALUE", - * // value: "STRING_VALUE", - * // }, - * // ], - * // directoryId: "STRING_VALUE", - * // organizationalUnitDistinguishedName: "STRING_VALUE", - * // }, - * // computeFarmConfiguration: { // ComputeFarmConfiguration - * // activeDirectoryUser: "STRING_VALUE", - * // endpoint: "STRING_VALUE", - * // }, - * // licenseServiceConfiguration: { // LicenseServiceConfiguration - * // endpoint: "STRING_VALUE", - * // }, - * // sharedFileSystemConfiguration: { // SharedFileSystemConfiguration - * // endpoint: "STRING_VALUE", - * // fileSystemId: "STRING_VALUE", - * // linuxMountPoint: "STRING_VALUE", - * // shareName: "STRING_VALUE", - * // windowsMountDrive: "STRING_VALUE", - * // }, - * // }, - * // createdAt: new Date("TIMESTAMP"), - * // createdBy: "STRING_VALUE", - * // description: "STRING_VALUE", - * // ec2SecurityGroupIds: [ // StudioComponentSecurityGroupIdList - * // "STRING_VALUE", - * // ], - * // initializationScripts: [ // StudioComponentInitializationScriptList - * // { // StudioComponentInitializationScript - * // launchProfileProtocolVersion: "STRING_VALUE", - * // platform: "LINUX" || "WINDOWS", - * // runContext: "SYSTEM_INITIALIZATION" || "USER_INITIALIZATION", - * // script: "STRING_VALUE", - * // }, - * // ], - * // name: "STRING_VALUE", - * // scriptParameters: [ // StudioComponentScriptParameterKeyValueList - * // { // ScriptParameterKeyValue - * // key: "STRING_VALUE", - * // value: "STRING_VALUE", - * // }, - * // ], - * // state: "CREATE_IN_PROGRESS" || "READY" || "UPDATE_IN_PROGRESS" || "DELETE_IN_PROGRESS" || "DELETED" || "DELETE_FAILED" || "CREATE_FAILED" || "UPDATE_FAILED", - * // statusCode: "ACTIVE_DIRECTORY_ALREADY_EXISTS" || "STUDIO_COMPONENT_CREATED" || "STUDIO_COMPONENT_UPDATED" || "STUDIO_COMPONENT_DELETED" || "ENCRYPTION_KEY_ACCESS_DENIED" || "ENCRYPTION_KEY_NOT_FOUND" || "STUDIO_COMPONENT_CREATE_IN_PROGRESS" || "STUDIO_COMPONENT_UPDATE_IN_PROGRESS" || "STUDIO_COMPONENT_DELETE_IN_PROGRESS" || "INTERNAL_ERROR", - * // statusMessage: "STRING_VALUE", - * // studioComponentId: "STRING_VALUE", - * // subtype: "AWS_MANAGED_MICROSOFT_AD" || "AMAZON_FSX_FOR_WINDOWS" || "AMAZON_FSX_FOR_LUSTRE" || "CUSTOM", - * // tags: { // Tags - * // "": "STRING_VALUE", - * // }, - * // type: "ACTIVE_DIRECTORY" || "SHARED_FILE_SYSTEM" || "COMPUTE_FARM" || "LICENSE_SERVICE" || "CUSTOM", - * // updatedAt: new Date("TIMESTAMP"), - * // updatedBy: "STRING_VALUE", - * // secureInitializationRoleArn: "STRING_VALUE", - * // runtimeRoleArn: "STRING_VALUE", - * // }, - * // }; - * - * ``` - * - * @param CreateStudioComponentCommandInput - {@link CreateStudioComponentCommandInput} - * @returns {@link CreateStudioComponentCommandOutput} - * @see {@link CreateStudioComponentCommandInput} for command's `input` shape. - * @see {@link CreateStudioComponentCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class CreateStudioComponentCommand extends $Command - .classBuilder< - CreateStudioComponentCommandInput, - CreateStudioComponentCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "CreateStudioComponent", {}) - .n("NimbleClient", "CreateStudioComponentCommand") - .f(CreateStudioComponentRequestFilterSensitiveLog, CreateStudioComponentResponseFilterSensitiveLog) - .ser(se_CreateStudioComponentCommand) - .de(de_CreateStudioComponentCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: CreateStudioComponentRequest; - output: CreateStudioComponentResponse; - }; - sdk: { - input: CreateStudioComponentCommandInput; - output: CreateStudioComponentCommandOutput; - }; - }; -} diff --git a/clients/client-nimble/src/commands/DeleteLaunchProfileCommand.ts b/clients/client-nimble/src/commands/DeleteLaunchProfileCommand.ts deleted file mode 100644 index 0d5bbf0be1e2..000000000000 --- a/clients/client-nimble/src/commands/DeleteLaunchProfileCommand.ts +++ /dev/null @@ -1,185 +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 { - DeleteLaunchProfileRequest, - DeleteLaunchProfileResponse, - DeleteLaunchProfileResponseFilterSensitiveLog, -} from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -import { de_DeleteLaunchProfileCommand, se_DeleteLaunchProfileCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DeleteLaunchProfileCommand}. - */ -export interface DeleteLaunchProfileCommandInput extends DeleteLaunchProfileRequest {} -/** - * @public - * - * The output of {@link DeleteLaunchProfileCommand}. - */ -export interface DeleteLaunchProfileCommandOutput extends DeleteLaunchProfileResponse, __MetadataBearer {} - -/** - *

Permanently delete a launch profile.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, DeleteLaunchProfileCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, DeleteLaunchProfileCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // DeleteLaunchProfileRequest - * clientToken: "STRING_VALUE", - * launchProfileId: "STRING_VALUE", // required - * studioId: "STRING_VALUE", // required - * }; - * const command = new DeleteLaunchProfileCommand(input); - * const response = await client.send(command); - * // { // DeleteLaunchProfileResponse - * // launchProfile: { // LaunchProfile - * // arn: "STRING_VALUE", - * // createdAt: new Date("TIMESTAMP"), - * // createdBy: "STRING_VALUE", - * // description: "STRING_VALUE", - * // ec2SubnetIds: [ // EC2SubnetIdList - * // "STRING_VALUE", - * // ], - * // launchProfileId: "STRING_VALUE", - * // launchProfileProtocolVersions: [ // LaunchProfileProtocolVersionList - * // "STRING_VALUE", - * // ], - * // name: "STRING_VALUE", - * // state: "CREATE_IN_PROGRESS" || "READY" || "UPDATE_IN_PROGRESS" || "DELETE_IN_PROGRESS" || "DELETED" || "DELETE_FAILED" || "CREATE_FAILED" || "UPDATE_FAILED", - * // statusCode: "LAUNCH_PROFILE_CREATED" || "LAUNCH_PROFILE_UPDATED" || "LAUNCH_PROFILE_DELETED" || "LAUNCH_PROFILE_CREATE_IN_PROGRESS" || "LAUNCH_PROFILE_UPDATE_IN_PROGRESS" || "LAUNCH_PROFILE_DELETE_IN_PROGRESS" || "INTERNAL_ERROR" || "STREAMING_IMAGE_NOT_FOUND" || "STREAMING_IMAGE_NOT_READY" || "LAUNCH_PROFILE_WITH_STREAM_SESSIONS_NOT_DELETED" || "ENCRYPTION_KEY_ACCESS_DENIED" || "ENCRYPTION_KEY_NOT_FOUND" || "INVALID_SUBNETS_PROVIDED" || "INVALID_INSTANCE_TYPES_PROVIDED" || "INVALID_SUBNETS_COMBINATION", - * // statusMessage: "STRING_VALUE", - * // streamConfiguration: { // StreamConfiguration - * // clipboardMode: "ENABLED" || "DISABLED", // required - * // ec2InstanceTypes: [ // StreamingInstanceTypeList // required - * // "g4dn.xlarge" || "g4dn.2xlarge" || "g4dn.4xlarge" || "g4dn.8xlarge" || "g4dn.12xlarge" || "g4dn.16xlarge" || "g3.4xlarge" || "g3s.xlarge" || "g5.xlarge" || "g5.2xlarge" || "g5.4xlarge" || "g5.8xlarge" || "g5.16xlarge", - * // ], - * // maxSessionLengthInMinutes: Number("int"), - * // streamingImageIds: [ // StreamingImageIdList // required - * // "STRING_VALUE", - * // ], - * // maxStoppedSessionLengthInMinutes: Number("int"), - * // sessionStorage: { // StreamConfigurationSessionStorage - * // root: { // StreamingSessionStorageRoot - * // linux: "STRING_VALUE", - * // windows: "STRING_VALUE", - * // }, - * // mode: [ // StreamingSessionStorageModeList // required - * // "UPLOAD", - * // ], - * // }, - * // sessionBackup: { // StreamConfigurationSessionBackup - * // mode: "AUTOMATIC" || "DEACTIVATED", - * // maxBackupsToRetain: Number("int"), - * // }, - * // sessionPersistenceMode: "DEACTIVATED" || "ACTIVATED", - * // volumeConfiguration: { // VolumeConfiguration - * // size: Number("int"), - * // throughput: Number("int"), - * // iops: Number("int"), - * // }, - * // automaticTerminationMode: "DEACTIVATED" || "ACTIVATED", - * // }, - * // studioComponentIds: [ // LaunchProfileStudioComponentIdList - * // "STRING_VALUE", - * // ], - * // tags: { // Tags - * // "": "STRING_VALUE", - * // }, - * // updatedAt: new Date("TIMESTAMP"), - * // updatedBy: "STRING_VALUE", - * // validationResults: [ // ValidationResults - * // { // ValidationResult - * // type: "VALIDATE_ACTIVE_DIRECTORY_STUDIO_COMPONENT" || "VALIDATE_SUBNET_ASSOCIATION" || "VALIDATE_NETWORK_ACL_ASSOCIATION" || "VALIDATE_SECURITY_GROUP_ASSOCIATION", // required - * // state: "VALIDATION_NOT_STARTED" || "VALIDATION_IN_PROGRESS" || "VALIDATION_SUCCESS" || "VALIDATION_FAILED" || "VALIDATION_FAILED_INTERNAL_SERVER_ERROR", // required - * // statusCode: "VALIDATION_NOT_STARTED" || "VALIDATION_IN_PROGRESS" || "VALIDATION_SUCCESS" || "VALIDATION_FAILED_INVALID_SUBNET_ROUTE_TABLE_ASSOCIATION" || "VALIDATION_FAILED_SUBNET_NOT_FOUND" || "VALIDATION_FAILED_INVALID_SECURITY_GROUP_ASSOCIATION" || "VALIDATION_FAILED_INVALID_ACTIVE_DIRECTORY" || "VALIDATION_FAILED_UNAUTHORIZED" || "VALIDATION_FAILED_INTERNAL_SERVER_ERROR", // required - * // statusMessage: "STRING_VALUE", // required - * // }, - * // ], - * // }, - * // }; - * - * ``` - * - * @param DeleteLaunchProfileCommandInput - {@link DeleteLaunchProfileCommandInput} - * @returns {@link DeleteLaunchProfileCommandOutput} - * @see {@link DeleteLaunchProfileCommandInput} for command's `input` shape. - * @see {@link DeleteLaunchProfileCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class DeleteLaunchProfileCommand extends $Command - .classBuilder< - DeleteLaunchProfileCommandInput, - DeleteLaunchProfileCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "DeleteLaunchProfile", {}) - .n("NimbleClient", "DeleteLaunchProfileCommand") - .f(void 0, DeleteLaunchProfileResponseFilterSensitiveLog) - .ser(se_DeleteLaunchProfileCommand) - .de(de_DeleteLaunchProfileCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: DeleteLaunchProfileRequest; - output: DeleteLaunchProfileResponse; - }; - sdk: { - input: DeleteLaunchProfileCommandInput; - output: DeleteLaunchProfileCommandOutput; - }; - }; -} diff --git a/clients/client-nimble/src/commands/DeleteLaunchProfileMemberCommand.ts b/clients/client-nimble/src/commands/DeleteLaunchProfileMemberCommand.ts deleted file mode 100644 index 0cd2637fc518..000000000000 --- a/clients/client-nimble/src/commands/DeleteLaunchProfileMemberCommand.ts +++ /dev/null @@ -1,117 +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 { DeleteLaunchProfileMemberRequest, DeleteLaunchProfileMemberResponse } from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -import { de_DeleteLaunchProfileMemberCommand, se_DeleteLaunchProfileMemberCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DeleteLaunchProfileMemberCommand}. - */ -export interface DeleteLaunchProfileMemberCommandInput extends DeleteLaunchProfileMemberRequest {} -/** - * @public - * - * The output of {@link DeleteLaunchProfileMemberCommand}. - */ -export interface DeleteLaunchProfileMemberCommandOutput extends DeleteLaunchProfileMemberResponse, __MetadataBearer {} - -/** - *

Delete a user from launch profile membership.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, DeleteLaunchProfileMemberCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, DeleteLaunchProfileMemberCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // DeleteLaunchProfileMemberRequest - * clientToken: "STRING_VALUE", - * launchProfileId: "STRING_VALUE", // required - * principalId: "STRING_VALUE", // required - * studioId: "STRING_VALUE", // required - * }; - * const command = new DeleteLaunchProfileMemberCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param DeleteLaunchProfileMemberCommandInput - {@link DeleteLaunchProfileMemberCommandInput} - * @returns {@link DeleteLaunchProfileMemberCommandOutput} - * @see {@link DeleteLaunchProfileMemberCommandInput} for command's `input` shape. - * @see {@link DeleteLaunchProfileMemberCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class DeleteLaunchProfileMemberCommand extends $Command - .classBuilder< - DeleteLaunchProfileMemberCommandInput, - DeleteLaunchProfileMemberCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "DeleteLaunchProfileMember", {}) - .n("NimbleClient", "DeleteLaunchProfileMemberCommand") - .f(void 0, void 0) - .ser(se_DeleteLaunchProfileMemberCommand) - .de(de_DeleteLaunchProfileMemberCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: DeleteLaunchProfileMemberRequest; - output: {}; - }; - sdk: { - input: DeleteLaunchProfileMemberCommandInput; - output: DeleteLaunchProfileMemberCommandOutput; - }; - }; -} diff --git a/clients/client-nimble/src/commands/DeleteStreamingImageCommand.ts b/clients/client-nimble/src/commands/DeleteStreamingImageCommand.ts deleted file mode 100644 index 51ccf7cf4da1..000000000000 --- a/clients/client-nimble/src/commands/DeleteStreamingImageCommand.ts +++ /dev/null @@ -1,143 +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 { - DeleteStreamingImageRequest, - DeleteStreamingImageResponse, - DeleteStreamingImageResponseFilterSensitiveLog, -} from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -import { de_DeleteStreamingImageCommand, se_DeleteStreamingImageCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DeleteStreamingImageCommand}. - */ -export interface DeleteStreamingImageCommandInput extends DeleteStreamingImageRequest {} -/** - * @public - * - * The output of {@link DeleteStreamingImageCommand}. - */ -export interface DeleteStreamingImageCommandOutput extends DeleteStreamingImageResponse, __MetadataBearer {} - -/** - *

Delete streaming image.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, DeleteStreamingImageCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, DeleteStreamingImageCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // DeleteStreamingImageRequest - * clientToken: "STRING_VALUE", - * streamingImageId: "STRING_VALUE", // required - * studioId: "STRING_VALUE", // required - * }; - * const command = new DeleteStreamingImageCommand(input); - * const response = await client.send(command); - * // { // DeleteStreamingImageResponse - * // streamingImage: { // StreamingImage - * // arn: "STRING_VALUE", - * // description: "STRING_VALUE", - * // ec2ImageId: "STRING_VALUE", - * // encryptionConfiguration: { // StreamingImageEncryptionConfiguration - * // keyArn: "STRING_VALUE", - * // keyType: "CUSTOMER_MANAGED_KEY", // required - * // }, - * // eulaIds: [ // EulaIdList - * // "STRING_VALUE", - * // ], - * // name: "STRING_VALUE", - * // owner: "STRING_VALUE", - * // platform: "STRING_VALUE", - * // state: "CREATE_IN_PROGRESS" || "READY" || "DELETE_IN_PROGRESS" || "DELETED" || "UPDATE_IN_PROGRESS" || "UPDATE_FAILED" || "CREATE_FAILED" || "DELETE_FAILED", - * // statusCode: "STREAMING_IMAGE_CREATE_IN_PROGRESS" || "STREAMING_IMAGE_READY" || "STREAMING_IMAGE_DELETE_IN_PROGRESS" || "STREAMING_IMAGE_DELETED" || "STREAMING_IMAGE_UPDATE_IN_PROGRESS" || "INTERNAL_ERROR" || "ACCESS_DENIED", - * // statusMessage: "STRING_VALUE", - * // streamingImageId: "STRING_VALUE", - * // tags: { // Tags - * // "": "STRING_VALUE", - * // }, - * // }, - * // }; - * - * ``` - * - * @param DeleteStreamingImageCommandInput - {@link DeleteStreamingImageCommandInput} - * @returns {@link DeleteStreamingImageCommandOutput} - * @see {@link DeleteStreamingImageCommandInput} for command's `input` shape. - * @see {@link DeleteStreamingImageCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class DeleteStreamingImageCommand extends $Command - .classBuilder< - DeleteStreamingImageCommandInput, - DeleteStreamingImageCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "DeleteStreamingImage", {}) - .n("NimbleClient", "DeleteStreamingImageCommand") - .f(void 0, DeleteStreamingImageResponseFilterSensitiveLog) - .ser(se_DeleteStreamingImageCommand) - .de(de_DeleteStreamingImageCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: DeleteStreamingImageRequest; - output: DeleteStreamingImageResponse; - }; - sdk: { - input: DeleteStreamingImageCommandInput; - output: DeleteStreamingImageCommandOutput; - }; - }; -} diff --git a/clients/client-nimble/src/commands/DeleteStreamingSessionCommand.ts b/clients/client-nimble/src/commands/DeleteStreamingSessionCommand.ts deleted file mode 100644 index a1600e327a01..000000000000 --- a/clients/client-nimble/src/commands/DeleteStreamingSessionCommand.ts +++ /dev/null @@ -1,156 +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 { DeleteStreamingSessionRequest, DeleteStreamingSessionResponse } from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -import { de_DeleteStreamingSessionCommand, se_DeleteStreamingSessionCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DeleteStreamingSessionCommand}. - */ -export interface DeleteStreamingSessionCommandInput extends DeleteStreamingSessionRequest {} -/** - * @public - * - * The output of {@link DeleteStreamingSessionCommand}. - */ -export interface DeleteStreamingSessionCommandOutput extends DeleteStreamingSessionResponse, __MetadataBearer {} - -/** - *

Deletes streaming session resource.

- *

After invoking this operation, use GetStreamingSession to poll the resource until it - * transitions to a DELETED state.

- *

A streaming session will count against your streaming session quota until it is marked - * DELETED.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, DeleteStreamingSessionCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, DeleteStreamingSessionCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // DeleteStreamingSessionRequest - * clientToken: "STRING_VALUE", - * sessionId: "STRING_VALUE", // required - * studioId: "STRING_VALUE", // required - * }; - * const command = new DeleteStreamingSessionCommand(input); - * const response = await client.send(command); - * // { // DeleteStreamingSessionResponse - * // session: { // StreamingSession - * // arn: "STRING_VALUE", - * // createdAt: new Date("TIMESTAMP"), - * // createdBy: "STRING_VALUE", - * // ec2InstanceType: "STRING_VALUE", - * // launchProfileId: "STRING_VALUE", - * // ownedBy: "STRING_VALUE", - * // sessionId: "STRING_VALUE", - * // state: "CREATE_IN_PROGRESS" || "DELETE_IN_PROGRESS" || "READY" || "DELETED" || "CREATE_FAILED" || "DELETE_FAILED" || "STOP_IN_PROGRESS" || "START_IN_PROGRESS" || "STOPPED" || "STOP_FAILED" || "START_FAILED", - * // statusCode: "STREAMING_SESSION_READY" || "STREAMING_SESSION_DELETED" || "STREAMING_SESSION_CREATE_IN_PROGRESS" || "STREAMING_SESSION_DELETE_IN_PROGRESS" || "INTERNAL_ERROR" || "INSUFFICIENT_CAPACITY" || "ACTIVE_DIRECTORY_DOMAIN_JOIN_ERROR" || "NETWORK_CONNECTION_ERROR" || "INITIALIZATION_SCRIPT_ERROR" || "DECRYPT_STREAMING_IMAGE_ERROR" || "NETWORK_INTERFACE_ERROR" || "STREAMING_SESSION_STOPPED" || "STREAMING_SESSION_STARTED" || "STREAMING_SESSION_STOP_IN_PROGRESS" || "STREAMING_SESSION_START_IN_PROGRESS" || "AMI_VALIDATION_ERROR", - * // statusMessage: "STRING_VALUE", - * // streamingImageId: "STRING_VALUE", - * // tags: { // Tags - * // "": "STRING_VALUE", - * // }, - * // terminateAt: new Date("TIMESTAMP"), - * // updatedAt: new Date("TIMESTAMP"), - * // updatedBy: "STRING_VALUE", - * // stoppedAt: new Date("TIMESTAMP"), - * // stoppedBy: "STRING_VALUE", - * // startedAt: new Date("TIMESTAMP"), - * // startedBy: "STRING_VALUE", - * // stopAt: new Date("TIMESTAMP"), - * // startedFromBackupId: "STRING_VALUE", - * // backupMode: "AUTOMATIC" || "DEACTIVATED", - * // maxBackupsToRetain: Number("int"), - * // volumeRetentionMode: "RETAIN" || "DELETE", - * // sessionPersistenceMode: "DEACTIVATED" || "ACTIVATED", - * // volumeConfiguration: { // VolumeConfiguration - * // size: Number("int"), - * // throughput: Number("int"), - * // iops: Number("int"), - * // }, - * // automaticTerminationMode: "DEACTIVATED" || "ACTIVATED", - * // }, - * // }; - * - * ``` - * - * @param DeleteStreamingSessionCommandInput - {@link DeleteStreamingSessionCommandInput} - * @returns {@link DeleteStreamingSessionCommandOutput} - * @see {@link DeleteStreamingSessionCommandInput} for command's `input` shape. - * @see {@link DeleteStreamingSessionCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class DeleteStreamingSessionCommand extends $Command - .classBuilder< - DeleteStreamingSessionCommandInput, - DeleteStreamingSessionCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "DeleteStreamingSession", {}) - .n("NimbleClient", "DeleteStreamingSessionCommand") - .f(void 0, void 0) - .ser(se_DeleteStreamingSessionCommand) - .de(de_DeleteStreamingSessionCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: DeleteStreamingSessionRequest; - output: DeleteStreamingSessionResponse; - }; - sdk: { - input: DeleteStreamingSessionCommandInput; - output: DeleteStreamingSessionCommandOutput; - }; - }; -} diff --git a/clients/client-nimble/src/commands/DeleteStudioCommand.ts b/clients/client-nimble/src/commands/DeleteStudioCommand.ts deleted file mode 100644 index 670a8cac0241..000000000000 --- a/clients/client-nimble/src/commands/DeleteStudioCommand.ts +++ /dev/null @@ -1,139 +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 { DeleteStudioRequest, DeleteStudioResponse, DeleteStudioResponseFilterSensitiveLog } from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -import { de_DeleteStudioCommand, se_DeleteStudioCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DeleteStudioCommand}. - */ -export interface DeleteStudioCommandInput extends DeleteStudioRequest {} -/** - * @public - * - * The output of {@link DeleteStudioCommand}. - */ -export interface DeleteStudioCommandOutput extends DeleteStudioResponse, __MetadataBearer {} - -/** - *

Delete a studio resource.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, DeleteStudioCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, DeleteStudioCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // DeleteStudioRequest - * clientToken: "STRING_VALUE", - * studioId: "STRING_VALUE", // required - * }; - * const command = new DeleteStudioCommand(input); - * const response = await client.send(command); - * // { // DeleteStudioResponse - * // studio: { // Studio - * // adminRoleArn: "STRING_VALUE", - * // arn: "STRING_VALUE", - * // createdAt: new Date("TIMESTAMP"), - * // displayName: "STRING_VALUE", - * // homeRegion: "STRING_VALUE", - * // ssoClientId: "STRING_VALUE", - * // state: "CREATE_IN_PROGRESS" || "READY" || "UPDATE_IN_PROGRESS" || "DELETE_IN_PROGRESS" || "DELETED" || "DELETE_FAILED" || "CREATE_FAILED" || "UPDATE_FAILED", - * // statusCode: "STUDIO_CREATED" || "STUDIO_DELETED" || "STUDIO_UPDATED" || "STUDIO_CREATE_IN_PROGRESS" || "STUDIO_UPDATE_IN_PROGRESS" || "STUDIO_DELETE_IN_PROGRESS" || "STUDIO_WITH_LAUNCH_PROFILES_NOT_DELETED" || "STUDIO_WITH_STUDIO_COMPONENTS_NOT_DELETED" || "STUDIO_WITH_STREAMING_IMAGES_NOT_DELETED" || "AWS_SSO_NOT_ENABLED" || "AWS_SSO_ACCESS_DENIED" || "ROLE_NOT_OWNED_BY_STUDIO_OWNER" || "ROLE_COULD_NOT_BE_ASSUMED" || "INTERNAL_ERROR" || "ENCRYPTION_KEY_NOT_FOUND" || "ENCRYPTION_KEY_ACCESS_DENIED" || "AWS_SSO_CONFIGURATION_REPAIRED" || "AWS_SSO_CONFIGURATION_REPAIR_IN_PROGRESS" || "AWS_STS_REGION_DISABLED", - * // statusMessage: "STRING_VALUE", - * // studioEncryptionConfiguration: { // StudioEncryptionConfiguration - * // keyArn: "STRING_VALUE", - * // keyType: "AWS_OWNED_KEY" || "CUSTOMER_MANAGED_KEY", // required - * // }, - * // studioId: "STRING_VALUE", - * // studioName: "STRING_VALUE", - * // studioUrl: "STRING_VALUE", - * // tags: { // Tags - * // "": "STRING_VALUE", - * // }, - * // updatedAt: new Date("TIMESTAMP"), - * // userRoleArn: "STRING_VALUE", - * // }, - * // }; - * - * ``` - * - * @param DeleteStudioCommandInput - {@link DeleteStudioCommandInput} - * @returns {@link DeleteStudioCommandOutput} - * @see {@link DeleteStudioCommandInput} for command's `input` shape. - * @see {@link DeleteStudioCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class DeleteStudioCommand extends $Command - .classBuilder< - DeleteStudioCommandInput, - DeleteStudioCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "DeleteStudio", {}) - .n("NimbleClient", "DeleteStudioCommand") - .f(void 0, DeleteStudioResponseFilterSensitiveLog) - .ser(se_DeleteStudioCommand) - .de(de_DeleteStudioCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: DeleteStudioRequest; - output: DeleteStudioResponse; - }; - sdk: { - input: DeleteStudioCommandInput; - output: DeleteStudioCommandOutput; - }; - }; -} diff --git a/clients/client-nimble/src/commands/DeleteStudioComponentCommand.ts b/clients/client-nimble/src/commands/DeleteStudioComponentCommand.ts deleted file mode 100644 index 965c48f18bb1..000000000000 --- a/clients/client-nimble/src/commands/DeleteStudioComponentCommand.ts +++ /dev/null @@ -1,184 +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 { - DeleteStudioComponentRequest, - DeleteStudioComponentResponse, - DeleteStudioComponentResponseFilterSensitiveLog, -} from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -import { de_DeleteStudioComponentCommand, se_DeleteStudioComponentCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DeleteStudioComponentCommand}. - */ -export interface DeleteStudioComponentCommandInput extends DeleteStudioComponentRequest {} -/** - * @public - * - * The output of {@link DeleteStudioComponentCommand}. - */ -export interface DeleteStudioComponentCommandOutput extends DeleteStudioComponentResponse, __MetadataBearer {} - -/** - *

Deletes a studio component resource.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, DeleteStudioComponentCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, DeleteStudioComponentCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // DeleteStudioComponentRequest - * clientToken: "STRING_VALUE", - * studioComponentId: "STRING_VALUE", // required - * studioId: "STRING_VALUE", // required - * }; - * const command = new DeleteStudioComponentCommand(input); - * const response = await client.send(command); - * // { // DeleteStudioComponentResponse - * // studioComponent: { // StudioComponent - * // arn: "STRING_VALUE", - * // configuration: { // StudioComponentConfiguration - * // activeDirectoryConfiguration: { // ActiveDirectoryConfiguration - * // computerAttributes: [ // ActiveDirectoryComputerAttributeList - * // { // ActiveDirectoryComputerAttribute - * // name: "STRING_VALUE", - * // value: "STRING_VALUE", - * // }, - * // ], - * // directoryId: "STRING_VALUE", - * // organizationalUnitDistinguishedName: "STRING_VALUE", - * // }, - * // computeFarmConfiguration: { // ComputeFarmConfiguration - * // activeDirectoryUser: "STRING_VALUE", - * // endpoint: "STRING_VALUE", - * // }, - * // licenseServiceConfiguration: { // LicenseServiceConfiguration - * // endpoint: "STRING_VALUE", - * // }, - * // sharedFileSystemConfiguration: { // SharedFileSystemConfiguration - * // endpoint: "STRING_VALUE", - * // fileSystemId: "STRING_VALUE", - * // linuxMountPoint: "STRING_VALUE", - * // shareName: "STRING_VALUE", - * // windowsMountDrive: "STRING_VALUE", - * // }, - * // }, - * // createdAt: new Date("TIMESTAMP"), - * // createdBy: "STRING_VALUE", - * // description: "STRING_VALUE", - * // ec2SecurityGroupIds: [ // StudioComponentSecurityGroupIdList - * // "STRING_VALUE", - * // ], - * // initializationScripts: [ // StudioComponentInitializationScriptList - * // { // StudioComponentInitializationScript - * // launchProfileProtocolVersion: "STRING_VALUE", - * // platform: "LINUX" || "WINDOWS", - * // runContext: "SYSTEM_INITIALIZATION" || "USER_INITIALIZATION", - * // script: "STRING_VALUE", - * // }, - * // ], - * // name: "STRING_VALUE", - * // scriptParameters: [ // StudioComponentScriptParameterKeyValueList - * // { // ScriptParameterKeyValue - * // key: "STRING_VALUE", - * // value: "STRING_VALUE", - * // }, - * // ], - * // state: "CREATE_IN_PROGRESS" || "READY" || "UPDATE_IN_PROGRESS" || "DELETE_IN_PROGRESS" || "DELETED" || "DELETE_FAILED" || "CREATE_FAILED" || "UPDATE_FAILED", - * // statusCode: "ACTIVE_DIRECTORY_ALREADY_EXISTS" || "STUDIO_COMPONENT_CREATED" || "STUDIO_COMPONENT_UPDATED" || "STUDIO_COMPONENT_DELETED" || "ENCRYPTION_KEY_ACCESS_DENIED" || "ENCRYPTION_KEY_NOT_FOUND" || "STUDIO_COMPONENT_CREATE_IN_PROGRESS" || "STUDIO_COMPONENT_UPDATE_IN_PROGRESS" || "STUDIO_COMPONENT_DELETE_IN_PROGRESS" || "INTERNAL_ERROR", - * // statusMessage: "STRING_VALUE", - * // studioComponentId: "STRING_VALUE", - * // subtype: "AWS_MANAGED_MICROSOFT_AD" || "AMAZON_FSX_FOR_WINDOWS" || "AMAZON_FSX_FOR_LUSTRE" || "CUSTOM", - * // tags: { // Tags - * // "": "STRING_VALUE", - * // }, - * // type: "ACTIVE_DIRECTORY" || "SHARED_FILE_SYSTEM" || "COMPUTE_FARM" || "LICENSE_SERVICE" || "CUSTOM", - * // updatedAt: new Date("TIMESTAMP"), - * // updatedBy: "STRING_VALUE", - * // secureInitializationRoleArn: "STRING_VALUE", - * // runtimeRoleArn: "STRING_VALUE", - * // }, - * // }; - * - * ``` - * - * @param DeleteStudioComponentCommandInput - {@link DeleteStudioComponentCommandInput} - * @returns {@link DeleteStudioComponentCommandOutput} - * @see {@link DeleteStudioComponentCommandInput} for command's `input` shape. - * @see {@link DeleteStudioComponentCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class DeleteStudioComponentCommand extends $Command - .classBuilder< - DeleteStudioComponentCommandInput, - DeleteStudioComponentCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "DeleteStudioComponent", {}) - .n("NimbleClient", "DeleteStudioComponentCommand") - .f(void 0, DeleteStudioComponentResponseFilterSensitiveLog) - .ser(se_DeleteStudioComponentCommand) - .de(de_DeleteStudioComponentCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: DeleteStudioComponentRequest; - output: DeleteStudioComponentResponse; - }; - sdk: { - input: DeleteStudioComponentCommandInput; - output: DeleteStudioComponentCommandOutput; - }; - }; -} diff --git a/clients/client-nimble/src/commands/DeleteStudioMemberCommand.ts b/clients/client-nimble/src/commands/DeleteStudioMemberCommand.ts deleted file mode 100644 index 43f137a725d7..000000000000 --- a/clients/client-nimble/src/commands/DeleteStudioMemberCommand.ts +++ /dev/null @@ -1,116 +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 { DeleteStudioMemberRequest, DeleteStudioMemberResponse } from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -import { de_DeleteStudioMemberCommand, se_DeleteStudioMemberCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DeleteStudioMemberCommand}. - */ -export interface DeleteStudioMemberCommandInput extends DeleteStudioMemberRequest {} -/** - * @public - * - * The output of {@link DeleteStudioMemberCommand}. - */ -export interface DeleteStudioMemberCommandOutput extends DeleteStudioMemberResponse, __MetadataBearer {} - -/** - *

Delete a user from studio membership.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, DeleteStudioMemberCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, DeleteStudioMemberCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // DeleteStudioMemberRequest - * clientToken: "STRING_VALUE", - * principalId: "STRING_VALUE", // required - * studioId: "STRING_VALUE", // required - * }; - * const command = new DeleteStudioMemberCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param DeleteStudioMemberCommandInput - {@link DeleteStudioMemberCommandInput} - * @returns {@link DeleteStudioMemberCommandOutput} - * @see {@link DeleteStudioMemberCommandInput} for command's `input` shape. - * @see {@link DeleteStudioMemberCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class DeleteStudioMemberCommand extends $Command - .classBuilder< - DeleteStudioMemberCommandInput, - DeleteStudioMemberCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "DeleteStudioMember", {}) - .n("NimbleClient", "DeleteStudioMemberCommand") - .f(void 0, void 0) - .ser(se_DeleteStudioMemberCommand) - .de(de_DeleteStudioMemberCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: DeleteStudioMemberRequest; - output: {}; - }; - sdk: { - input: DeleteStudioMemberCommandInput; - output: DeleteStudioMemberCommandOutput; - }; - }; -} diff --git a/clients/client-nimble/src/commands/GetEulaCommand.ts b/clients/client-nimble/src/commands/GetEulaCommand.ts deleted file mode 100644 index 2038e0ac3864..000000000000 --- a/clients/client-nimble/src/commands/GetEulaCommand.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 { commonParams } from "../endpoint/EndpointParameters"; -import { GetEulaRequest, GetEulaResponse } from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -import { de_GetEulaCommand, se_GetEulaCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetEulaCommand}. - */ -export interface GetEulaCommandInput extends GetEulaRequest {} -/** - * @public - * - * The output of {@link GetEulaCommand}. - */ -export interface GetEulaCommandOutput extends GetEulaResponse, __MetadataBearer {} - -/** - *

Get EULA.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, GetEulaCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, GetEulaCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // GetEulaRequest - * eulaId: "STRING_VALUE", // required - * }; - * const command = new GetEulaCommand(input); - * const response = await client.send(command); - * // { // GetEulaResponse - * // eula: { // Eula - * // content: "STRING_VALUE", - * // createdAt: new Date("TIMESTAMP"), - * // eulaId: "STRING_VALUE", - * // name: "STRING_VALUE", - * // updatedAt: new Date("TIMESTAMP"), - * // }, - * // }; - * - * ``` - * - * @param GetEulaCommandInput - {@link GetEulaCommandInput} - * @returns {@link GetEulaCommandOutput} - * @see {@link GetEulaCommandInput} for command's `input` shape. - * @see {@link GetEulaCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class GetEulaCommand extends $Command - .classBuilder< - GetEulaCommandInput, - GetEulaCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "GetEula", {}) - .n("NimbleClient", "GetEulaCommand") - .f(void 0, void 0) - .ser(se_GetEulaCommand) - .de(de_GetEulaCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: GetEulaRequest; - output: GetEulaResponse; - }; - sdk: { - input: GetEulaCommandInput; - output: GetEulaCommandOutput; - }; - }; -} diff --git a/clients/client-nimble/src/commands/GetLaunchProfileCommand.ts b/clients/client-nimble/src/commands/GetLaunchProfileCommand.ts deleted file mode 100644 index 10b11b7664ce..000000000000 --- a/clients/client-nimble/src/commands/GetLaunchProfileCommand.ts +++ /dev/null @@ -1,184 +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 { - GetLaunchProfileRequest, - GetLaunchProfileResponse, - GetLaunchProfileResponseFilterSensitiveLog, -} from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -import { de_GetLaunchProfileCommand, se_GetLaunchProfileCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetLaunchProfileCommand}. - */ -export interface GetLaunchProfileCommandInput extends GetLaunchProfileRequest {} -/** - * @public - * - * The output of {@link GetLaunchProfileCommand}. - */ -export interface GetLaunchProfileCommandOutput extends GetLaunchProfileResponse, __MetadataBearer {} - -/** - *

Get a launch profile.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, GetLaunchProfileCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, GetLaunchProfileCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // GetLaunchProfileRequest - * launchProfileId: "STRING_VALUE", // required - * studioId: "STRING_VALUE", // required - * }; - * const command = new GetLaunchProfileCommand(input); - * const response = await client.send(command); - * // { // GetLaunchProfileResponse - * // launchProfile: { // LaunchProfile - * // arn: "STRING_VALUE", - * // createdAt: new Date("TIMESTAMP"), - * // createdBy: "STRING_VALUE", - * // description: "STRING_VALUE", - * // ec2SubnetIds: [ // EC2SubnetIdList - * // "STRING_VALUE", - * // ], - * // launchProfileId: "STRING_VALUE", - * // launchProfileProtocolVersions: [ // LaunchProfileProtocolVersionList - * // "STRING_VALUE", - * // ], - * // name: "STRING_VALUE", - * // state: "CREATE_IN_PROGRESS" || "READY" || "UPDATE_IN_PROGRESS" || "DELETE_IN_PROGRESS" || "DELETED" || "DELETE_FAILED" || "CREATE_FAILED" || "UPDATE_FAILED", - * // statusCode: "LAUNCH_PROFILE_CREATED" || "LAUNCH_PROFILE_UPDATED" || "LAUNCH_PROFILE_DELETED" || "LAUNCH_PROFILE_CREATE_IN_PROGRESS" || "LAUNCH_PROFILE_UPDATE_IN_PROGRESS" || "LAUNCH_PROFILE_DELETE_IN_PROGRESS" || "INTERNAL_ERROR" || "STREAMING_IMAGE_NOT_FOUND" || "STREAMING_IMAGE_NOT_READY" || "LAUNCH_PROFILE_WITH_STREAM_SESSIONS_NOT_DELETED" || "ENCRYPTION_KEY_ACCESS_DENIED" || "ENCRYPTION_KEY_NOT_FOUND" || "INVALID_SUBNETS_PROVIDED" || "INVALID_INSTANCE_TYPES_PROVIDED" || "INVALID_SUBNETS_COMBINATION", - * // statusMessage: "STRING_VALUE", - * // streamConfiguration: { // StreamConfiguration - * // clipboardMode: "ENABLED" || "DISABLED", // required - * // ec2InstanceTypes: [ // StreamingInstanceTypeList // required - * // "g4dn.xlarge" || "g4dn.2xlarge" || "g4dn.4xlarge" || "g4dn.8xlarge" || "g4dn.12xlarge" || "g4dn.16xlarge" || "g3.4xlarge" || "g3s.xlarge" || "g5.xlarge" || "g5.2xlarge" || "g5.4xlarge" || "g5.8xlarge" || "g5.16xlarge", - * // ], - * // maxSessionLengthInMinutes: Number("int"), - * // streamingImageIds: [ // StreamingImageIdList // required - * // "STRING_VALUE", - * // ], - * // maxStoppedSessionLengthInMinutes: Number("int"), - * // sessionStorage: { // StreamConfigurationSessionStorage - * // root: { // StreamingSessionStorageRoot - * // linux: "STRING_VALUE", - * // windows: "STRING_VALUE", - * // }, - * // mode: [ // StreamingSessionStorageModeList // required - * // "UPLOAD", - * // ], - * // }, - * // sessionBackup: { // StreamConfigurationSessionBackup - * // mode: "AUTOMATIC" || "DEACTIVATED", - * // maxBackupsToRetain: Number("int"), - * // }, - * // sessionPersistenceMode: "DEACTIVATED" || "ACTIVATED", - * // volumeConfiguration: { // VolumeConfiguration - * // size: Number("int"), - * // throughput: Number("int"), - * // iops: Number("int"), - * // }, - * // automaticTerminationMode: "DEACTIVATED" || "ACTIVATED", - * // }, - * // studioComponentIds: [ // LaunchProfileStudioComponentIdList - * // "STRING_VALUE", - * // ], - * // tags: { // Tags - * // "": "STRING_VALUE", - * // }, - * // updatedAt: new Date("TIMESTAMP"), - * // updatedBy: "STRING_VALUE", - * // validationResults: [ // ValidationResults - * // { // ValidationResult - * // type: "VALIDATE_ACTIVE_DIRECTORY_STUDIO_COMPONENT" || "VALIDATE_SUBNET_ASSOCIATION" || "VALIDATE_NETWORK_ACL_ASSOCIATION" || "VALIDATE_SECURITY_GROUP_ASSOCIATION", // required - * // state: "VALIDATION_NOT_STARTED" || "VALIDATION_IN_PROGRESS" || "VALIDATION_SUCCESS" || "VALIDATION_FAILED" || "VALIDATION_FAILED_INTERNAL_SERVER_ERROR", // required - * // statusCode: "VALIDATION_NOT_STARTED" || "VALIDATION_IN_PROGRESS" || "VALIDATION_SUCCESS" || "VALIDATION_FAILED_INVALID_SUBNET_ROUTE_TABLE_ASSOCIATION" || "VALIDATION_FAILED_SUBNET_NOT_FOUND" || "VALIDATION_FAILED_INVALID_SECURITY_GROUP_ASSOCIATION" || "VALIDATION_FAILED_INVALID_ACTIVE_DIRECTORY" || "VALIDATION_FAILED_UNAUTHORIZED" || "VALIDATION_FAILED_INTERNAL_SERVER_ERROR", // required - * // statusMessage: "STRING_VALUE", // required - * // }, - * // ], - * // }, - * // }; - * - * ``` - * - * @param GetLaunchProfileCommandInput - {@link GetLaunchProfileCommandInput} - * @returns {@link GetLaunchProfileCommandOutput} - * @see {@link GetLaunchProfileCommandInput} for command's `input` shape. - * @see {@link GetLaunchProfileCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class GetLaunchProfileCommand extends $Command - .classBuilder< - GetLaunchProfileCommandInput, - GetLaunchProfileCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "GetLaunchProfile", {}) - .n("NimbleClient", "GetLaunchProfileCommand") - .f(void 0, GetLaunchProfileResponseFilterSensitiveLog) - .ser(se_GetLaunchProfileCommand) - .de(de_GetLaunchProfileCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: GetLaunchProfileRequest; - output: GetLaunchProfileResponse; - }; - sdk: { - input: GetLaunchProfileCommandInput; - output: GetLaunchProfileCommandOutput; - }; - }; -} diff --git a/clients/client-nimble/src/commands/GetLaunchProfileDetailsCommand.ts b/clients/client-nimble/src/commands/GetLaunchProfileDetailsCommand.ts deleted file mode 100644 index e68c50a6b7d1..000000000000 --- a/clients/client-nimble/src/commands/GetLaunchProfileDetailsCommand.ts +++ /dev/null @@ -1,224 +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 { - GetLaunchProfileDetailsRequest, - GetLaunchProfileDetailsResponse, - GetLaunchProfileDetailsResponseFilterSensitiveLog, -} from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -import { de_GetLaunchProfileDetailsCommand, se_GetLaunchProfileDetailsCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetLaunchProfileDetailsCommand}. - */ -export interface GetLaunchProfileDetailsCommandInput extends GetLaunchProfileDetailsRequest {} -/** - * @public - * - * The output of {@link GetLaunchProfileDetailsCommand}. - */ -export interface GetLaunchProfileDetailsCommandOutput extends GetLaunchProfileDetailsResponse, __MetadataBearer {} - -/** - *

Launch profile details include the launch profile resource and summary information of - * resources that are used by, or available to, the launch profile. This includes the name - * and description of all studio components used by the launch profiles, and the name and - * description of streaming images that can be used with this launch profile.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, GetLaunchProfileDetailsCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, GetLaunchProfileDetailsCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // GetLaunchProfileDetailsRequest - * launchProfileId: "STRING_VALUE", // required - * studioId: "STRING_VALUE", // required - * }; - * const command = new GetLaunchProfileDetailsCommand(input); - * const response = await client.send(command); - * // { // GetLaunchProfileDetailsResponse - * // launchProfile: { // LaunchProfile - * // arn: "STRING_VALUE", - * // createdAt: new Date("TIMESTAMP"), - * // createdBy: "STRING_VALUE", - * // description: "STRING_VALUE", - * // ec2SubnetIds: [ // EC2SubnetIdList - * // "STRING_VALUE", - * // ], - * // launchProfileId: "STRING_VALUE", - * // launchProfileProtocolVersions: [ // LaunchProfileProtocolVersionList - * // "STRING_VALUE", - * // ], - * // name: "STRING_VALUE", - * // state: "CREATE_IN_PROGRESS" || "READY" || "UPDATE_IN_PROGRESS" || "DELETE_IN_PROGRESS" || "DELETED" || "DELETE_FAILED" || "CREATE_FAILED" || "UPDATE_FAILED", - * // statusCode: "LAUNCH_PROFILE_CREATED" || "LAUNCH_PROFILE_UPDATED" || "LAUNCH_PROFILE_DELETED" || "LAUNCH_PROFILE_CREATE_IN_PROGRESS" || "LAUNCH_PROFILE_UPDATE_IN_PROGRESS" || "LAUNCH_PROFILE_DELETE_IN_PROGRESS" || "INTERNAL_ERROR" || "STREAMING_IMAGE_NOT_FOUND" || "STREAMING_IMAGE_NOT_READY" || "LAUNCH_PROFILE_WITH_STREAM_SESSIONS_NOT_DELETED" || "ENCRYPTION_KEY_ACCESS_DENIED" || "ENCRYPTION_KEY_NOT_FOUND" || "INVALID_SUBNETS_PROVIDED" || "INVALID_INSTANCE_TYPES_PROVIDED" || "INVALID_SUBNETS_COMBINATION", - * // statusMessage: "STRING_VALUE", - * // streamConfiguration: { // StreamConfiguration - * // clipboardMode: "ENABLED" || "DISABLED", // required - * // ec2InstanceTypes: [ // StreamingInstanceTypeList // required - * // "g4dn.xlarge" || "g4dn.2xlarge" || "g4dn.4xlarge" || "g4dn.8xlarge" || "g4dn.12xlarge" || "g4dn.16xlarge" || "g3.4xlarge" || "g3s.xlarge" || "g5.xlarge" || "g5.2xlarge" || "g5.4xlarge" || "g5.8xlarge" || "g5.16xlarge", - * // ], - * // maxSessionLengthInMinutes: Number("int"), - * // streamingImageIds: [ // StreamingImageIdList // required - * // "STRING_VALUE", - * // ], - * // maxStoppedSessionLengthInMinutes: Number("int"), - * // sessionStorage: { // StreamConfigurationSessionStorage - * // root: { // StreamingSessionStorageRoot - * // linux: "STRING_VALUE", - * // windows: "STRING_VALUE", - * // }, - * // mode: [ // StreamingSessionStorageModeList // required - * // "UPLOAD", - * // ], - * // }, - * // sessionBackup: { // StreamConfigurationSessionBackup - * // mode: "AUTOMATIC" || "DEACTIVATED", - * // maxBackupsToRetain: Number("int"), - * // }, - * // sessionPersistenceMode: "DEACTIVATED" || "ACTIVATED", - * // volumeConfiguration: { // VolumeConfiguration - * // size: Number("int"), - * // throughput: Number("int"), - * // iops: Number("int"), - * // }, - * // automaticTerminationMode: "DEACTIVATED" || "ACTIVATED", - * // }, - * // studioComponentIds: [ // LaunchProfileStudioComponentIdList - * // "STRING_VALUE", - * // ], - * // tags: { // Tags - * // "": "STRING_VALUE", - * // }, - * // updatedAt: new Date("TIMESTAMP"), - * // updatedBy: "STRING_VALUE", - * // validationResults: [ // ValidationResults - * // { // ValidationResult - * // type: "VALIDATE_ACTIVE_DIRECTORY_STUDIO_COMPONENT" || "VALIDATE_SUBNET_ASSOCIATION" || "VALIDATE_NETWORK_ACL_ASSOCIATION" || "VALIDATE_SECURITY_GROUP_ASSOCIATION", // required - * // state: "VALIDATION_NOT_STARTED" || "VALIDATION_IN_PROGRESS" || "VALIDATION_SUCCESS" || "VALIDATION_FAILED" || "VALIDATION_FAILED_INTERNAL_SERVER_ERROR", // required - * // statusCode: "VALIDATION_NOT_STARTED" || "VALIDATION_IN_PROGRESS" || "VALIDATION_SUCCESS" || "VALIDATION_FAILED_INVALID_SUBNET_ROUTE_TABLE_ASSOCIATION" || "VALIDATION_FAILED_SUBNET_NOT_FOUND" || "VALIDATION_FAILED_INVALID_SECURITY_GROUP_ASSOCIATION" || "VALIDATION_FAILED_INVALID_ACTIVE_DIRECTORY" || "VALIDATION_FAILED_UNAUTHORIZED" || "VALIDATION_FAILED_INTERNAL_SERVER_ERROR", // required - * // statusMessage: "STRING_VALUE", // required - * // }, - * // ], - * // }, - * // streamingImages: [ // StreamingImageList - * // { // StreamingImage - * // arn: "STRING_VALUE", - * // description: "STRING_VALUE", - * // ec2ImageId: "STRING_VALUE", - * // encryptionConfiguration: { // StreamingImageEncryptionConfiguration - * // keyArn: "STRING_VALUE", - * // keyType: "CUSTOMER_MANAGED_KEY", // required - * // }, - * // eulaIds: [ // EulaIdList - * // "STRING_VALUE", - * // ], - * // name: "STRING_VALUE", - * // owner: "STRING_VALUE", - * // platform: "STRING_VALUE", - * // state: "CREATE_IN_PROGRESS" || "READY" || "DELETE_IN_PROGRESS" || "DELETED" || "UPDATE_IN_PROGRESS" || "UPDATE_FAILED" || "CREATE_FAILED" || "DELETE_FAILED", - * // statusCode: "STREAMING_IMAGE_CREATE_IN_PROGRESS" || "STREAMING_IMAGE_READY" || "STREAMING_IMAGE_DELETE_IN_PROGRESS" || "STREAMING_IMAGE_DELETED" || "STREAMING_IMAGE_UPDATE_IN_PROGRESS" || "INTERNAL_ERROR" || "ACCESS_DENIED", - * // statusMessage: "STRING_VALUE", - * // streamingImageId: "STRING_VALUE", - * // tags: { - * // "": "STRING_VALUE", - * // }, - * // }, - * // ], - * // studioComponentSummaries: [ // StudioComponentSummaryList - * // { // StudioComponentSummary - * // createdAt: new Date("TIMESTAMP"), - * // createdBy: "STRING_VALUE", - * // description: "STRING_VALUE", - * // name: "STRING_VALUE", - * // studioComponentId: "STRING_VALUE", - * // subtype: "AWS_MANAGED_MICROSOFT_AD" || "AMAZON_FSX_FOR_WINDOWS" || "AMAZON_FSX_FOR_LUSTRE" || "CUSTOM", - * // type: "ACTIVE_DIRECTORY" || "SHARED_FILE_SYSTEM" || "COMPUTE_FARM" || "LICENSE_SERVICE" || "CUSTOM", - * // updatedAt: new Date("TIMESTAMP"), - * // updatedBy: "STRING_VALUE", - * // }, - * // ], - * // }; - * - * ``` - * - * @param GetLaunchProfileDetailsCommandInput - {@link GetLaunchProfileDetailsCommandInput} - * @returns {@link GetLaunchProfileDetailsCommandOutput} - * @see {@link GetLaunchProfileDetailsCommandInput} for command's `input` shape. - * @see {@link GetLaunchProfileDetailsCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class GetLaunchProfileDetailsCommand extends $Command - .classBuilder< - GetLaunchProfileDetailsCommandInput, - GetLaunchProfileDetailsCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "GetLaunchProfileDetails", {}) - .n("NimbleClient", "GetLaunchProfileDetailsCommand") - .f(void 0, GetLaunchProfileDetailsResponseFilterSensitiveLog) - .ser(se_GetLaunchProfileDetailsCommand) - .de(de_GetLaunchProfileDetailsCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: GetLaunchProfileDetailsRequest; - output: GetLaunchProfileDetailsResponse; - }; - sdk: { - input: GetLaunchProfileDetailsCommandInput; - output: GetLaunchProfileDetailsCommandOutput; - }; - }; -} diff --git a/clients/client-nimble/src/commands/GetLaunchProfileInitializationCommand.ts b/clients/client-nimble/src/commands/GetLaunchProfileInitializationCommand.ts deleted file mode 100644 index e2f2f84d5f55..000000000000 --- a/clients/client-nimble/src/commands/GetLaunchProfileInitializationCommand.ts +++ /dev/null @@ -1,174 +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 { - GetLaunchProfileInitializationRequest, - GetLaunchProfileInitializationResponse, - GetLaunchProfileInitializationResponseFilterSensitiveLog, -} from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -import { - de_GetLaunchProfileInitializationCommand, - se_GetLaunchProfileInitializationCommand, -} from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetLaunchProfileInitializationCommand}. - */ -export interface GetLaunchProfileInitializationCommandInput extends GetLaunchProfileInitializationRequest {} -/** - * @public - * - * The output of {@link GetLaunchProfileInitializationCommand}. - */ -export interface GetLaunchProfileInitializationCommandOutput - extends GetLaunchProfileInitializationResponse, - __MetadataBearer {} - -/** - *

Get a launch profile initialization.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, GetLaunchProfileInitializationCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, GetLaunchProfileInitializationCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // GetLaunchProfileInitializationRequest - * launchProfileId: "STRING_VALUE", // required - * launchProfileProtocolVersions: [ // StringList // required - * "STRING_VALUE", - * ], - * launchPurpose: "STRING_VALUE", // required - * platform: "STRING_VALUE", // required - * studioId: "STRING_VALUE", // required - * }; - * const command = new GetLaunchProfileInitializationCommand(input); - * const response = await client.send(command); - * // { // GetLaunchProfileInitializationResponse - * // launchProfileInitialization: { // LaunchProfileInitialization - * // activeDirectory: { // LaunchProfileInitializationActiveDirectory - * // computerAttributes: [ // ActiveDirectoryComputerAttributeList - * // { // ActiveDirectoryComputerAttribute - * // name: "STRING_VALUE", - * // value: "STRING_VALUE", - * // }, - * // ], - * // directoryId: "STRING_VALUE", - * // directoryName: "STRING_VALUE", - * // dnsIpAddresses: [ // ActiveDirectoryDnsIpAddressList - * // "STRING_VALUE", - * // ], - * // organizationalUnitDistinguishedName: "STRING_VALUE", - * // studioComponentId: "STRING_VALUE", - * // studioComponentName: "STRING_VALUE", - * // }, - * // ec2SecurityGroupIds: [ // LaunchProfileSecurityGroupIdList - * // "STRING_VALUE", - * // ], - * // launchProfileId: "STRING_VALUE", - * // launchProfileProtocolVersion: "STRING_VALUE", - * // launchPurpose: "STRING_VALUE", - * // name: "STRING_VALUE", - * // platform: "LINUX" || "WINDOWS", - * // systemInitializationScripts: [ // LaunchProfileInitializationScriptList - * // { // LaunchProfileInitializationScript - * // script: "STRING_VALUE", - * // studioComponentId: "STRING_VALUE", - * // studioComponentName: "STRING_VALUE", - * // secureInitializationRoleArn: "STRING_VALUE", - * // runtimeRoleArn: "STRING_VALUE", - * // }, - * // ], - * // userInitializationScripts: [ - * // { - * // script: "STRING_VALUE", - * // studioComponentId: "STRING_VALUE", - * // studioComponentName: "STRING_VALUE", - * // secureInitializationRoleArn: "STRING_VALUE", - * // runtimeRoleArn: "STRING_VALUE", - * // }, - * // ], - * // }, - * // }; - * - * ``` - * - * @param GetLaunchProfileInitializationCommandInput - {@link GetLaunchProfileInitializationCommandInput} - * @returns {@link GetLaunchProfileInitializationCommandOutput} - * @see {@link GetLaunchProfileInitializationCommandInput} for command's `input` shape. - * @see {@link GetLaunchProfileInitializationCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class GetLaunchProfileInitializationCommand extends $Command - .classBuilder< - GetLaunchProfileInitializationCommandInput, - GetLaunchProfileInitializationCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "GetLaunchProfileInitialization", {}) - .n("NimbleClient", "GetLaunchProfileInitializationCommand") - .f(void 0, GetLaunchProfileInitializationResponseFilterSensitiveLog) - .ser(se_GetLaunchProfileInitializationCommand) - .de(de_GetLaunchProfileInitializationCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: GetLaunchProfileInitializationRequest; - output: GetLaunchProfileInitializationResponse; - }; - sdk: { - input: GetLaunchProfileInitializationCommandInput; - output: GetLaunchProfileInitializationCommandOutput; - }; - }; -} diff --git a/clients/client-nimble/src/commands/GetLaunchProfileMemberCommand.ts b/clients/client-nimble/src/commands/GetLaunchProfileMemberCommand.ts deleted file mode 100644 index 9bd445e1a1b2..000000000000 --- a/clients/client-nimble/src/commands/GetLaunchProfileMemberCommand.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 { commonParams } from "../endpoint/EndpointParameters"; -import { GetLaunchProfileMemberRequest, GetLaunchProfileMemberResponse } from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -import { de_GetLaunchProfileMemberCommand, se_GetLaunchProfileMemberCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetLaunchProfileMemberCommand}. - */ -export interface GetLaunchProfileMemberCommandInput extends GetLaunchProfileMemberRequest {} -/** - * @public - * - * The output of {@link GetLaunchProfileMemberCommand}. - */ -export interface GetLaunchProfileMemberCommandOutput extends GetLaunchProfileMemberResponse, __MetadataBearer {} - -/** - *

Get a user persona in launch profile membership.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, GetLaunchProfileMemberCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, GetLaunchProfileMemberCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // GetLaunchProfileMemberRequest - * launchProfileId: "STRING_VALUE", // required - * principalId: "STRING_VALUE", // required - * studioId: "STRING_VALUE", // required - * }; - * const command = new GetLaunchProfileMemberCommand(input); - * const response = await client.send(command); - * // { // GetLaunchProfileMemberResponse - * // member: { // LaunchProfileMembership - * // identityStoreId: "STRING_VALUE", - * // persona: "USER", - * // principalId: "STRING_VALUE", - * // sid: "STRING_VALUE", - * // }, - * // }; - * - * ``` - * - * @param GetLaunchProfileMemberCommandInput - {@link GetLaunchProfileMemberCommandInput} - * @returns {@link GetLaunchProfileMemberCommandOutput} - * @see {@link GetLaunchProfileMemberCommandInput} for command's `input` shape. - * @see {@link GetLaunchProfileMemberCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class GetLaunchProfileMemberCommand extends $Command - .classBuilder< - GetLaunchProfileMemberCommandInput, - GetLaunchProfileMemberCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "GetLaunchProfileMember", {}) - .n("NimbleClient", "GetLaunchProfileMemberCommand") - .f(void 0, void 0) - .ser(se_GetLaunchProfileMemberCommand) - .de(de_GetLaunchProfileMemberCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: GetLaunchProfileMemberRequest; - output: GetLaunchProfileMemberResponse; - }; - sdk: { - input: GetLaunchProfileMemberCommandInput; - output: GetLaunchProfileMemberCommandOutput; - }; - }; -} diff --git a/clients/client-nimble/src/commands/GetStreamingImageCommand.ts b/clients/client-nimble/src/commands/GetStreamingImageCommand.ts deleted file mode 100644 index 857ca4ef849a..000000000000 --- a/clients/client-nimble/src/commands/GetStreamingImageCommand.ts +++ /dev/null @@ -1,142 +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 { - GetStreamingImageRequest, - GetStreamingImageResponse, - GetStreamingImageResponseFilterSensitiveLog, -} from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -import { de_GetStreamingImageCommand, se_GetStreamingImageCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetStreamingImageCommand}. - */ -export interface GetStreamingImageCommandInput extends GetStreamingImageRequest {} -/** - * @public - * - * The output of {@link GetStreamingImageCommand}. - */ -export interface GetStreamingImageCommandOutput extends GetStreamingImageResponse, __MetadataBearer {} - -/** - *

Get streaming image.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, GetStreamingImageCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, GetStreamingImageCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // GetStreamingImageRequest - * streamingImageId: "STRING_VALUE", // required - * studioId: "STRING_VALUE", // required - * }; - * const command = new GetStreamingImageCommand(input); - * const response = await client.send(command); - * // { // GetStreamingImageResponse - * // streamingImage: { // StreamingImage - * // arn: "STRING_VALUE", - * // description: "STRING_VALUE", - * // ec2ImageId: "STRING_VALUE", - * // encryptionConfiguration: { // StreamingImageEncryptionConfiguration - * // keyArn: "STRING_VALUE", - * // keyType: "CUSTOMER_MANAGED_KEY", // required - * // }, - * // eulaIds: [ // EulaIdList - * // "STRING_VALUE", - * // ], - * // name: "STRING_VALUE", - * // owner: "STRING_VALUE", - * // platform: "STRING_VALUE", - * // state: "CREATE_IN_PROGRESS" || "READY" || "DELETE_IN_PROGRESS" || "DELETED" || "UPDATE_IN_PROGRESS" || "UPDATE_FAILED" || "CREATE_FAILED" || "DELETE_FAILED", - * // statusCode: "STREAMING_IMAGE_CREATE_IN_PROGRESS" || "STREAMING_IMAGE_READY" || "STREAMING_IMAGE_DELETE_IN_PROGRESS" || "STREAMING_IMAGE_DELETED" || "STREAMING_IMAGE_UPDATE_IN_PROGRESS" || "INTERNAL_ERROR" || "ACCESS_DENIED", - * // statusMessage: "STRING_VALUE", - * // streamingImageId: "STRING_VALUE", - * // tags: { // Tags - * // "": "STRING_VALUE", - * // }, - * // }, - * // }; - * - * ``` - * - * @param GetStreamingImageCommandInput - {@link GetStreamingImageCommandInput} - * @returns {@link GetStreamingImageCommandOutput} - * @see {@link GetStreamingImageCommandInput} for command's `input` shape. - * @see {@link GetStreamingImageCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class GetStreamingImageCommand extends $Command - .classBuilder< - GetStreamingImageCommandInput, - GetStreamingImageCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "GetStreamingImage", {}) - .n("NimbleClient", "GetStreamingImageCommand") - .f(void 0, GetStreamingImageResponseFilterSensitiveLog) - .ser(se_GetStreamingImageCommand) - .de(de_GetStreamingImageCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: GetStreamingImageRequest; - output: GetStreamingImageResponse; - }; - sdk: { - input: GetStreamingImageCommandInput; - output: GetStreamingImageCommandOutput; - }; - }; -} diff --git a/clients/client-nimble/src/commands/GetStreamingSessionBackupCommand.ts b/clients/client-nimble/src/commands/GetStreamingSessionBackupCommand.ts deleted file mode 100644 index 1351faa4c66e..000000000000 --- a/clients/client-nimble/src/commands/GetStreamingSessionBackupCommand.ts +++ /dev/null @@ -1,127 +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 { GetStreamingSessionBackupRequest, GetStreamingSessionBackupResponse } from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -import { de_GetStreamingSessionBackupCommand, se_GetStreamingSessionBackupCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetStreamingSessionBackupCommand}. - */ -export interface GetStreamingSessionBackupCommandInput extends GetStreamingSessionBackupRequest {} -/** - * @public - * - * The output of {@link GetStreamingSessionBackupCommand}. - */ -export interface GetStreamingSessionBackupCommandOutput extends GetStreamingSessionBackupResponse, __MetadataBearer {} - -/** - *

Gets StreamingSessionBackup resource.

- *

Invoke this operation to poll for a streaming session backup while stopping a - * streaming session.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, GetStreamingSessionBackupCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, GetStreamingSessionBackupCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // GetStreamingSessionBackupRequest - * backupId: "STRING_VALUE", // required - * studioId: "STRING_VALUE", // required - * }; - * const command = new GetStreamingSessionBackupCommand(input); - * const response = await client.send(command); - * // { // GetStreamingSessionBackupResponse - * // streamingSessionBackup: { // StreamingSessionBackup - * // arn: "STRING_VALUE", - * // createdAt: new Date("TIMESTAMP"), - * // launchProfileId: "STRING_VALUE", - * // ownedBy: "STRING_VALUE", - * // sessionId: "STRING_VALUE", - * // state: "CREATE_IN_PROGRESS" || "DELETE_IN_PROGRESS" || "READY" || "DELETED" || "CREATE_FAILED" || "DELETE_FAILED" || "STOP_IN_PROGRESS" || "START_IN_PROGRESS" || "STOPPED" || "STOP_FAILED" || "START_FAILED", - * // statusCode: "STREAMING_SESSION_READY" || "STREAMING_SESSION_DELETED" || "STREAMING_SESSION_CREATE_IN_PROGRESS" || "STREAMING_SESSION_DELETE_IN_PROGRESS" || "INTERNAL_ERROR" || "INSUFFICIENT_CAPACITY" || "ACTIVE_DIRECTORY_DOMAIN_JOIN_ERROR" || "NETWORK_CONNECTION_ERROR" || "INITIALIZATION_SCRIPT_ERROR" || "DECRYPT_STREAMING_IMAGE_ERROR" || "NETWORK_INTERFACE_ERROR" || "STREAMING_SESSION_STOPPED" || "STREAMING_SESSION_STARTED" || "STREAMING_SESSION_STOP_IN_PROGRESS" || "STREAMING_SESSION_START_IN_PROGRESS" || "AMI_VALIDATION_ERROR", - * // statusMessage: "STRING_VALUE", - * // backupId: "STRING_VALUE", - * // tags: { // Tags - * // "": "STRING_VALUE", - * // }, - * // }, - * // }; - * - * ``` - * - * @param GetStreamingSessionBackupCommandInput - {@link GetStreamingSessionBackupCommandInput} - * @returns {@link GetStreamingSessionBackupCommandOutput} - * @see {@link GetStreamingSessionBackupCommandInput} for command's `input` shape. - * @see {@link GetStreamingSessionBackupCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class GetStreamingSessionBackupCommand extends $Command - .classBuilder< - GetStreamingSessionBackupCommandInput, - GetStreamingSessionBackupCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "GetStreamingSessionBackup", {}) - .n("NimbleClient", "GetStreamingSessionBackupCommand") - .f(void 0, void 0) - .ser(se_GetStreamingSessionBackupCommand) - .de(de_GetStreamingSessionBackupCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: GetStreamingSessionBackupRequest; - output: GetStreamingSessionBackupResponse; - }; - sdk: { - input: GetStreamingSessionBackupCommandInput; - output: GetStreamingSessionBackupCommandOutput; - }; - }; -} diff --git a/clients/client-nimble/src/commands/GetStreamingSessionCommand.ts b/clients/client-nimble/src/commands/GetStreamingSessionCommand.ts deleted file mode 100644 index 9f88056f47b8..000000000000 --- a/clients/client-nimble/src/commands/GetStreamingSessionCommand.ts +++ /dev/null @@ -1,153 +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 { GetStreamingSessionRequest, GetStreamingSessionResponse } from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -import { de_GetStreamingSessionCommand, se_GetStreamingSessionCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetStreamingSessionCommand}. - */ -export interface GetStreamingSessionCommandInput extends GetStreamingSessionRequest {} -/** - * @public - * - * The output of {@link GetStreamingSessionCommand}. - */ -export interface GetStreamingSessionCommandOutput extends GetStreamingSessionResponse, __MetadataBearer {} - -/** - *

Gets StreamingSession resource.

- *

Invoke this operation to poll for a streaming session state while creating or deleting - * a session.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, GetStreamingSessionCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, GetStreamingSessionCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // GetStreamingSessionRequest - * sessionId: "STRING_VALUE", // required - * studioId: "STRING_VALUE", // required - * }; - * const command = new GetStreamingSessionCommand(input); - * const response = await client.send(command); - * // { // GetStreamingSessionResponse - * // session: { // StreamingSession - * // arn: "STRING_VALUE", - * // createdAt: new Date("TIMESTAMP"), - * // createdBy: "STRING_VALUE", - * // ec2InstanceType: "STRING_VALUE", - * // launchProfileId: "STRING_VALUE", - * // ownedBy: "STRING_VALUE", - * // sessionId: "STRING_VALUE", - * // state: "CREATE_IN_PROGRESS" || "DELETE_IN_PROGRESS" || "READY" || "DELETED" || "CREATE_FAILED" || "DELETE_FAILED" || "STOP_IN_PROGRESS" || "START_IN_PROGRESS" || "STOPPED" || "STOP_FAILED" || "START_FAILED", - * // statusCode: "STREAMING_SESSION_READY" || "STREAMING_SESSION_DELETED" || "STREAMING_SESSION_CREATE_IN_PROGRESS" || "STREAMING_SESSION_DELETE_IN_PROGRESS" || "INTERNAL_ERROR" || "INSUFFICIENT_CAPACITY" || "ACTIVE_DIRECTORY_DOMAIN_JOIN_ERROR" || "NETWORK_CONNECTION_ERROR" || "INITIALIZATION_SCRIPT_ERROR" || "DECRYPT_STREAMING_IMAGE_ERROR" || "NETWORK_INTERFACE_ERROR" || "STREAMING_SESSION_STOPPED" || "STREAMING_SESSION_STARTED" || "STREAMING_SESSION_STOP_IN_PROGRESS" || "STREAMING_SESSION_START_IN_PROGRESS" || "AMI_VALIDATION_ERROR", - * // statusMessage: "STRING_VALUE", - * // streamingImageId: "STRING_VALUE", - * // tags: { // Tags - * // "": "STRING_VALUE", - * // }, - * // terminateAt: new Date("TIMESTAMP"), - * // updatedAt: new Date("TIMESTAMP"), - * // updatedBy: "STRING_VALUE", - * // stoppedAt: new Date("TIMESTAMP"), - * // stoppedBy: "STRING_VALUE", - * // startedAt: new Date("TIMESTAMP"), - * // startedBy: "STRING_VALUE", - * // stopAt: new Date("TIMESTAMP"), - * // startedFromBackupId: "STRING_VALUE", - * // backupMode: "AUTOMATIC" || "DEACTIVATED", - * // maxBackupsToRetain: Number("int"), - * // volumeRetentionMode: "RETAIN" || "DELETE", - * // sessionPersistenceMode: "DEACTIVATED" || "ACTIVATED", - * // volumeConfiguration: { // VolumeConfiguration - * // size: Number("int"), - * // throughput: Number("int"), - * // iops: Number("int"), - * // }, - * // automaticTerminationMode: "DEACTIVATED" || "ACTIVATED", - * // }, - * // }; - * - * ``` - * - * @param GetStreamingSessionCommandInput - {@link GetStreamingSessionCommandInput} - * @returns {@link GetStreamingSessionCommandOutput} - * @see {@link GetStreamingSessionCommandInput} for command's `input` shape. - * @see {@link GetStreamingSessionCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class GetStreamingSessionCommand extends $Command - .classBuilder< - GetStreamingSessionCommandInput, - GetStreamingSessionCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "GetStreamingSession", {}) - .n("NimbleClient", "GetStreamingSessionCommand") - .f(void 0, void 0) - .ser(se_GetStreamingSessionCommand) - .de(de_GetStreamingSessionCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: GetStreamingSessionRequest; - output: GetStreamingSessionResponse; - }; - sdk: { - input: GetStreamingSessionCommandInput; - output: GetStreamingSessionCommandOutput; - }; - }; -} diff --git a/clients/client-nimble/src/commands/GetStreamingSessionStreamCommand.ts b/clients/client-nimble/src/commands/GetStreamingSessionStreamCommand.ts deleted file mode 100644 index beff0f5c4236..000000000000 --- a/clients/client-nimble/src/commands/GetStreamingSessionStreamCommand.ts +++ /dev/null @@ -1,135 +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 { - GetStreamingSessionStreamRequest, - GetStreamingSessionStreamResponse, - GetStreamingSessionStreamResponseFilterSensitiveLog, -} from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -import { de_GetStreamingSessionStreamCommand, se_GetStreamingSessionStreamCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetStreamingSessionStreamCommand}. - */ -export interface GetStreamingSessionStreamCommandInput extends GetStreamingSessionStreamRequest {} -/** - * @public - * - * The output of {@link GetStreamingSessionStreamCommand}. - */ -export interface GetStreamingSessionStreamCommandOutput extends GetStreamingSessionStreamResponse, __MetadataBearer {} - -/** - *

Gets a StreamingSessionStream for a streaming session.

- *

Invoke this operation to poll the resource after invoking - * CreateStreamingSessionStream.

- *

After the StreamingSessionStream changes to the READY state, - * the url property will contain a stream to be used with the DCV streaming client.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, GetStreamingSessionStreamCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, GetStreamingSessionStreamCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // GetStreamingSessionStreamRequest - * sessionId: "STRING_VALUE", // required - * streamId: "STRING_VALUE", // required - * studioId: "STRING_VALUE", // required - * }; - * const command = new GetStreamingSessionStreamCommand(input); - * const response = await client.send(command); - * // { // GetStreamingSessionStreamResponse - * // stream: { // StreamingSessionStream - * // createdAt: new Date("TIMESTAMP"), - * // createdBy: "STRING_VALUE", - * // expiresAt: new Date("TIMESTAMP"), - * // ownedBy: "STRING_VALUE", - * // state: "READY" || "CREATE_IN_PROGRESS" || "DELETE_IN_PROGRESS" || "DELETED" || "CREATE_FAILED" || "DELETE_FAILED", - * // statusCode: "STREAM_CREATE_IN_PROGRESS" || "STREAM_READY" || "STREAM_DELETE_IN_PROGRESS" || "STREAM_DELETED" || "INTERNAL_ERROR" || "NETWORK_CONNECTION_ERROR", - * // streamId: "STRING_VALUE", - * // url: "STRING_VALUE", - * // }, - * // }; - * - * ``` - * - * @param GetStreamingSessionStreamCommandInput - {@link GetStreamingSessionStreamCommandInput} - * @returns {@link GetStreamingSessionStreamCommandOutput} - * @see {@link GetStreamingSessionStreamCommandInput} for command's `input` shape. - * @see {@link GetStreamingSessionStreamCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class GetStreamingSessionStreamCommand extends $Command - .classBuilder< - GetStreamingSessionStreamCommandInput, - GetStreamingSessionStreamCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "GetStreamingSessionStream", {}) - .n("NimbleClient", "GetStreamingSessionStreamCommand") - .f(void 0, GetStreamingSessionStreamResponseFilterSensitiveLog) - .ser(se_GetStreamingSessionStreamCommand) - .de(de_GetStreamingSessionStreamCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: GetStreamingSessionStreamRequest; - output: GetStreamingSessionStreamResponse; - }; - sdk: { - input: GetStreamingSessionStreamCommandInput; - output: GetStreamingSessionStreamCommandOutput; - }; - }; -} diff --git a/clients/client-nimble/src/commands/GetStudioCommand.ts b/clients/client-nimble/src/commands/GetStudioCommand.ts deleted file mode 100644 index d9441616769e..000000000000 --- a/clients/client-nimble/src/commands/GetStudioCommand.ts +++ /dev/null @@ -1,138 +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 { GetStudioRequest, GetStudioResponse, GetStudioResponseFilterSensitiveLog } from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -import { de_GetStudioCommand, se_GetStudioCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetStudioCommand}. - */ -export interface GetStudioCommandInput extends GetStudioRequest {} -/** - * @public - * - * The output of {@link GetStudioCommand}. - */ -export interface GetStudioCommandOutput extends GetStudioResponse, __MetadataBearer {} - -/** - *

Get a studio resource.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, GetStudioCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, GetStudioCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // GetStudioRequest - * studioId: "STRING_VALUE", // required - * }; - * const command = new GetStudioCommand(input); - * const response = await client.send(command); - * // { // GetStudioResponse - * // studio: { // Studio - * // adminRoleArn: "STRING_VALUE", - * // arn: "STRING_VALUE", - * // createdAt: new Date("TIMESTAMP"), - * // displayName: "STRING_VALUE", - * // homeRegion: "STRING_VALUE", - * // ssoClientId: "STRING_VALUE", - * // state: "CREATE_IN_PROGRESS" || "READY" || "UPDATE_IN_PROGRESS" || "DELETE_IN_PROGRESS" || "DELETED" || "DELETE_FAILED" || "CREATE_FAILED" || "UPDATE_FAILED", - * // statusCode: "STUDIO_CREATED" || "STUDIO_DELETED" || "STUDIO_UPDATED" || "STUDIO_CREATE_IN_PROGRESS" || "STUDIO_UPDATE_IN_PROGRESS" || "STUDIO_DELETE_IN_PROGRESS" || "STUDIO_WITH_LAUNCH_PROFILES_NOT_DELETED" || "STUDIO_WITH_STUDIO_COMPONENTS_NOT_DELETED" || "STUDIO_WITH_STREAMING_IMAGES_NOT_DELETED" || "AWS_SSO_NOT_ENABLED" || "AWS_SSO_ACCESS_DENIED" || "ROLE_NOT_OWNED_BY_STUDIO_OWNER" || "ROLE_COULD_NOT_BE_ASSUMED" || "INTERNAL_ERROR" || "ENCRYPTION_KEY_NOT_FOUND" || "ENCRYPTION_KEY_ACCESS_DENIED" || "AWS_SSO_CONFIGURATION_REPAIRED" || "AWS_SSO_CONFIGURATION_REPAIR_IN_PROGRESS" || "AWS_STS_REGION_DISABLED", - * // statusMessage: "STRING_VALUE", - * // studioEncryptionConfiguration: { // StudioEncryptionConfiguration - * // keyArn: "STRING_VALUE", - * // keyType: "AWS_OWNED_KEY" || "CUSTOMER_MANAGED_KEY", // required - * // }, - * // studioId: "STRING_VALUE", - * // studioName: "STRING_VALUE", - * // studioUrl: "STRING_VALUE", - * // tags: { // Tags - * // "": "STRING_VALUE", - * // }, - * // updatedAt: new Date("TIMESTAMP"), - * // userRoleArn: "STRING_VALUE", - * // }, - * // }; - * - * ``` - * - * @param GetStudioCommandInput - {@link GetStudioCommandInput} - * @returns {@link GetStudioCommandOutput} - * @see {@link GetStudioCommandInput} for command's `input` shape. - * @see {@link GetStudioCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class GetStudioCommand extends $Command - .classBuilder< - GetStudioCommandInput, - GetStudioCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "GetStudio", {}) - .n("NimbleClient", "GetStudioCommand") - .f(void 0, GetStudioResponseFilterSensitiveLog) - .ser(se_GetStudioCommand) - .de(de_GetStudioCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: GetStudioRequest; - output: GetStudioResponse; - }; - sdk: { - input: GetStudioCommandInput; - output: GetStudioCommandOutput; - }; - }; -} diff --git a/clients/client-nimble/src/commands/GetStudioComponentCommand.ts b/clients/client-nimble/src/commands/GetStudioComponentCommand.ts deleted file mode 100644 index 67405e07efb7..000000000000 --- a/clients/client-nimble/src/commands/GetStudioComponentCommand.ts +++ /dev/null @@ -1,183 +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 { - GetStudioComponentRequest, - GetStudioComponentResponse, - GetStudioComponentResponseFilterSensitiveLog, -} from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -import { de_GetStudioComponentCommand, se_GetStudioComponentCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetStudioComponentCommand}. - */ -export interface GetStudioComponentCommandInput extends GetStudioComponentRequest {} -/** - * @public - * - * The output of {@link GetStudioComponentCommand}. - */ -export interface GetStudioComponentCommandOutput extends GetStudioComponentResponse, __MetadataBearer {} - -/** - *

Gets a studio component resource.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, GetStudioComponentCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, GetStudioComponentCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // GetStudioComponentRequest - * studioComponentId: "STRING_VALUE", // required - * studioId: "STRING_VALUE", // required - * }; - * const command = new GetStudioComponentCommand(input); - * const response = await client.send(command); - * // { // GetStudioComponentResponse - * // studioComponent: { // StudioComponent - * // arn: "STRING_VALUE", - * // configuration: { // StudioComponentConfiguration - * // activeDirectoryConfiguration: { // ActiveDirectoryConfiguration - * // computerAttributes: [ // ActiveDirectoryComputerAttributeList - * // { // ActiveDirectoryComputerAttribute - * // name: "STRING_VALUE", - * // value: "STRING_VALUE", - * // }, - * // ], - * // directoryId: "STRING_VALUE", - * // organizationalUnitDistinguishedName: "STRING_VALUE", - * // }, - * // computeFarmConfiguration: { // ComputeFarmConfiguration - * // activeDirectoryUser: "STRING_VALUE", - * // endpoint: "STRING_VALUE", - * // }, - * // licenseServiceConfiguration: { // LicenseServiceConfiguration - * // endpoint: "STRING_VALUE", - * // }, - * // sharedFileSystemConfiguration: { // SharedFileSystemConfiguration - * // endpoint: "STRING_VALUE", - * // fileSystemId: "STRING_VALUE", - * // linuxMountPoint: "STRING_VALUE", - * // shareName: "STRING_VALUE", - * // windowsMountDrive: "STRING_VALUE", - * // }, - * // }, - * // createdAt: new Date("TIMESTAMP"), - * // createdBy: "STRING_VALUE", - * // description: "STRING_VALUE", - * // ec2SecurityGroupIds: [ // StudioComponentSecurityGroupIdList - * // "STRING_VALUE", - * // ], - * // initializationScripts: [ // StudioComponentInitializationScriptList - * // { // StudioComponentInitializationScript - * // launchProfileProtocolVersion: "STRING_VALUE", - * // platform: "LINUX" || "WINDOWS", - * // runContext: "SYSTEM_INITIALIZATION" || "USER_INITIALIZATION", - * // script: "STRING_VALUE", - * // }, - * // ], - * // name: "STRING_VALUE", - * // scriptParameters: [ // StudioComponentScriptParameterKeyValueList - * // { // ScriptParameterKeyValue - * // key: "STRING_VALUE", - * // value: "STRING_VALUE", - * // }, - * // ], - * // state: "CREATE_IN_PROGRESS" || "READY" || "UPDATE_IN_PROGRESS" || "DELETE_IN_PROGRESS" || "DELETED" || "DELETE_FAILED" || "CREATE_FAILED" || "UPDATE_FAILED", - * // statusCode: "ACTIVE_DIRECTORY_ALREADY_EXISTS" || "STUDIO_COMPONENT_CREATED" || "STUDIO_COMPONENT_UPDATED" || "STUDIO_COMPONENT_DELETED" || "ENCRYPTION_KEY_ACCESS_DENIED" || "ENCRYPTION_KEY_NOT_FOUND" || "STUDIO_COMPONENT_CREATE_IN_PROGRESS" || "STUDIO_COMPONENT_UPDATE_IN_PROGRESS" || "STUDIO_COMPONENT_DELETE_IN_PROGRESS" || "INTERNAL_ERROR", - * // statusMessage: "STRING_VALUE", - * // studioComponentId: "STRING_VALUE", - * // subtype: "AWS_MANAGED_MICROSOFT_AD" || "AMAZON_FSX_FOR_WINDOWS" || "AMAZON_FSX_FOR_LUSTRE" || "CUSTOM", - * // tags: { // Tags - * // "": "STRING_VALUE", - * // }, - * // type: "ACTIVE_DIRECTORY" || "SHARED_FILE_SYSTEM" || "COMPUTE_FARM" || "LICENSE_SERVICE" || "CUSTOM", - * // updatedAt: new Date("TIMESTAMP"), - * // updatedBy: "STRING_VALUE", - * // secureInitializationRoleArn: "STRING_VALUE", - * // runtimeRoleArn: "STRING_VALUE", - * // }, - * // }; - * - * ``` - * - * @param GetStudioComponentCommandInput - {@link GetStudioComponentCommandInput} - * @returns {@link GetStudioComponentCommandOutput} - * @see {@link GetStudioComponentCommandInput} for command's `input` shape. - * @see {@link GetStudioComponentCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class GetStudioComponentCommand extends $Command - .classBuilder< - GetStudioComponentCommandInput, - GetStudioComponentCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "GetStudioComponent", {}) - .n("NimbleClient", "GetStudioComponentCommand") - .f(void 0, GetStudioComponentResponseFilterSensitiveLog) - .ser(se_GetStudioComponentCommand) - .de(de_GetStudioComponentCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: GetStudioComponentRequest; - output: GetStudioComponentResponse; - }; - sdk: { - input: GetStudioComponentCommandInput; - output: GetStudioComponentCommandOutput; - }; - }; -} diff --git a/clients/client-nimble/src/commands/GetStudioMemberCommand.ts b/clients/client-nimble/src/commands/GetStudioMemberCommand.ts deleted file mode 100644 index f06e57593770..000000000000 --- a/clients/client-nimble/src/commands/GetStudioMemberCommand.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 { commonParams } from "../endpoint/EndpointParameters"; -import { GetStudioMemberRequest, GetStudioMemberResponse } from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -import { de_GetStudioMemberCommand, se_GetStudioMemberCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetStudioMemberCommand}. - */ -export interface GetStudioMemberCommandInput extends GetStudioMemberRequest {} -/** - * @public - * - * The output of {@link GetStudioMemberCommand}. - */ -export interface GetStudioMemberCommandOutput extends GetStudioMemberResponse, __MetadataBearer {} - -/** - *

Get a user's membership in a studio.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, GetStudioMemberCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, GetStudioMemberCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // GetStudioMemberRequest - * principalId: "STRING_VALUE", // required - * studioId: "STRING_VALUE", // required - * }; - * const command = new GetStudioMemberCommand(input); - * const response = await client.send(command); - * // { // GetStudioMemberResponse - * // member: { // StudioMembership - * // identityStoreId: "STRING_VALUE", - * // persona: "ADMINISTRATOR", - * // principalId: "STRING_VALUE", - * // sid: "STRING_VALUE", - * // }, - * // }; - * - * ``` - * - * @param GetStudioMemberCommandInput - {@link GetStudioMemberCommandInput} - * @returns {@link GetStudioMemberCommandOutput} - * @see {@link GetStudioMemberCommandInput} for command's `input` shape. - * @see {@link GetStudioMemberCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class GetStudioMemberCommand extends $Command - .classBuilder< - GetStudioMemberCommandInput, - GetStudioMemberCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "GetStudioMember", {}) - .n("NimbleClient", "GetStudioMemberCommand") - .f(void 0, void 0) - .ser(se_GetStudioMemberCommand) - .de(de_GetStudioMemberCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: GetStudioMemberRequest; - output: GetStudioMemberResponse; - }; - sdk: { - input: GetStudioMemberCommandInput; - output: GetStudioMemberCommandOutput; - }; - }; -} diff --git a/clients/client-nimble/src/commands/ListEulaAcceptancesCommand.ts b/clients/client-nimble/src/commands/ListEulaAcceptancesCommand.ts deleted file mode 100644 index bdd67ee7c5f2..000000000000 --- a/clients/client-nimble/src/commands/ListEulaAcceptancesCommand.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 { commonParams } from "../endpoint/EndpointParameters"; -import { ListEulaAcceptancesRequest, ListEulaAcceptancesResponse } from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -import { de_ListEulaAcceptancesCommand, se_ListEulaAcceptancesCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListEulaAcceptancesCommand}. - */ -export interface ListEulaAcceptancesCommandInput extends ListEulaAcceptancesRequest {} -/** - * @public - * - * The output of {@link ListEulaAcceptancesCommand}. - */ -export interface ListEulaAcceptancesCommandOutput extends ListEulaAcceptancesResponse, __MetadataBearer {} - -/** - *

List EULA acceptances.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, ListEulaAcceptancesCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, ListEulaAcceptancesCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // ListEulaAcceptancesRequest - * eulaIds: [ // StringList - * "STRING_VALUE", - * ], - * nextToken: "STRING_VALUE", - * studioId: "STRING_VALUE", // required - * }; - * const command = new ListEulaAcceptancesCommand(input); - * const response = await client.send(command); - * // { // ListEulaAcceptancesResponse - * // eulaAcceptances: [ // EulaAcceptanceList - * // { // EulaAcceptance - * // acceptedAt: new Date("TIMESTAMP"), - * // acceptedBy: "STRING_VALUE", - * // accepteeId: "STRING_VALUE", - * // eulaAcceptanceId: "STRING_VALUE", - * // eulaId: "STRING_VALUE", - * // }, - * // ], - * // nextToken: "STRING_VALUE", - * // }; - * - * ``` - * - * @param ListEulaAcceptancesCommandInput - {@link ListEulaAcceptancesCommandInput} - * @returns {@link ListEulaAcceptancesCommandOutput} - * @see {@link ListEulaAcceptancesCommandInput} for command's `input` shape. - * @see {@link ListEulaAcceptancesCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class ListEulaAcceptancesCommand extends $Command - .classBuilder< - ListEulaAcceptancesCommandInput, - ListEulaAcceptancesCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "ListEulaAcceptances", {}) - .n("NimbleClient", "ListEulaAcceptancesCommand") - .f(void 0, void 0) - .ser(se_ListEulaAcceptancesCommand) - .de(de_ListEulaAcceptancesCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: ListEulaAcceptancesRequest; - output: ListEulaAcceptancesResponse; - }; - sdk: { - input: ListEulaAcceptancesCommandInput; - output: ListEulaAcceptancesCommandOutput; - }; - }; -} diff --git a/clients/client-nimble/src/commands/ListEulasCommand.ts b/clients/client-nimble/src/commands/ListEulasCommand.ts deleted file mode 100644 index 6058fd2cf782..000000000000 --- a/clients/client-nimble/src/commands/ListEulasCommand.ts +++ /dev/null @@ -1,128 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { commonParams } from "../endpoint/EndpointParameters"; -import { ListEulasRequest, ListEulasResponse } from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -import { de_ListEulasCommand, se_ListEulasCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListEulasCommand}. - */ -export interface ListEulasCommandInput extends ListEulasRequest {} -/** - * @public - * - * The output of {@link ListEulasCommand}. - */ -export interface ListEulasCommandOutput extends ListEulasResponse, __MetadataBearer {} - -/** - *

List EULAs.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, ListEulasCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, ListEulasCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // ListEulasRequest - * eulaIds: [ // StringList - * "STRING_VALUE", - * ], - * nextToken: "STRING_VALUE", - * }; - * const command = new ListEulasCommand(input); - * const response = await client.send(command); - * // { // ListEulasResponse - * // eulas: [ // EulaList - * // { // Eula - * // content: "STRING_VALUE", - * // createdAt: new Date("TIMESTAMP"), - * // eulaId: "STRING_VALUE", - * // name: "STRING_VALUE", - * // updatedAt: new Date("TIMESTAMP"), - * // }, - * // ], - * // nextToken: "STRING_VALUE", - * // }; - * - * ``` - * - * @param ListEulasCommandInput - {@link ListEulasCommandInput} - * @returns {@link ListEulasCommandOutput} - * @see {@link ListEulasCommandInput} for command's `input` shape. - * @see {@link ListEulasCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class ListEulasCommand extends $Command - .classBuilder< - ListEulasCommandInput, - ListEulasCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "ListEulas", {}) - .n("NimbleClient", "ListEulasCommand") - .f(void 0, void 0) - .ser(se_ListEulasCommand) - .de(de_ListEulasCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: ListEulasRequest; - output: ListEulasResponse; - }; - sdk: { - input: ListEulasCommandInput; - output: ListEulasCommandOutput; - }; - }; -} diff --git a/clients/client-nimble/src/commands/ListLaunchProfileMembersCommand.ts b/clients/client-nimble/src/commands/ListLaunchProfileMembersCommand.ts deleted file mode 100644 index 3ea8b7eef0ff..000000000000 --- a/clients/client-nimble/src/commands/ListLaunchProfileMembersCommand.ts +++ /dev/null @@ -1,127 +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 { ListLaunchProfileMembersRequest, ListLaunchProfileMembersResponse } from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -import { de_ListLaunchProfileMembersCommand, se_ListLaunchProfileMembersCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListLaunchProfileMembersCommand}. - */ -export interface ListLaunchProfileMembersCommandInput extends ListLaunchProfileMembersRequest {} -/** - * @public - * - * The output of {@link ListLaunchProfileMembersCommand}. - */ -export interface ListLaunchProfileMembersCommandOutput extends ListLaunchProfileMembersResponse, __MetadataBearer {} - -/** - *

Get all users in a given launch profile membership.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, ListLaunchProfileMembersCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, ListLaunchProfileMembersCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // ListLaunchProfileMembersRequest - * launchProfileId: "STRING_VALUE", // required - * maxResults: Number("int"), - * nextToken: "STRING_VALUE", - * studioId: "STRING_VALUE", // required - * }; - * const command = new ListLaunchProfileMembersCommand(input); - * const response = await client.send(command); - * // { // ListLaunchProfileMembersResponse - * // members: [ // LaunchProfileMembershipList - * // { // LaunchProfileMembership - * // identityStoreId: "STRING_VALUE", - * // persona: "USER", - * // principalId: "STRING_VALUE", - * // sid: "STRING_VALUE", - * // }, - * // ], - * // nextToken: "STRING_VALUE", - * // }; - * - * ``` - * - * @param ListLaunchProfileMembersCommandInput - {@link ListLaunchProfileMembersCommandInput} - * @returns {@link ListLaunchProfileMembersCommandOutput} - * @see {@link ListLaunchProfileMembersCommandInput} for command's `input` shape. - * @see {@link ListLaunchProfileMembersCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class ListLaunchProfileMembersCommand extends $Command - .classBuilder< - ListLaunchProfileMembersCommandInput, - ListLaunchProfileMembersCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "ListLaunchProfileMembers", {}) - .n("NimbleClient", "ListLaunchProfileMembersCommand") - .f(void 0, void 0) - .ser(se_ListLaunchProfileMembersCommand) - .de(de_ListLaunchProfileMembersCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: ListLaunchProfileMembersRequest; - output: ListLaunchProfileMembersResponse; - }; - sdk: { - input: ListLaunchProfileMembersCommandInput; - output: ListLaunchProfileMembersCommandOutput; - }; - }; -} diff --git a/clients/client-nimble/src/commands/ListLaunchProfilesCommand.ts b/clients/client-nimble/src/commands/ListLaunchProfilesCommand.ts deleted file mode 100644 index 7b27c8e627ba..000000000000 --- a/clients/client-nimble/src/commands/ListLaunchProfilesCommand.ts +++ /dev/null @@ -1,192 +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 { - ListLaunchProfilesRequest, - ListLaunchProfilesResponse, - ListLaunchProfilesResponseFilterSensitiveLog, -} from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -import { de_ListLaunchProfilesCommand, se_ListLaunchProfilesCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListLaunchProfilesCommand}. - */ -export interface ListLaunchProfilesCommandInput extends ListLaunchProfilesRequest {} -/** - * @public - * - * The output of {@link ListLaunchProfilesCommand}. - */ -export interface ListLaunchProfilesCommandOutput extends ListLaunchProfilesResponse, __MetadataBearer {} - -/** - *

List all the launch profiles a studio.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, ListLaunchProfilesCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, ListLaunchProfilesCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // ListLaunchProfilesRequest - * maxResults: Number("int"), - * nextToken: "STRING_VALUE", - * principalId: "STRING_VALUE", - * states: [ // LaunchProfileStateList - * "CREATE_IN_PROGRESS" || "READY" || "UPDATE_IN_PROGRESS" || "DELETE_IN_PROGRESS" || "DELETED" || "DELETE_FAILED" || "CREATE_FAILED" || "UPDATE_FAILED", - * ], - * studioId: "STRING_VALUE", // required - * }; - * const command = new ListLaunchProfilesCommand(input); - * const response = await client.send(command); - * // { // ListLaunchProfilesResponse - * // launchProfiles: [ // LaunchProfileList - * // { // LaunchProfile - * // arn: "STRING_VALUE", - * // createdAt: new Date("TIMESTAMP"), - * // createdBy: "STRING_VALUE", - * // description: "STRING_VALUE", - * // ec2SubnetIds: [ // EC2SubnetIdList - * // "STRING_VALUE", - * // ], - * // launchProfileId: "STRING_VALUE", - * // launchProfileProtocolVersions: [ // LaunchProfileProtocolVersionList - * // "STRING_VALUE", - * // ], - * // name: "STRING_VALUE", - * // state: "CREATE_IN_PROGRESS" || "READY" || "UPDATE_IN_PROGRESS" || "DELETE_IN_PROGRESS" || "DELETED" || "DELETE_FAILED" || "CREATE_FAILED" || "UPDATE_FAILED", - * // statusCode: "LAUNCH_PROFILE_CREATED" || "LAUNCH_PROFILE_UPDATED" || "LAUNCH_PROFILE_DELETED" || "LAUNCH_PROFILE_CREATE_IN_PROGRESS" || "LAUNCH_PROFILE_UPDATE_IN_PROGRESS" || "LAUNCH_PROFILE_DELETE_IN_PROGRESS" || "INTERNAL_ERROR" || "STREAMING_IMAGE_NOT_FOUND" || "STREAMING_IMAGE_NOT_READY" || "LAUNCH_PROFILE_WITH_STREAM_SESSIONS_NOT_DELETED" || "ENCRYPTION_KEY_ACCESS_DENIED" || "ENCRYPTION_KEY_NOT_FOUND" || "INVALID_SUBNETS_PROVIDED" || "INVALID_INSTANCE_TYPES_PROVIDED" || "INVALID_SUBNETS_COMBINATION", - * // statusMessage: "STRING_VALUE", - * // streamConfiguration: { // StreamConfiguration - * // clipboardMode: "ENABLED" || "DISABLED", // required - * // ec2InstanceTypes: [ // StreamingInstanceTypeList // required - * // "g4dn.xlarge" || "g4dn.2xlarge" || "g4dn.4xlarge" || "g4dn.8xlarge" || "g4dn.12xlarge" || "g4dn.16xlarge" || "g3.4xlarge" || "g3s.xlarge" || "g5.xlarge" || "g5.2xlarge" || "g5.4xlarge" || "g5.8xlarge" || "g5.16xlarge", - * // ], - * // maxSessionLengthInMinutes: Number("int"), - * // streamingImageIds: [ // StreamingImageIdList // required - * // "STRING_VALUE", - * // ], - * // maxStoppedSessionLengthInMinutes: Number("int"), - * // sessionStorage: { // StreamConfigurationSessionStorage - * // root: { // StreamingSessionStorageRoot - * // linux: "STRING_VALUE", - * // windows: "STRING_VALUE", - * // }, - * // mode: [ // StreamingSessionStorageModeList // required - * // "UPLOAD", - * // ], - * // }, - * // sessionBackup: { // StreamConfigurationSessionBackup - * // mode: "AUTOMATIC" || "DEACTIVATED", - * // maxBackupsToRetain: Number("int"), - * // }, - * // sessionPersistenceMode: "DEACTIVATED" || "ACTIVATED", - * // volumeConfiguration: { // VolumeConfiguration - * // size: Number("int"), - * // throughput: Number("int"), - * // iops: Number("int"), - * // }, - * // automaticTerminationMode: "DEACTIVATED" || "ACTIVATED", - * // }, - * // studioComponentIds: [ // LaunchProfileStudioComponentIdList - * // "STRING_VALUE", - * // ], - * // tags: { // Tags - * // "": "STRING_VALUE", - * // }, - * // updatedAt: new Date("TIMESTAMP"), - * // updatedBy: "STRING_VALUE", - * // validationResults: [ // ValidationResults - * // { // ValidationResult - * // type: "VALIDATE_ACTIVE_DIRECTORY_STUDIO_COMPONENT" || "VALIDATE_SUBNET_ASSOCIATION" || "VALIDATE_NETWORK_ACL_ASSOCIATION" || "VALIDATE_SECURITY_GROUP_ASSOCIATION", // required - * // state: "VALIDATION_NOT_STARTED" || "VALIDATION_IN_PROGRESS" || "VALIDATION_SUCCESS" || "VALIDATION_FAILED" || "VALIDATION_FAILED_INTERNAL_SERVER_ERROR", // required - * // statusCode: "VALIDATION_NOT_STARTED" || "VALIDATION_IN_PROGRESS" || "VALIDATION_SUCCESS" || "VALIDATION_FAILED_INVALID_SUBNET_ROUTE_TABLE_ASSOCIATION" || "VALIDATION_FAILED_SUBNET_NOT_FOUND" || "VALIDATION_FAILED_INVALID_SECURITY_GROUP_ASSOCIATION" || "VALIDATION_FAILED_INVALID_ACTIVE_DIRECTORY" || "VALIDATION_FAILED_UNAUTHORIZED" || "VALIDATION_FAILED_INTERNAL_SERVER_ERROR", // required - * // statusMessage: "STRING_VALUE", // required - * // }, - * // ], - * // }, - * // ], - * // nextToken: "STRING_VALUE", - * // }; - * - * ``` - * - * @param ListLaunchProfilesCommandInput - {@link ListLaunchProfilesCommandInput} - * @returns {@link ListLaunchProfilesCommandOutput} - * @see {@link ListLaunchProfilesCommandInput} for command's `input` shape. - * @see {@link ListLaunchProfilesCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class ListLaunchProfilesCommand extends $Command - .classBuilder< - ListLaunchProfilesCommandInput, - ListLaunchProfilesCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "ListLaunchProfiles", {}) - .n("NimbleClient", "ListLaunchProfilesCommand") - .f(void 0, ListLaunchProfilesResponseFilterSensitiveLog) - .ser(se_ListLaunchProfilesCommand) - .de(de_ListLaunchProfilesCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: ListLaunchProfilesRequest; - output: ListLaunchProfilesResponse; - }; - sdk: { - input: ListLaunchProfilesCommandInput; - output: ListLaunchProfilesCommandOutput; - }; - }; -} diff --git a/clients/client-nimble/src/commands/ListStreamingImagesCommand.ts b/clients/client-nimble/src/commands/ListStreamingImagesCommand.ts deleted file mode 100644 index 85407602ed60..000000000000 --- a/clients/client-nimble/src/commands/ListStreamingImagesCommand.ts +++ /dev/null @@ -1,148 +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 { - ListStreamingImagesRequest, - ListStreamingImagesResponse, - ListStreamingImagesResponseFilterSensitiveLog, -} from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -import { de_ListStreamingImagesCommand, se_ListStreamingImagesCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListStreamingImagesCommand}. - */ -export interface ListStreamingImagesCommandInput extends ListStreamingImagesRequest {} -/** - * @public - * - * The output of {@link ListStreamingImagesCommand}. - */ -export interface ListStreamingImagesCommandOutput extends ListStreamingImagesResponse, __MetadataBearer {} - -/** - *

List the streaming image resources available to this studio.

- *

This list will contain both images provided by Amazon Web Services, as well as - * streaming images that you have created in your studio.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, ListStreamingImagesCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, ListStreamingImagesCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // ListStreamingImagesRequest - * nextToken: "STRING_VALUE", - * owner: "STRING_VALUE", - * studioId: "STRING_VALUE", // required - * }; - * const command = new ListStreamingImagesCommand(input); - * const response = await client.send(command); - * // { // ListStreamingImagesResponse - * // nextToken: "STRING_VALUE", - * // streamingImages: [ // StreamingImageList - * // { // StreamingImage - * // arn: "STRING_VALUE", - * // description: "STRING_VALUE", - * // ec2ImageId: "STRING_VALUE", - * // encryptionConfiguration: { // StreamingImageEncryptionConfiguration - * // keyArn: "STRING_VALUE", - * // keyType: "CUSTOMER_MANAGED_KEY", // required - * // }, - * // eulaIds: [ // EulaIdList - * // "STRING_VALUE", - * // ], - * // name: "STRING_VALUE", - * // owner: "STRING_VALUE", - * // platform: "STRING_VALUE", - * // state: "CREATE_IN_PROGRESS" || "READY" || "DELETE_IN_PROGRESS" || "DELETED" || "UPDATE_IN_PROGRESS" || "UPDATE_FAILED" || "CREATE_FAILED" || "DELETE_FAILED", - * // statusCode: "STREAMING_IMAGE_CREATE_IN_PROGRESS" || "STREAMING_IMAGE_READY" || "STREAMING_IMAGE_DELETE_IN_PROGRESS" || "STREAMING_IMAGE_DELETED" || "STREAMING_IMAGE_UPDATE_IN_PROGRESS" || "INTERNAL_ERROR" || "ACCESS_DENIED", - * // statusMessage: "STRING_VALUE", - * // streamingImageId: "STRING_VALUE", - * // tags: { // Tags - * // "": "STRING_VALUE", - * // }, - * // }, - * // ], - * // }; - * - * ``` - * - * @param ListStreamingImagesCommandInput - {@link ListStreamingImagesCommandInput} - * @returns {@link ListStreamingImagesCommandOutput} - * @see {@link ListStreamingImagesCommandInput} for command's `input` shape. - * @see {@link ListStreamingImagesCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class ListStreamingImagesCommand extends $Command - .classBuilder< - ListStreamingImagesCommandInput, - ListStreamingImagesCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "ListStreamingImages", {}) - .n("NimbleClient", "ListStreamingImagesCommand") - .f(void 0, ListStreamingImagesResponseFilterSensitiveLog) - .ser(se_ListStreamingImagesCommand) - .de(de_ListStreamingImagesCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: ListStreamingImagesRequest; - output: ListStreamingImagesResponse; - }; - sdk: { - input: ListStreamingImagesCommandInput; - output: ListStreamingImagesCommandOutput; - }; - }; -} diff --git a/clients/client-nimble/src/commands/ListStreamingSessionBackupsCommand.ts b/clients/client-nimble/src/commands/ListStreamingSessionBackupsCommand.ts deleted file mode 100644 index 9d79d91b642b..000000000000 --- a/clients/client-nimble/src/commands/ListStreamingSessionBackupsCommand.ts +++ /dev/null @@ -1,134 +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 { ListStreamingSessionBackupsRequest, ListStreamingSessionBackupsResponse } from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -import { - de_ListStreamingSessionBackupsCommand, - se_ListStreamingSessionBackupsCommand, -} from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListStreamingSessionBackupsCommand}. - */ -export interface ListStreamingSessionBackupsCommandInput extends ListStreamingSessionBackupsRequest {} -/** - * @public - * - * The output of {@link ListStreamingSessionBackupsCommand}. - */ -export interface ListStreamingSessionBackupsCommandOutput - extends ListStreamingSessionBackupsResponse, - __MetadataBearer {} - -/** - *

Lists the backups of a streaming session in a studio.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, ListStreamingSessionBackupsCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, ListStreamingSessionBackupsCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // ListStreamingSessionBackupsRequest - * nextToken: "STRING_VALUE", - * ownedBy: "STRING_VALUE", - * studioId: "STRING_VALUE", // required - * }; - * const command = new ListStreamingSessionBackupsCommand(input); - * const response = await client.send(command); - * // { // ListStreamingSessionBackupsResponse - * // nextToken: "STRING_VALUE", - * // streamingSessionBackups: [ // StreamingSessionBackupList - * // { // StreamingSessionBackup - * // arn: "STRING_VALUE", - * // createdAt: new Date("TIMESTAMP"), - * // launchProfileId: "STRING_VALUE", - * // ownedBy: "STRING_VALUE", - * // sessionId: "STRING_VALUE", - * // state: "CREATE_IN_PROGRESS" || "DELETE_IN_PROGRESS" || "READY" || "DELETED" || "CREATE_FAILED" || "DELETE_FAILED" || "STOP_IN_PROGRESS" || "START_IN_PROGRESS" || "STOPPED" || "STOP_FAILED" || "START_FAILED", - * // statusCode: "STREAMING_SESSION_READY" || "STREAMING_SESSION_DELETED" || "STREAMING_SESSION_CREATE_IN_PROGRESS" || "STREAMING_SESSION_DELETE_IN_PROGRESS" || "INTERNAL_ERROR" || "INSUFFICIENT_CAPACITY" || "ACTIVE_DIRECTORY_DOMAIN_JOIN_ERROR" || "NETWORK_CONNECTION_ERROR" || "INITIALIZATION_SCRIPT_ERROR" || "DECRYPT_STREAMING_IMAGE_ERROR" || "NETWORK_INTERFACE_ERROR" || "STREAMING_SESSION_STOPPED" || "STREAMING_SESSION_STARTED" || "STREAMING_SESSION_STOP_IN_PROGRESS" || "STREAMING_SESSION_START_IN_PROGRESS" || "AMI_VALIDATION_ERROR", - * // statusMessage: "STRING_VALUE", - * // backupId: "STRING_VALUE", - * // tags: { // Tags - * // "": "STRING_VALUE", - * // }, - * // }, - * // ], - * // }; - * - * ``` - * - * @param ListStreamingSessionBackupsCommandInput - {@link ListStreamingSessionBackupsCommandInput} - * @returns {@link ListStreamingSessionBackupsCommandOutput} - * @see {@link ListStreamingSessionBackupsCommandInput} for command's `input` shape. - * @see {@link ListStreamingSessionBackupsCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class ListStreamingSessionBackupsCommand extends $Command - .classBuilder< - ListStreamingSessionBackupsCommandInput, - ListStreamingSessionBackupsCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "ListStreamingSessionBackups", {}) - .n("NimbleClient", "ListStreamingSessionBackupsCommand") - .f(void 0, void 0) - .ser(se_ListStreamingSessionBackupsCommand) - .de(de_ListStreamingSessionBackupsCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: ListStreamingSessionBackupsRequest; - output: ListStreamingSessionBackupsResponse; - }; - sdk: { - input: ListStreamingSessionBackupsCommandInput; - output: ListStreamingSessionBackupsCommandOutput; - }; - }; -} diff --git a/clients/client-nimble/src/commands/ListStreamingSessionsCommand.ts b/clients/client-nimble/src/commands/ListStreamingSessionsCommand.ts deleted file mode 100644 index 5ee523532e6b..000000000000 --- a/clients/client-nimble/src/commands/ListStreamingSessionsCommand.ts +++ /dev/null @@ -1,157 +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 { ListStreamingSessionsRequest, ListStreamingSessionsResponse } from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -import { de_ListStreamingSessionsCommand, se_ListStreamingSessionsCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListStreamingSessionsCommand}. - */ -export interface ListStreamingSessionsCommandInput extends ListStreamingSessionsRequest {} -/** - * @public - * - * The output of {@link ListStreamingSessionsCommand}. - */ -export interface ListStreamingSessionsCommandOutput extends ListStreamingSessionsResponse, __MetadataBearer {} - -/** - *

Lists the streaming sessions in a studio.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, ListStreamingSessionsCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, ListStreamingSessionsCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // ListStreamingSessionsRequest - * createdBy: "STRING_VALUE", - * nextToken: "STRING_VALUE", - * ownedBy: "STRING_VALUE", - * sessionIds: "STRING_VALUE", - * studioId: "STRING_VALUE", // required - * }; - * const command = new ListStreamingSessionsCommand(input); - * const response = await client.send(command); - * // { // ListStreamingSessionsResponse - * // nextToken: "STRING_VALUE", - * // sessions: [ // StreamingSessionList - * // { // StreamingSession - * // arn: "STRING_VALUE", - * // createdAt: new Date("TIMESTAMP"), - * // createdBy: "STRING_VALUE", - * // ec2InstanceType: "STRING_VALUE", - * // launchProfileId: "STRING_VALUE", - * // ownedBy: "STRING_VALUE", - * // sessionId: "STRING_VALUE", - * // state: "CREATE_IN_PROGRESS" || "DELETE_IN_PROGRESS" || "READY" || "DELETED" || "CREATE_FAILED" || "DELETE_FAILED" || "STOP_IN_PROGRESS" || "START_IN_PROGRESS" || "STOPPED" || "STOP_FAILED" || "START_FAILED", - * // statusCode: "STREAMING_SESSION_READY" || "STREAMING_SESSION_DELETED" || "STREAMING_SESSION_CREATE_IN_PROGRESS" || "STREAMING_SESSION_DELETE_IN_PROGRESS" || "INTERNAL_ERROR" || "INSUFFICIENT_CAPACITY" || "ACTIVE_DIRECTORY_DOMAIN_JOIN_ERROR" || "NETWORK_CONNECTION_ERROR" || "INITIALIZATION_SCRIPT_ERROR" || "DECRYPT_STREAMING_IMAGE_ERROR" || "NETWORK_INTERFACE_ERROR" || "STREAMING_SESSION_STOPPED" || "STREAMING_SESSION_STARTED" || "STREAMING_SESSION_STOP_IN_PROGRESS" || "STREAMING_SESSION_START_IN_PROGRESS" || "AMI_VALIDATION_ERROR", - * // statusMessage: "STRING_VALUE", - * // streamingImageId: "STRING_VALUE", - * // tags: { // Tags - * // "": "STRING_VALUE", - * // }, - * // terminateAt: new Date("TIMESTAMP"), - * // updatedAt: new Date("TIMESTAMP"), - * // updatedBy: "STRING_VALUE", - * // stoppedAt: new Date("TIMESTAMP"), - * // stoppedBy: "STRING_VALUE", - * // startedAt: new Date("TIMESTAMP"), - * // startedBy: "STRING_VALUE", - * // stopAt: new Date("TIMESTAMP"), - * // startedFromBackupId: "STRING_VALUE", - * // backupMode: "AUTOMATIC" || "DEACTIVATED", - * // maxBackupsToRetain: Number("int"), - * // volumeRetentionMode: "RETAIN" || "DELETE", - * // sessionPersistenceMode: "DEACTIVATED" || "ACTIVATED", - * // volumeConfiguration: { // VolumeConfiguration - * // size: Number("int"), - * // throughput: Number("int"), - * // iops: Number("int"), - * // }, - * // automaticTerminationMode: "DEACTIVATED" || "ACTIVATED", - * // }, - * // ], - * // }; - * - * ``` - * - * @param ListStreamingSessionsCommandInput - {@link ListStreamingSessionsCommandInput} - * @returns {@link ListStreamingSessionsCommandOutput} - * @see {@link ListStreamingSessionsCommandInput} for command's `input` shape. - * @see {@link ListStreamingSessionsCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class ListStreamingSessionsCommand extends $Command - .classBuilder< - ListStreamingSessionsCommandInput, - ListStreamingSessionsCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "ListStreamingSessions", {}) - .n("NimbleClient", "ListStreamingSessionsCommand") - .f(void 0, void 0) - .ser(se_ListStreamingSessionsCommand) - .de(de_ListStreamingSessionsCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: ListStreamingSessionsRequest; - output: ListStreamingSessionsResponse; - }; - sdk: { - input: ListStreamingSessionsCommandInput; - output: ListStreamingSessionsCommandOutput; - }; - }; -} diff --git a/clients/client-nimble/src/commands/ListStudioComponentsCommand.ts b/clients/client-nimble/src/commands/ListStudioComponentsCommand.ts deleted file mode 100644 index 37d95d005ff5..000000000000 --- a/clients/client-nimble/src/commands/ListStudioComponentsCommand.ts +++ /dev/null @@ -1,193 +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 { - ListStudioComponentsRequest, - ListStudioComponentsResponse, - ListStudioComponentsResponseFilterSensitiveLog, -} from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -import { de_ListStudioComponentsCommand, se_ListStudioComponentsCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListStudioComponentsCommand}. - */ -export interface ListStudioComponentsCommandInput extends ListStudioComponentsRequest {} -/** - * @public - * - * The output of {@link ListStudioComponentsCommand}. - */ -export interface ListStudioComponentsCommandOutput extends ListStudioComponentsResponse, __MetadataBearer {} - -/** - *

Lists the StudioComponents in a studio.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, ListStudioComponentsCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, ListStudioComponentsCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // ListStudioComponentsRequest - * maxResults: Number("int"), - * nextToken: "STRING_VALUE", - * states: [ // StudioComponentStateList - * "CREATE_IN_PROGRESS" || "READY" || "UPDATE_IN_PROGRESS" || "DELETE_IN_PROGRESS" || "DELETED" || "DELETE_FAILED" || "CREATE_FAILED" || "UPDATE_FAILED", - * ], - * studioId: "STRING_VALUE", // required - * types: [ // StudioComponentTypeList - * "ACTIVE_DIRECTORY" || "SHARED_FILE_SYSTEM" || "COMPUTE_FARM" || "LICENSE_SERVICE" || "CUSTOM", - * ], - * }; - * const command = new ListStudioComponentsCommand(input); - * const response = await client.send(command); - * // { // ListStudioComponentsResponse - * // nextToken: "STRING_VALUE", - * // studioComponents: [ // StudioComponentList - * // { // StudioComponent - * // arn: "STRING_VALUE", - * // configuration: { // StudioComponentConfiguration - * // activeDirectoryConfiguration: { // ActiveDirectoryConfiguration - * // computerAttributes: [ // ActiveDirectoryComputerAttributeList - * // { // ActiveDirectoryComputerAttribute - * // name: "STRING_VALUE", - * // value: "STRING_VALUE", - * // }, - * // ], - * // directoryId: "STRING_VALUE", - * // organizationalUnitDistinguishedName: "STRING_VALUE", - * // }, - * // computeFarmConfiguration: { // ComputeFarmConfiguration - * // activeDirectoryUser: "STRING_VALUE", - * // endpoint: "STRING_VALUE", - * // }, - * // licenseServiceConfiguration: { // LicenseServiceConfiguration - * // endpoint: "STRING_VALUE", - * // }, - * // sharedFileSystemConfiguration: { // SharedFileSystemConfiguration - * // endpoint: "STRING_VALUE", - * // fileSystemId: "STRING_VALUE", - * // linuxMountPoint: "STRING_VALUE", - * // shareName: "STRING_VALUE", - * // windowsMountDrive: "STRING_VALUE", - * // }, - * // }, - * // createdAt: new Date("TIMESTAMP"), - * // createdBy: "STRING_VALUE", - * // description: "STRING_VALUE", - * // ec2SecurityGroupIds: [ // StudioComponentSecurityGroupIdList - * // "STRING_VALUE", - * // ], - * // initializationScripts: [ // StudioComponentInitializationScriptList - * // { // StudioComponentInitializationScript - * // launchProfileProtocolVersion: "STRING_VALUE", - * // platform: "LINUX" || "WINDOWS", - * // runContext: "SYSTEM_INITIALIZATION" || "USER_INITIALIZATION", - * // script: "STRING_VALUE", - * // }, - * // ], - * // name: "STRING_VALUE", - * // scriptParameters: [ // StudioComponentScriptParameterKeyValueList - * // { // ScriptParameterKeyValue - * // key: "STRING_VALUE", - * // value: "STRING_VALUE", - * // }, - * // ], - * // state: "CREATE_IN_PROGRESS" || "READY" || "UPDATE_IN_PROGRESS" || "DELETE_IN_PROGRESS" || "DELETED" || "DELETE_FAILED" || "CREATE_FAILED" || "UPDATE_FAILED", - * // statusCode: "ACTIVE_DIRECTORY_ALREADY_EXISTS" || "STUDIO_COMPONENT_CREATED" || "STUDIO_COMPONENT_UPDATED" || "STUDIO_COMPONENT_DELETED" || "ENCRYPTION_KEY_ACCESS_DENIED" || "ENCRYPTION_KEY_NOT_FOUND" || "STUDIO_COMPONENT_CREATE_IN_PROGRESS" || "STUDIO_COMPONENT_UPDATE_IN_PROGRESS" || "STUDIO_COMPONENT_DELETE_IN_PROGRESS" || "INTERNAL_ERROR", - * // statusMessage: "STRING_VALUE", - * // studioComponentId: "STRING_VALUE", - * // subtype: "AWS_MANAGED_MICROSOFT_AD" || "AMAZON_FSX_FOR_WINDOWS" || "AMAZON_FSX_FOR_LUSTRE" || "CUSTOM", - * // tags: { // Tags - * // "": "STRING_VALUE", - * // }, - * // type: "ACTIVE_DIRECTORY" || "SHARED_FILE_SYSTEM" || "COMPUTE_FARM" || "LICENSE_SERVICE" || "CUSTOM", - * // updatedAt: new Date("TIMESTAMP"), - * // updatedBy: "STRING_VALUE", - * // secureInitializationRoleArn: "STRING_VALUE", - * // runtimeRoleArn: "STRING_VALUE", - * // }, - * // ], - * // }; - * - * ``` - * - * @param ListStudioComponentsCommandInput - {@link ListStudioComponentsCommandInput} - * @returns {@link ListStudioComponentsCommandOutput} - * @see {@link ListStudioComponentsCommandInput} for command's `input` shape. - * @see {@link ListStudioComponentsCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class ListStudioComponentsCommand extends $Command - .classBuilder< - ListStudioComponentsCommandInput, - ListStudioComponentsCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "ListStudioComponents", {}) - .n("NimbleClient", "ListStudioComponentsCommand") - .f(void 0, ListStudioComponentsResponseFilterSensitiveLog) - .ser(se_ListStudioComponentsCommand) - .de(de_ListStudioComponentsCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: ListStudioComponentsRequest; - output: ListStudioComponentsResponse; - }; - sdk: { - input: ListStudioComponentsCommandInput; - output: ListStudioComponentsCommandOutput; - }; - }; -} diff --git a/clients/client-nimble/src/commands/ListStudioMembersCommand.ts b/clients/client-nimble/src/commands/ListStudioMembersCommand.ts deleted file mode 100644 index bdc03b2faedd..000000000000 --- a/clients/client-nimble/src/commands/ListStudioMembersCommand.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 { commonParams } from "../endpoint/EndpointParameters"; -import { ListStudioMembersRequest, ListStudioMembersResponse } from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -import { de_ListStudioMembersCommand, se_ListStudioMembersCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListStudioMembersCommand}. - */ -export interface ListStudioMembersCommandInput extends ListStudioMembersRequest {} -/** - * @public - * - * The output of {@link ListStudioMembersCommand}. - */ -export interface ListStudioMembersCommandOutput extends ListStudioMembersResponse, __MetadataBearer {} - -/** - *

Get all users in a given studio membership.

- * - *

- * ListStudioMembers only returns admin members.

- *
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, ListStudioMembersCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, ListStudioMembersCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // ListStudioMembersRequest - * maxResults: Number("int"), - * nextToken: "STRING_VALUE", - * studioId: "STRING_VALUE", // required - * }; - * const command = new ListStudioMembersCommand(input); - * const response = await client.send(command); - * // { // ListStudioMembersResponse - * // members: [ // StudioMembershipList - * // { // StudioMembership - * // identityStoreId: "STRING_VALUE", - * // persona: "ADMINISTRATOR", - * // principalId: "STRING_VALUE", - * // sid: "STRING_VALUE", - * // }, - * // ], - * // nextToken: "STRING_VALUE", - * // }; - * - * ``` - * - * @param ListStudioMembersCommandInput - {@link ListStudioMembersCommandInput} - * @returns {@link ListStudioMembersCommandOutput} - * @see {@link ListStudioMembersCommandInput} for command's `input` shape. - * @see {@link ListStudioMembersCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class ListStudioMembersCommand extends $Command - .classBuilder< - ListStudioMembersCommandInput, - ListStudioMembersCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "ListStudioMembers", {}) - .n("NimbleClient", "ListStudioMembersCommand") - .f(void 0, void 0) - .ser(se_ListStudioMembersCommand) - .de(de_ListStudioMembersCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: ListStudioMembersRequest; - output: ListStudioMembersResponse; - }; - sdk: { - input: ListStudioMembersCommandInput; - output: ListStudioMembersCommandOutput; - }; - }; -} diff --git a/clients/client-nimble/src/commands/ListStudiosCommand.ts b/clients/client-nimble/src/commands/ListStudiosCommand.ts deleted file mode 100644 index ee0a9acc05a7..000000000000 --- a/clients/client-nimble/src/commands/ListStudiosCommand.ts +++ /dev/null @@ -1,141 +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 { ListStudiosRequest, ListStudiosResponse, ListStudiosResponseFilterSensitiveLog } from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -import { de_ListStudiosCommand, se_ListStudiosCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListStudiosCommand}. - */ -export interface ListStudiosCommandInput extends ListStudiosRequest {} -/** - * @public - * - * The output of {@link ListStudiosCommand}. - */ -export interface ListStudiosCommandOutput extends ListStudiosResponse, __MetadataBearer {} - -/** - *

List studios in your Amazon Web Services accounts in the requested Amazon Web Services Region.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, ListStudiosCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, ListStudiosCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // ListStudiosRequest - * nextToken: "STRING_VALUE", - * }; - * const command = new ListStudiosCommand(input); - * const response = await client.send(command); - * // { // ListStudiosResponse - * // nextToken: "STRING_VALUE", - * // studios: [ // StudioList // required - * // { // Studio - * // adminRoleArn: "STRING_VALUE", - * // arn: "STRING_VALUE", - * // createdAt: new Date("TIMESTAMP"), - * // displayName: "STRING_VALUE", - * // homeRegion: "STRING_VALUE", - * // ssoClientId: "STRING_VALUE", - * // state: "CREATE_IN_PROGRESS" || "READY" || "UPDATE_IN_PROGRESS" || "DELETE_IN_PROGRESS" || "DELETED" || "DELETE_FAILED" || "CREATE_FAILED" || "UPDATE_FAILED", - * // statusCode: "STUDIO_CREATED" || "STUDIO_DELETED" || "STUDIO_UPDATED" || "STUDIO_CREATE_IN_PROGRESS" || "STUDIO_UPDATE_IN_PROGRESS" || "STUDIO_DELETE_IN_PROGRESS" || "STUDIO_WITH_LAUNCH_PROFILES_NOT_DELETED" || "STUDIO_WITH_STUDIO_COMPONENTS_NOT_DELETED" || "STUDIO_WITH_STREAMING_IMAGES_NOT_DELETED" || "AWS_SSO_NOT_ENABLED" || "AWS_SSO_ACCESS_DENIED" || "ROLE_NOT_OWNED_BY_STUDIO_OWNER" || "ROLE_COULD_NOT_BE_ASSUMED" || "INTERNAL_ERROR" || "ENCRYPTION_KEY_NOT_FOUND" || "ENCRYPTION_KEY_ACCESS_DENIED" || "AWS_SSO_CONFIGURATION_REPAIRED" || "AWS_SSO_CONFIGURATION_REPAIR_IN_PROGRESS" || "AWS_STS_REGION_DISABLED", - * // statusMessage: "STRING_VALUE", - * // studioEncryptionConfiguration: { // StudioEncryptionConfiguration - * // keyArn: "STRING_VALUE", - * // keyType: "AWS_OWNED_KEY" || "CUSTOMER_MANAGED_KEY", // required - * // }, - * // studioId: "STRING_VALUE", - * // studioName: "STRING_VALUE", - * // studioUrl: "STRING_VALUE", - * // tags: { // Tags - * // "": "STRING_VALUE", - * // }, - * // updatedAt: new Date("TIMESTAMP"), - * // userRoleArn: "STRING_VALUE", - * // }, - * // ], - * // }; - * - * ``` - * - * @param ListStudiosCommandInput - {@link ListStudiosCommandInput} - * @returns {@link ListStudiosCommandOutput} - * @see {@link ListStudiosCommandInput} for command's `input` shape. - * @see {@link ListStudiosCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class ListStudiosCommand extends $Command - .classBuilder< - ListStudiosCommandInput, - ListStudiosCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "ListStudios", {}) - .n("NimbleClient", "ListStudiosCommand") - .f(void 0, ListStudiosResponseFilterSensitiveLog) - .ser(se_ListStudiosCommand) - .de(de_ListStudiosCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: ListStudiosRequest; - output: ListStudiosResponse; - }; - sdk: { - input: ListStudiosCommandInput; - output: ListStudiosCommandOutput; - }; - }; -} diff --git a/clients/client-nimble/src/commands/ListTagsForResourceCommand.ts b/clients/client-nimble/src/commands/ListTagsForResourceCommand.ts deleted file mode 100644 index 7ba804de42e3..000000000000 --- a/clients/client-nimble/src/commands/ListTagsForResourceCommand.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 { commonParams } from "../endpoint/EndpointParameters"; -import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -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 {} - -/** - *

Gets the tags for a resource, given its Amazon Resource Names (ARN).

- *

This operation supports ARNs for all resource types in Nimble Studio that support - * tags, including studio, studio component, launch profile, streaming image, and streaming - * session. All resources that can be tagged will contain an ARN property, so you do not - * have to create this ARN yourself.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, ListTagsForResourceCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, ListTagsForResourceCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // ListTagsForResourceRequest - * resourceArn: "STRING_VALUE", // required - * }; - * const command = new ListTagsForResourceCommand(input); - * const response = await client.send(command); - * // { // ListTagsForResourceResponse - * // tags: { // Tags - * // "": "STRING_VALUE", - * // }, - * // }; - * - * ``` - * - * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput} - * @returns {@link ListTagsForResourceCommandOutput} - * @see {@link ListTagsForResourceCommandInput} for command's `input` shape. - * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class ListTagsForResourceCommand extends $Command - .classBuilder< - ListTagsForResourceCommandInput, - ListTagsForResourceCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "ListTagsForResource", {}) - .n("NimbleClient", "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-nimble/src/commands/PutLaunchProfileMembersCommand.ts b/clients/client-nimble/src/commands/PutLaunchProfileMembersCommand.ts deleted file mode 100644 index f10b6d97f2d4..000000000000 --- a/clients/client-nimble/src/commands/PutLaunchProfileMembersCommand.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 { commonParams } from "../endpoint/EndpointParameters"; -import { PutLaunchProfileMembersRequest, PutLaunchProfileMembersResponse } from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -import { de_PutLaunchProfileMembersCommand, se_PutLaunchProfileMembersCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link PutLaunchProfileMembersCommand}. - */ -export interface PutLaunchProfileMembersCommandInput extends PutLaunchProfileMembersRequest {} -/** - * @public - * - * The output of {@link PutLaunchProfileMembersCommand}. - */ -export interface PutLaunchProfileMembersCommandOutput extends PutLaunchProfileMembersResponse, __MetadataBearer {} - -/** - *

Add/update users with given persona to launch profile membership.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, PutLaunchProfileMembersCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, PutLaunchProfileMembersCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // PutLaunchProfileMembersRequest - * clientToken: "STRING_VALUE", - * identityStoreId: "STRING_VALUE", // required - * launchProfileId: "STRING_VALUE", // required - * members: [ // NewLaunchProfileMemberList // required - * { // NewLaunchProfileMember - * persona: "USER", // required - * principalId: "STRING_VALUE", // required - * }, - * ], - * studioId: "STRING_VALUE", // required - * }; - * const command = new PutLaunchProfileMembersCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param PutLaunchProfileMembersCommandInput - {@link PutLaunchProfileMembersCommandInput} - * @returns {@link PutLaunchProfileMembersCommandOutput} - * @see {@link PutLaunchProfileMembersCommandInput} for command's `input` shape. - * @see {@link PutLaunchProfileMembersCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class PutLaunchProfileMembersCommand extends $Command - .classBuilder< - PutLaunchProfileMembersCommandInput, - PutLaunchProfileMembersCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "PutLaunchProfileMembers", {}) - .n("NimbleClient", "PutLaunchProfileMembersCommand") - .f(void 0, void 0) - .ser(se_PutLaunchProfileMembersCommand) - .de(de_PutLaunchProfileMembersCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: PutLaunchProfileMembersRequest; - output: {}; - }; - sdk: { - input: PutLaunchProfileMembersCommandInput; - output: PutLaunchProfileMembersCommandOutput; - }; - }; -} diff --git a/clients/client-nimble/src/commands/PutStudioMembersCommand.ts b/clients/client-nimble/src/commands/PutStudioMembersCommand.ts deleted file mode 100644 index 32a210721a6c..000000000000 --- a/clients/client-nimble/src/commands/PutStudioMembersCommand.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 { commonParams } from "../endpoint/EndpointParameters"; -import { PutStudioMembersRequest, PutStudioMembersResponse } from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -import { de_PutStudioMembersCommand, se_PutStudioMembersCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link PutStudioMembersCommand}. - */ -export interface PutStudioMembersCommandInput extends PutStudioMembersRequest {} -/** - * @public - * - * The output of {@link PutStudioMembersCommand}. - */ -export interface PutStudioMembersCommandOutput extends PutStudioMembersResponse, __MetadataBearer {} - -/** - *

Add/update users with given persona to studio membership.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, PutStudioMembersCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, PutStudioMembersCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // PutStudioMembersRequest - * clientToken: "STRING_VALUE", - * identityStoreId: "STRING_VALUE", // required - * members: [ // NewStudioMemberList // required - * { // NewStudioMember - * persona: "ADMINISTRATOR", // required - * principalId: "STRING_VALUE", // required - * }, - * ], - * studioId: "STRING_VALUE", // required - * }; - * const command = new PutStudioMembersCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param PutStudioMembersCommandInput - {@link PutStudioMembersCommandInput} - * @returns {@link PutStudioMembersCommandOutput} - * @see {@link PutStudioMembersCommandInput} for command's `input` shape. - * @see {@link PutStudioMembersCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class PutStudioMembersCommand extends $Command - .classBuilder< - PutStudioMembersCommandInput, - PutStudioMembersCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "PutStudioMembers", {}) - .n("NimbleClient", "PutStudioMembersCommand") - .f(void 0, void 0) - .ser(se_PutStudioMembersCommand) - .de(de_PutStudioMembersCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: PutStudioMembersRequest; - output: {}; - }; - sdk: { - input: PutStudioMembersCommandInput; - output: PutStudioMembersCommandOutput; - }; - }; -} diff --git a/clients/client-nimble/src/commands/StartStreamingSessionCommand.ts b/clients/client-nimble/src/commands/StartStreamingSessionCommand.ts deleted file mode 100644 index 6bb0c7c279d7..000000000000 --- a/clients/client-nimble/src/commands/StartStreamingSessionCommand.ts +++ /dev/null @@ -1,155 +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 { StartStreamingSessionRequest, StartStreamingSessionResponse } from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -import { de_StartStreamingSessionCommand, se_StartStreamingSessionCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link StartStreamingSessionCommand}. - */ -export interface StartStreamingSessionCommandInput extends StartStreamingSessionRequest {} -/** - * @public - * - * The output of {@link StartStreamingSessionCommand}. - */ -export interface StartStreamingSessionCommandOutput extends StartStreamingSessionResponse, __MetadataBearer {} - -/** - *

Transitions sessions from the STOPPED state into the READY - * state. The START_IN_PROGRESS state is the intermediate state between the - * STOPPED and READY states.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, StartStreamingSessionCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, StartStreamingSessionCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // StartStreamingSessionRequest - * clientToken: "STRING_VALUE", - * sessionId: "STRING_VALUE", // required - * studioId: "STRING_VALUE", // required - * backupId: "STRING_VALUE", - * }; - * const command = new StartStreamingSessionCommand(input); - * const response = await client.send(command); - * // { // StartStreamingSessionResponse - * // session: { // StreamingSession - * // arn: "STRING_VALUE", - * // createdAt: new Date("TIMESTAMP"), - * // createdBy: "STRING_VALUE", - * // ec2InstanceType: "STRING_VALUE", - * // launchProfileId: "STRING_VALUE", - * // ownedBy: "STRING_VALUE", - * // sessionId: "STRING_VALUE", - * // state: "CREATE_IN_PROGRESS" || "DELETE_IN_PROGRESS" || "READY" || "DELETED" || "CREATE_FAILED" || "DELETE_FAILED" || "STOP_IN_PROGRESS" || "START_IN_PROGRESS" || "STOPPED" || "STOP_FAILED" || "START_FAILED", - * // statusCode: "STREAMING_SESSION_READY" || "STREAMING_SESSION_DELETED" || "STREAMING_SESSION_CREATE_IN_PROGRESS" || "STREAMING_SESSION_DELETE_IN_PROGRESS" || "INTERNAL_ERROR" || "INSUFFICIENT_CAPACITY" || "ACTIVE_DIRECTORY_DOMAIN_JOIN_ERROR" || "NETWORK_CONNECTION_ERROR" || "INITIALIZATION_SCRIPT_ERROR" || "DECRYPT_STREAMING_IMAGE_ERROR" || "NETWORK_INTERFACE_ERROR" || "STREAMING_SESSION_STOPPED" || "STREAMING_SESSION_STARTED" || "STREAMING_SESSION_STOP_IN_PROGRESS" || "STREAMING_SESSION_START_IN_PROGRESS" || "AMI_VALIDATION_ERROR", - * // statusMessage: "STRING_VALUE", - * // streamingImageId: "STRING_VALUE", - * // tags: { // Tags - * // "": "STRING_VALUE", - * // }, - * // terminateAt: new Date("TIMESTAMP"), - * // updatedAt: new Date("TIMESTAMP"), - * // updatedBy: "STRING_VALUE", - * // stoppedAt: new Date("TIMESTAMP"), - * // stoppedBy: "STRING_VALUE", - * // startedAt: new Date("TIMESTAMP"), - * // startedBy: "STRING_VALUE", - * // stopAt: new Date("TIMESTAMP"), - * // startedFromBackupId: "STRING_VALUE", - * // backupMode: "AUTOMATIC" || "DEACTIVATED", - * // maxBackupsToRetain: Number("int"), - * // volumeRetentionMode: "RETAIN" || "DELETE", - * // sessionPersistenceMode: "DEACTIVATED" || "ACTIVATED", - * // volumeConfiguration: { // VolumeConfiguration - * // size: Number("int"), - * // throughput: Number("int"), - * // iops: Number("int"), - * // }, - * // automaticTerminationMode: "DEACTIVATED" || "ACTIVATED", - * // }, - * // }; - * - * ``` - * - * @param StartStreamingSessionCommandInput - {@link StartStreamingSessionCommandInput} - * @returns {@link StartStreamingSessionCommandOutput} - * @see {@link StartStreamingSessionCommandInput} for command's `input` shape. - * @see {@link StartStreamingSessionCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class StartStreamingSessionCommand extends $Command - .classBuilder< - StartStreamingSessionCommandInput, - StartStreamingSessionCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "StartStreamingSession", {}) - .n("NimbleClient", "StartStreamingSessionCommand") - .f(void 0, void 0) - .ser(se_StartStreamingSessionCommand) - .de(de_StartStreamingSessionCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: StartStreamingSessionRequest; - output: StartStreamingSessionResponse; - }; - sdk: { - input: StartStreamingSessionCommandInput; - output: StartStreamingSessionCommandOutput; - }; - }; -} diff --git a/clients/client-nimble/src/commands/StartStudioSSOConfigurationRepairCommand.ts b/clients/client-nimble/src/commands/StartStudioSSOConfigurationRepairCommand.ts deleted file mode 100644 index 1ae109a28aa5..000000000000 --- a/clients/client-nimble/src/commands/StartStudioSSOConfigurationRepairCommand.ts +++ /dev/null @@ -1,154 +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 { - StartStudioSSOConfigurationRepairRequest, - StartStudioSSOConfigurationRepairResponse, - StartStudioSSOConfigurationRepairResponseFilterSensitiveLog, -} from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -import { - de_StartStudioSSOConfigurationRepairCommand, - se_StartStudioSSOConfigurationRepairCommand, -} from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link StartStudioSSOConfigurationRepairCommand}. - */ -export interface StartStudioSSOConfigurationRepairCommandInput extends StartStudioSSOConfigurationRepairRequest {} -/** - * @public - * - * The output of {@link StartStudioSSOConfigurationRepairCommand}. - */ -export interface StartStudioSSOConfigurationRepairCommandOutput - extends StartStudioSSOConfigurationRepairResponse, - __MetadataBearer {} - -/** - *

Repairs the IAM Identity Center configuration for a given studio.

- *

If the studio has a valid IAM Identity Center configuration currently associated with - * it, this operation will fail with a validation error.

- *

If the studio does not have a valid IAM Identity Center configuration currently - * associated with it, then a new IAM Identity Center application is created for the studio - * and the studio is changed to the READY state.

- *

After the IAM Identity Center application is repaired, you must use the Amazon Nimble Studio console to add administrators and users to your studio.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, StartStudioSSOConfigurationRepairCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, StartStudioSSOConfigurationRepairCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // StartStudioSSOConfigurationRepairRequest - * clientToken: "STRING_VALUE", - * studioId: "STRING_VALUE", // required - * }; - * const command = new StartStudioSSOConfigurationRepairCommand(input); - * const response = await client.send(command); - * // { // StartStudioSSOConfigurationRepairResponse - * // studio: { // Studio - * // adminRoleArn: "STRING_VALUE", - * // arn: "STRING_VALUE", - * // createdAt: new Date("TIMESTAMP"), - * // displayName: "STRING_VALUE", - * // homeRegion: "STRING_VALUE", - * // ssoClientId: "STRING_VALUE", - * // state: "CREATE_IN_PROGRESS" || "READY" || "UPDATE_IN_PROGRESS" || "DELETE_IN_PROGRESS" || "DELETED" || "DELETE_FAILED" || "CREATE_FAILED" || "UPDATE_FAILED", - * // statusCode: "STUDIO_CREATED" || "STUDIO_DELETED" || "STUDIO_UPDATED" || "STUDIO_CREATE_IN_PROGRESS" || "STUDIO_UPDATE_IN_PROGRESS" || "STUDIO_DELETE_IN_PROGRESS" || "STUDIO_WITH_LAUNCH_PROFILES_NOT_DELETED" || "STUDIO_WITH_STUDIO_COMPONENTS_NOT_DELETED" || "STUDIO_WITH_STREAMING_IMAGES_NOT_DELETED" || "AWS_SSO_NOT_ENABLED" || "AWS_SSO_ACCESS_DENIED" || "ROLE_NOT_OWNED_BY_STUDIO_OWNER" || "ROLE_COULD_NOT_BE_ASSUMED" || "INTERNAL_ERROR" || "ENCRYPTION_KEY_NOT_FOUND" || "ENCRYPTION_KEY_ACCESS_DENIED" || "AWS_SSO_CONFIGURATION_REPAIRED" || "AWS_SSO_CONFIGURATION_REPAIR_IN_PROGRESS" || "AWS_STS_REGION_DISABLED", - * // statusMessage: "STRING_VALUE", - * // studioEncryptionConfiguration: { // StudioEncryptionConfiguration - * // keyArn: "STRING_VALUE", - * // keyType: "AWS_OWNED_KEY" || "CUSTOMER_MANAGED_KEY", // required - * // }, - * // studioId: "STRING_VALUE", - * // studioName: "STRING_VALUE", - * // studioUrl: "STRING_VALUE", - * // tags: { // Tags - * // "": "STRING_VALUE", - * // }, - * // updatedAt: new Date("TIMESTAMP"), - * // userRoleArn: "STRING_VALUE", - * // }, - * // }; - * - * ``` - * - * @param StartStudioSSOConfigurationRepairCommandInput - {@link StartStudioSSOConfigurationRepairCommandInput} - * @returns {@link StartStudioSSOConfigurationRepairCommandOutput} - * @see {@link StartStudioSSOConfigurationRepairCommandInput} for command's `input` shape. - * @see {@link StartStudioSSOConfigurationRepairCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class StartStudioSSOConfigurationRepairCommand extends $Command - .classBuilder< - StartStudioSSOConfigurationRepairCommandInput, - StartStudioSSOConfigurationRepairCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "StartStudioSSOConfigurationRepair", {}) - .n("NimbleClient", "StartStudioSSOConfigurationRepairCommand") - .f(void 0, StartStudioSSOConfigurationRepairResponseFilterSensitiveLog) - .ser(se_StartStudioSSOConfigurationRepairCommand) - .de(de_StartStudioSSOConfigurationRepairCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: StartStudioSSOConfigurationRepairRequest; - output: StartStudioSSOConfigurationRepairResponse; - }; - sdk: { - input: StartStudioSSOConfigurationRepairCommandInput; - output: StartStudioSSOConfigurationRepairCommandOutput; - }; - }; -} diff --git a/clients/client-nimble/src/commands/StopStreamingSessionCommand.ts b/clients/client-nimble/src/commands/StopStreamingSessionCommand.ts deleted file mode 100644 index ad4479a26944..000000000000 --- a/clients/client-nimble/src/commands/StopStreamingSessionCommand.ts +++ /dev/null @@ -1,155 +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 { StopStreamingSessionRequest, StopStreamingSessionResponse } from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -import { de_StopStreamingSessionCommand, se_StopStreamingSessionCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link StopStreamingSessionCommand}. - */ -export interface StopStreamingSessionCommandInput extends StopStreamingSessionRequest {} -/** - * @public - * - * The output of {@link StopStreamingSessionCommand}. - */ -export interface StopStreamingSessionCommandOutput extends StopStreamingSessionResponse, __MetadataBearer {} - -/** - *

Transitions sessions from the READY state into the STOPPED - * state. The STOP_IN_PROGRESS state is the intermediate state between the - * READY and STOPPED states.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, StopStreamingSessionCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, StopStreamingSessionCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // StopStreamingSessionRequest - * clientToken: "STRING_VALUE", - * sessionId: "STRING_VALUE", // required - * studioId: "STRING_VALUE", // required - * volumeRetentionMode: "RETAIN" || "DELETE", - * }; - * const command = new StopStreamingSessionCommand(input); - * const response = await client.send(command); - * // { // StopStreamingSessionResponse - * // session: { // StreamingSession - * // arn: "STRING_VALUE", - * // createdAt: new Date("TIMESTAMP"), - * // createdBy: "STRING_VALUE", - * // ec2InstanceType: "STRING_VALUE", - * // launchProfileId: "STRING_VALUE", - * // ownedBy: "STRING_VALUE", - * // sessionId: "STRING_VALUE", - * // state: "CREATE_IN_PROGRESS" || "DELETE_IN_PROGRESS" || "READY" || "DELETED" || "CREATE_FAILED" || "DELETE_FAILED" || "STOP_IN_PROGRESS" || "START_IN_PROGRESS" || "STOPPED" || "STOP_FAILED" || "START_FAILED", - * // statusCode: "STREAMING_SESSION_READY" || "STREAMING_SESSION_DELETED" || "STREAMING_SESSION_CREATE_IN_PROGRESS" || "STREAMING_SESSION_DELETE_IN_PROGRESS" || "INTERNAL_ERROR" || "INSUFFICIENT_CAPACITY" || "ACTIVE_DIRECTORY_DOMAIN_JOIN_ERROR" || "NETWORK_CONNECTION_ERROR" || "INITIALIZATION_SCRIPT_ERROR" || "DECRYPT_STREAMING_IMAGE_ERROR" || "NETWORK_INTERFACE_ERROR" || "STREAMING_SESSION_STOPPED" || "STREAMING_SESSION_STARTED" || "STREAMING_SESSION_STOP_IN_PROGRESS" || "STREAMING_SESSION_START_IN_PROGRESS" || "AMI_VALIDATION_ERROR", - * // statusMessage: "STRING_VALUE", - * // streamingImageId: "STRING_VALUE", - * // tags: { // Tags - * // "": "STRING_VALUE", - * // }, - * // terminateAt: new Date("TIMESTAMP"), - * // updatedAt: new Date("TIMESTAMP"), - * // updatedBy: "STRING_VALUE", - * // stoppedAt: new Date("TIMESTAMP"), - * // stoppedBy: "STRING_VALUE", - * // startedAt: new Date("TIMESTAMP"), - * // startedBy: "STRING_VALUE", - * // stopAt: new Date("TIMESTAMP"), - * // startedFromBackupId: "STRING_VALUE", - * // backupMode: "AUTOMATIC" || "DEACTIVATED", - * // maxBackupsToRetain: Number("int"), - * // volumeRetentionMode: "RETAIN" || "DELETE", - * // sessionPersistenceMode: "DEACTIVATED" || "ACTIVATED", - * // volumeConfiguration: { // VolumeConfiguration - * // size: Number("int"), - * // throughput: Number("int"), - * // iops: Number("int"), - * // }, - * // automaticTerminationMode: "DEACTIVATED" || "ACTIVATED", - * // }, - * // }; - * - * ``` - * - * @param StopStreamingSessionCommandInput - {@link StopStreamingSessionCommandInput} - * @returns {@link StopStreamingSessionCommandOutput} - * @see {@link StopStreamingSessionCommandInput} for command's `input` shape. - * @see {@link StopStreamingSessionCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class StopStreamingSessionCommand extends $Command - .classBuilder< - StopStreamingSessionCommandInput, - StopStreamingSessionCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "StopStreamingSession", {}) - .n("NimbleClient", "StopStreamingSessionCommand") - .f(void 0, void 0) - .ser(se_StopStreamingSessionCommand) - .de(de_StopStreamingSessionCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: StopStreamingSessionRequest; - output: StopStreamingSessionResponse; - }; - sdk: { - input: StopStreamingSessionCommandInput; - output: StopStreamingSessionCommandOutput; - }; - }; -} diff --git a/clients/client-nimble/src/commands/TagResourceCommand.ts b/clients/client-nimble/src/commands/TagResourceCommand.ts deleted file mode 100644 index 39a8313958aa..000000000000 --- a/clients/client-nimble/src/commands/TagResourceCommand.ts +++ /dev/null @@ -1,117 +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 { TagResourceRequest, TagResourceResponse } from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -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 {} - -/** - *

Creates tags for a resource, given its ARN.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, TagResourceCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, TagResourceCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // TagResourceRequest - * resourceArn: "STRING_VALUE", // required - * tags: { // Tags - * "": "STRING_VALUE", - * }, - * }; - * const command = new TagResourceCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param TagResourceCommandInput - {@link TagResourceCommandInput} - * @returns {@link TagResourceCommandOutput} - * @see {@link TagResourceCommandInput} for command's `input` shape. - * @see {@link TagResourceCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class TagResourceCommand extends $Command - .classBuilder< - TagResourceCommandInput, - TagResourceCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "TagResource", {}) - .n("NimbleClient", "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-nimble/src/commands/UntagResourceCommand.ts b/clients/client-nimble/src/commands/UntagResourceCommand.ts deleted file mode 100644 index 594f64b4cdcc..000000000000 --- a/clients/client-nimble/src/commands/UntagResourceCommand.ts +++ /dev/null @@ -1,117 +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 { UntagResourceRequest, UntagResourceResponse } from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -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 {} - -/** - *

Deletes the tags for a resource.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, UntagResourceCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, UntagResourceCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // UntagResourceRequest - * resourceArn: "STRING_VALUE", // required - * tagKeys: [ // StringList // 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 NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class UntagResourceCommand extends $Command - .classBuilder< - UntagResourceCommandInput, - UntagResourceCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "UntagResource", {}) - .n("NimbleClient", "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-nimble/src/commands/UpdateLaunchProfileCommand.ts b/clients/client-nimble/src/commands/UpdateLaunchProfileCommand.ts deleted file mode 100644 index 4b7cb734fd2e..000000000000 --- a/clients/client-nimble/src/commands/UpdateLaunchProfileCommand.ts +++ /dev/null @@ -1,225 +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 { - UpdateLaunchProfileRequest, - UpdateLaunchProfileRequestFilterSensitiveLog, - UpdateLaunchProfileResponse, - UpdateLaunchProfileResponseFilterSensitiveLog, -} from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -import { de_UpdateLaunchProfileCommand, se_UpdateLaunchProfileCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link UpdateLaunchProfileCommand}. - */ -export interface UpdateLaunchProfileCommandInput extends UpdateLaunchProfileRequest {} -/** - * @public - * - * The output of {@link UpdateLaunchProfileCommand}. - */ -export interface UpdateLaunchProfileCommandOutput extends UpdateLaunchProfileResponse, __MetadataBearer {} - -/** - *

Update a launch profile.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, UpdateLaunchProfileCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, UpdateLaunchProfileCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // UpdateLaunchProfileRequest - * clientToken: "STRING_VALUE", - * description: "STRING_VALUE", - * launchProfileId: "STRING_VALUE", // required - * launchProfileProtocolVersions: [ // LaunchProfileProtocolVersionList - * "STRING_VALUE", - * ], - * name: "STRING_VALUE", - * streamConfiguration: { // StreamConfigurationCreate - * clipboardMode: "ENABLED" || "DISABLED", // required - * ec2InstanceTypes: [ // StreamingInstanceTypeList // required - * "g4dn.xlarge" || "g4dn.2xlarge" || "g4dn.4xlarge" || "g4dn.8xlarge" || "g4dn.12xlarge" || "g4dn.16xlarge" || "g3.4xlarge" || "g3s.xlarge" || "g5.xlarge" || "g5.2xlarge" || "g5.4xlarge" || "g5.8xlarge" || "g5.16xlarge", - * ], - * maxSessionLengthInMinutes: Number("int"), - * streamingImageIds: [ // StreamingImageIdList // required - * "STRING_VALUE", - * ], - * maxStoppedSessionLengthInMinutes: Number("int"), - * sessionStorage: { // StreamConfigurationSessionStorage - * root: { // StreamingSessionStorageRoot - * linux: "STRING_VALUE", - * windows: "STRING_VALUE", - * }, - * mode: [ // StreamingSessionStorageModeList // required - * "UPLOAD", - * ], - * }, - * sessionBackup: { // StreamConfigurationSessionBackup - * mode: "AUTOMATIC" || "DEACTIVATED", - * maxBackupsToRetain: Number("int"), - * }, - * sessionPersistenceMode: "DEACTIVATED" || "ACTIVATED", - * volumeConfiguration: { // VolumeConfiguration - * size: Number("int"), - * throughput: Number("int"), - * iops: Number("int"), - * }, - * automaticTerminationMode: "DEACTIVATED" || "ACTIVATED", - * }, - * studioComponentIds: [ // LaunchProfileStudioComponentIdList - * "STRING_VALUE", - * ], - * studioId: "STRING_VALUE", // required - * }; - * const command = new UpdateLaunchProfileCommand(input); - * const response = await client.send(command); - * // { // UpdateLaunchProfileResponse - * // launchProfile: { // LaunchProfile - * // arn: "STRING_VALUE", - * // createdAt: new Date("TIMESTAMP"), - * // createdBy: "STRING_VALUE", - * // description: "STRING_VALUE", - * // ec2SubnetIds: [ // EC2SubnetIdList - * // "STRING_VALUE", - * // ], - * // launchProfileId: "STRING_VALUE", - * // launchProfileProtocolVersions: [ // LaunchProfileProtocolVersionList - * // "STRING_VALUE", - * // ], - * // name: "STRING_VALUE", - * // state: "CREATE_IN_PROGRESS" || "READY" || "UPDATE_IN_PROGRESS" || "DELETE_IN_PROGRESS" || "DELETED" || "DELETE_FAILED" || "CREATE_FAILED" || "UPDATE_FAILED", - * // statusCode: "LAUNCH_PROFILE_CREATED" || "LAUNCH_PROFILE_UPDATED" || "LAUNCH_PROFILE_DELETED" || "LAUNCH_PROFILE_CREATE_IN_PROGRESS" || "LAUNCH_PROFILE_UPDATE_IN_PROGRESS" || "LAUNCH_PROFILE_DELETE_IN_PROGRESS" || "INTERNAL_ERROR" || "STREAMING_IMAGE_NOT_FOUND" || "STREAMING_IMAGE_NOT_READY" || "LAUNCH_PROFILE_WITH_STREAM_SESSIONS_NOT_DELETED" || "ENCRYPTION_KEY_ACCESS_DENIED" || "ENCRYPTION_KEY_NOT_FOUND" || "INVALID_SUBNETS_PROVIDED" || "INVALID_INSTANCE_TYPES_PROVIDED" || "INVALID_SUBNETS_COMBINATION", - * // statusMessage: "STRING_VALUE", - * // streamConfiguration: { // StreamConfiguration - * // clipboardMode: "ENABLED" || "DISABLED", // required - * // ec2InstanceTypes: [ // StreamingInstanceTypeList // required - * // "g4dn.xlarge" || "g4dn.2xlarge" || "g4dn.4xlarge" || "g4dn.8xlarge" || "g4dn.12xlarge" || "g4dn.16xlarge" || "g3.4xlarge" || "g3s.xlarge" || "g5.xlarge" || "g5.2xlarge" || "g5.4xlarge" || "g5.8xlarge" || "g5.16xlarge", - * // ], - * // maxSessionLengthInMinutes: Number("int"), - * // streamingImageIds: [ // StreamingImageIdList // required - * // "STRING_VALUE", - * // ], - * // maxStoppedSessionLengthInMinutes: Number("int"), - * // sessionStorage: { // StreamConfigurationSessionStorage - * // root: { // StreamingSessionStorageRoot - * // linux: "STRING_VALUE", - * // windows: "STRING_VALUE", - * // }, - * // mode: [ // StreamingSessionStorageModeList // required - * // "UPLOAD", - * // ], - * // }, - * // sessionBackup: { // StreamConfigurationSessionBackup - * // mode: "AUTOMATIC" || "DEACTIVATED", - * // maxBackupsToRetain: Number("int"), - * // }, - * // sessionPersistenceMode: "DEACTIVATED" || "ACTIVATED", - * // volumeConfiguration: { // VolumeConfiguration - * // size: Number("int"), - * // throughput: Number("int"), - * // iops: Number("int"), - * // }, - * // automaticTerminationMode: "DEACTIVATED" || "ACTIVATED", - * // }, - * // studioComponentIds: [ // LaunchProfileStudioComponentIdList - * // "STRING_VALUE", - * // ], - * // tags: { // Tags - * // "": "STRING_VALUE", - * // }, - * // updatedAt: new Date("TIMESTAMP"), - * // updatedBy: "STRING_VALUE", - * // validationResults: [ // ValidationResults - * // { // ValidationResult - * // type: "VALIDATE_ACTIVE_DIRECTORY_STUDIO_COMPONENT" || "VALIDATE_SUBNET_ASSOCIATION" || "VALIDATE_NETWORK_ACL_ASSOCIATION" || "VALIDATE_SECURITY_GROUP_ASSOCIATION", // required - * // state: "VALIDATION_NOT_STARTED" || "VALIDATION_IN_PROGRESS" || "VALIDATION_SUCCESS" || "VALIDATION_FAILED" || "VALIDATION_FAILED_INTERNAL_SERVER_ERROR", // required - * // statusCode: "VALIDATION_NOT_STARTED" || "VALIDATION_IN_PROGRESS" || "VALIDATION_SUCCESS" || "VALIDATION_FAILED_INVALID_SUBNET_ROUTE_TABLE_ASSOCIATION" || "VALIDATION_FAILED_SUBNET_NOT_FOUND" || "VALIDATION_FAILED_INVALID_SECURITY_GROUP_ASSOCIATION" || "VALIDATION_FAILED_INVALID_ACTIVE_DIRECTORY" || "VALIDATION_FAILED_UNAUTHORIZED" || "VALIDATION_FAILED_INTERNAL_SERVER_ERROR", // required - * // statusMessage: "STRING_VALUE", // required - * // }, - * // ], - * // }, - * // }; - * - * ``` - * - * @param UpdateLaunchProfileCommandInput - {@link UpdateLaunchProfileCommandInput} - * @returns {@link UpdateLaunchProfileCommandOutput} - * @see {@link UpdateLaunchProfileCommandInput} for command's `input` shape. - * @see {@link UpdateLaunchProfileCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class UpdateLaunchProfileCommand extends $Command - .classBuilder< - UpdateLaunchProfileCommandInput, - UpdateLaunchProfileCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "UpdateLaunchProfile", {}) - .n("NimbleClient", "UpdateLaunchProfileCommand") - .f(UpdateLaunchProfileRequestFilterSensitiveLog, UpdateLaunchProfileResponseFilterSensitiveLog) - .ser(se_UpdateLaunchProfileCommand) - .de(de_UpdateLaunchProfileCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: UpdateLaunchProfileRequest; - output: UpdateLaunchProfileResponse; - }; - sdk: { - input: UpdateLaunchProfileCommandInput; - output: UpdateLaunchProfileCommandOutput; - }; - }; -} diff --git a/clients/client-nimble/src/commands/UpdateLaunchProfileMemberCommand.ts b/clients/client-nimble/src/commands/UpdateLaunchProfileMemberCommand.ts deleted file mode 100644 index fb7703c89b7c..000000000000 --- a/clients/client-nimble/src/commands/UpdateLaunchProfileMemberCommand.ts +++ /dev/null @@ -1,125 +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 { UpdateLaunchProfileMemberRequest, UpdateLaunchProfileMemberResponse } from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -import { de_UpdateLaunchProfileMemberCommand, se_UpdateLaunchProfileMemberCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link UpdateLaunchProfileMemberCommand}. - */ -export interface UpdateLaunchProfileMemberCommandInput extends UpdateLaunchProfileMemberRequest {} -/** - * @public - * - * The output of {@link UpdateLaunchProfileMemberCommand}. - */ -export interface UpdateLaunchProfileMemberCommandOutput extends UpdateLaunchProfileMemberResponse, __MetadataBearer {} - -/** - *

Update a user persona in launch profile membership.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, UpdateLaunchProfileMemberCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, UpdateLaunchProfileMemberCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // UpdateLaunchProfileMemberRequest - * clientToken: "STRING_VALUE", - * launchProfileId: "STRING_VALUE", // required - * persona: "USER", // required - * principalId: "STRING_VALUE", // required - * studioId: "STRING_VALUE", // required - * }; - * const command = new UpdateLaunchProfileMemberCommand(input); - * const response = await client.send(command); - * // { // UpdateLaunchProfileMemberResponse - * // member: { // LaunchProfileMembership - * // identityStoreId: "STRING_VALUE", - * // persona: "USER", - * // principalId: "STRING_VALUE", - * // sid: "STRING_VALUE", - * // }, - * // }; - * - * ``` - * - * @param UpdateLaunchProfileMemberCommandInput - {@link UpdateLaunchProfileMemberCommandInput} - * @returns {@link UpdateLaunchProfileMemberCommandOutput} - * @see {@link UpdateLaunchProfileMemberCommandInput} for command's `input` shape. - * @see {@link UpdateLaunchProfileMemberCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class UpdateLaunchProfileMemberCommand extends $Command - .classBuilder< - UpdateLaunchProfileMemberCommandInput, - UpdateLaunchProfileMemberCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "UpdateLaunchProfileMember", {}) - .n("NimbleClient", "UpdateLaunchProfileMemberCommand") - .f(void 0, void 0) - .ser(se_UpdateLaunchProfileMemberCommand) - .de(de_UpdateLaunchProfileMemberCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: UpdateLaunchProfileMemberRequest; - output: UpdateLaunchProfileMemberResponse; - }; - sdk: { - input: UpdateLaunchProfileMemberCommandInput; - output: UpdateLaunchProfileMemberCommandOutput; - }; - }; -} diff --git a/clients/client-nimble/src/commands/UpdateStreamingImageCommand.ts b/clients/client-nimble/src/commands/UpdateStreamingImageCommand.ts deleted file mode 100644 index 4e7731baa3c4..000000000000 --- a/clients/client-nimble/src/commands/UpdateStreamingImageCommand.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 { commonParams } from "../endpoint/EndpointParameters"; -import { - UpdateStreamingImageRequest, - UpdateStreamingImageRequestFilterSensitiveLog, - UpdateStreamingImageResponse, - UpdateStreamingImageResponseFilterSensitiveLog, -} from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -import { de_UpdateStreamingImageCommand, se_UpdateStreamingImageCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link UpdateStreamingImageCommand}. - */ -export interface UpdateStreamingImageCommandInput extends UpdateStreamingImageRequest {} -/** - * @public - * - * The output of {@link UpdateStreamingImageCommand}. - */ -export interface UpdateStreamingImageCommandOutput extends UpdateStreamingImageResponse, __MetadataBearer {} - -/** - *

Update streaming image.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, UpdateStreamingImageCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, UpdateStreamingImageCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // UpdateStreamingImageRequest - * clientToken: "STRING_VALUE", - * description: "STRING_VALUE", - * name: "STRING_VALUE", - * streamingImageId: "STRING_VALUE", // required - * studioId: "STRING_VALUE", // required - * }; - * const command = new UpdateStreamingImageCommand(input); - * const response = await client.send(command); - * // { // UpdateStreamingImageResponse - * // streamingImage: { // StreamingImage - * // arn: "STRING_VALUE", - * // description: "STRING_VALUE", - * // ec2ImageId: "STRING_VALUE", - * // encryptionConfiguration: { // StreamingImageEncryptionConfiguration - * // keyArn: "STRING_VALUE", - * // keyType: "CUSTOMER_MANAGED_KEY", // required - * // }, - * // eulaIds: [ // EulaIdList - * // "STRING_VALUE", - * // ], - * // name: "STRING_VALUE", - * // owner: "STRING_VALUE", - * // platform: "STRING_VALUE", - * // state: "CREATE_IN_PROGRESS" || "READY" || "DELETE_IN_PROGRESS" || "DELETED" || "UPDATE_IN_PROGRESS" || "UPDATE_FAILED" || "CREATE_FAILED" || "DELETE_FAILED", - * // statusCode: "STREAMING_IMAGE_CREATE_IN_PROGRESS" || "STREAMING_IMAGE_READY" || "STREAMING_IMAGE_DELETE_IN_PROGRESS" || "STREAMING_IMAGE_DELETED" || "STREAMING_IMAGE_UPDATE_IN_PROGRESS" || "INTERNAL_ERROR" || "ACCESS_DENIED", - * // statusMessage: "STRING_VALUE", - * // streamingImageId: "STRING_VALUE", - * // tags: { // Tags - * // "": "STRING_VALUE", - * // }, - * // }, - * // }; - * - * ``` - * - * @param UpdateStreamingImageCommandInput - {@link UpdateStreamingImageCommandInput} - * @returns {@link UpdateStreamingImageCommandOutput} - * @see {@link UpdateStreamingImageCommandInput} for command's `input` shape. - * @see {@link UpdateStreamingImageCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class UpdateStreamingImageCommand extends $Command - .classBuilder< - UpdateStreamingImageCommandInput, - UpdateStreamingImageCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "UpdateStreamingImage", {}) - .n("NimbleClient", "UpdateStreamingImageCommand") - .f(UpdateStreamingImageRequestFilterSensitiveLog, UpdateStreamingImageResponseFilterSensitiveLog) - .ser(se_UpdateStreamingImageCommand) - .de(de_UpdateStreamingImageCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: UpdateStreamingImageRequest; - output: UpdateStreamingImageResponse; - }; - sdk: { - input: UpdateStreamingImageCommandInput; - output: UpdateStreamingImageCommandOutput; - }; - }; -} diff --git a/clients/client-nimble/src/commands/UpdateStudioCommand.ts b/clients/client-nimble/src/commands/UpdateStudioCommand.ts deleted file mode 100644 index f444e89e00ad..000000000000 --- a/clients/client-nimble/src/commands/UpdateStudioCommand.ts +++ /dev/null @@ -1,149 +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 { - UpdateStudioRequest, - UpdateStudioRequestFilterSensitiveLog, - UpdateStudioResponse, - UpdateStudioResponseFilterSensitiveLog, -} from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -import { de_UpdateStudioCommand, se_UpdateStudioCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link UpdateStudioCommand}. - */ -export interface UpdateStudioCommandInput extends UpdateStudioRequest {} -/** - * @public - * - * The output of {@link UpdateStudioCommand}. - */ -export interface UpdateStudioCommandOutput extends UpdateStudioResponse, __MetadataBearer {} - -/** - *

Update a Studio resource.

- *

Currently, this operation only supports updating the displayName of your - * studio.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, UpdateStudioCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, UpdateStudioCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // UpdateStudioRequest - * adminRoleArn: "STRING_VALUE", - * clientToken: "STRING_VALUE", - * displayName: "STRING_VALUE", - * studioId: "STRING_VALUE", // required - * userRoleArn: "STRING_VALUE", - * }; - * const command = new UpdateStudioCommand(input); - * const response = await client.send(command); - * // { // UpdateStudioResponse - * // studio: { // Studio - * // adminRoleArn: "STRING_VALUE", - * // arn: "STRING_VALUE", - * // createdAt: new Date("TIMESTAMP"), - * // displayName: "STRING_VALUE", - * // homeRegion: "STRING_VALUE", - * // ssoClientId: "STRING_VALUE", - * // state: "CREATE_IN_PROGRESS" || "READY" || "UPDATE_IN_PROGRESS" || "DELETE_IN_PROGRESS" || "DELETED" || "DELETE_FAILED" || "CREATE_FAILED" || "UPDATE_FAILED", - * // statusCode: "STUDIO_CREATED" || "STUDIO_DELETED" || "STUDIO_UPDATED" || "STUDIO_CREATE_IN_PROGRESS" || "STUDIO_UPDATE_IN_PROGRESS" || "STUDIO_DELETE_IN_PROGRESS" || "STUDIO_WITH_LAUNCH_PROFILES_NOT_DELETED" || "STUDIO_WITH_STUDIO_COMPONENTS_NOT_DELETED" || "STUDIO_WITH_STREAMING_IMAGES_NOT_DELETED" || "AWS_SSO_NOT_ENABLED" || "AWS_SSO_ACCESS_DENIED" || "ROLE_NOT_OWNED_BY_STUDIO_OWNER" || "ROLE_COULD_NOT_BE_ASSUMED" || "INTERNAL_ERROR" || "ENCRYPTION_KEY_NOT_FOUND" || "ENCRYPTION_KEY_ACCESS_DENIED" || "AWS_SSO_CONFIGURATION_REPAIRED" || "AWS_SSO_CONFIGURATION_REPAIR_IN_PROGRESS" || "AWS_STS_REGION_DISABLED", - * // statusMessage: "STRING_VALUE", - * // studioEncryptionConfiguration: { // StudioEncryptionConfiguration - * // keyArn: "STRING_VALUE", - * // keyType: "AWS_OWNED_KEY" || "CUSTOMER_MANAGED_KEY", // required - * // }, - * // studioId: "STRING_VALUE", - * // studioName: "STRING_VALUE", - * // studioUrl: "STRING_VALUE", - * // tags: { // Tags - * // "": "STRING_VALUE", - * // }, - * // updatedAt: new Date("TIMESTAMP"), - * // userRoleArn: "STRING_VALUE", - * // }, - * // }; - * - * ``` - * - * @param UpdateStudioCommandInput - {@link UpdateStudioCommandInput} - * @returns {@link UpdateStudioCommandOutput} - * @see {@link UpdateStudioCommandInput} for command's `input` shape. - * @see {@link UpdateStudioCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class UpdateStudioCommand extends $Command - .classBuilder< - UpdateStudioCommandInput, - UpdateStudioCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "UpdateStudio", {}) - .n("NimbleClient", "UpdateStudioCommand") - .f(UpdateStudioRequestFilterSensitiveLog, UpdateStudioResponseFilterSensitiveLog) - .ser(se_UpdateStudioCommand) - .de(de_UpdateStudioCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: UpdateStudioRequest; - output: UpdateStudioResponse; - }; - sdk: { - input: UpdateStudioCommandInput; - output: UpdateStudioCommandOutput; - }; - }; -} diff --git a/clients/client-nimble/src/commands/UpdateStudioComponentCommand.ts b/clients/client-nimble/src/commands/UpdateStudioComponentCommand.ts deleted file mode 100644 index f834ed1d225d..000000000000 --- a/clients/client-nimble/src/commands/UpdateStudioComponentCommand.ts +++ /dev/null @@ -1,234 +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 { - UpdateStudioComponentRequest, - UpdateStudioComponentRequestFilterSensitiveLog, - UpdateStudioComponentResponse, - UpdateStudioComponentResponseFilterSensitiveLog, -} from "../models/models_0"; -import { NimbleClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NimbleClient"; -import { de_UpdateStudioComponentCommand, se_UpdateStudioComponentCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link UpdateStudioComponentCommand}. - */ -export interface UpdateStudioComponentCommandInput extends UpdateStudioComponentRequest {} -/** - * @public - * - * The output of {@link UpdateStudioComponentCommand}. - */ -export interface UpdateStudioComponentCommandOutput extends UpdateStudioComponentResponse, __MetadataBearer {} - -/** - *

Updates a studio component resource.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { NimbleClient, UpdateStudioComponentCommand } from "@aws-sdk/client-nimble"; // ES Modules import - * // const { NimbleClient, UpdateStudioComponentCommand } = require("@aws-sdk/client-nimble"); // CommonJS import - * const client = new NimbleClient(config); - * const input = { // UpdateStudioComponentRequest - * clientToken: "STRING_VALUE", - * configuration: { // StudioComponentConfiguration - * activeDirectoryConfiguration: { // ActiveDirectoryConfiguration - * computerAttributes: [ // ActiveDirectoryComputerAttributeList - * { // ActiveDirectoryComputerAttribute - * name: "STRING_VALUE", - * value: "STRING_VALUE", - * }, - * ], - * directoryId: "STRING_VALUE", - * organizationalUnitDistinguishedName: "STRING_VALUE", - * }, - * computeFarmConfiguration: { // ComputeFarmConfiguration - * activeDirectoryUser: "STRING_VALUE", - * endpoint: "STRING_VALUE", - * }, - * licenseServiceConfiguration: { // LicenseServiceConfiguration - * endpoint: "STRING_VALUE", - * }, - * sharedFileSystemConfiguration: { // SharedFileSystemConfiguration - * endpoint: "STRING_VALUE", - * fileSystemId: "STRING_VALUE", - * linuxMountPoint: "STRING_VALUE", - * shareName: "STRING_VALUE", - * windowsMountDrive: "STRING_VALUE", - * }, - * }, - * description: "STRING_VALUE", - * ec2SecurityGroupIds: [ // StudioComponentSecurityGroupIdList - * "STRING_VALUE", - * ], - * initializationScripts: [ // StudioComponentInitializationScriptList - * { // StudioComponentInitializationScript - * launchProfileProtocolVersion: "STRING_VALUE", - * platform: "LINUX" || "WINDOWS", - * runContext: "SYSTEM_INITIALIZATION" || "USER_INITIALIZATION", - * script: "STRING_VALUE", - * }, - * ], - * name: "STRING_VALUE", - * scriptParameters: [ // StudioComponentScriptParameterKeyValueList - * { // ScriptParameterKeyValue - * key: "STRING_VALUE", - * value: "STRING_VALUE", - * }, - * ], - * studioComponentId: "STRING_VALUE", // required - * studioId: "STRING_VALUE", // required - * subtype: "AWS_MANAGED_MICROSOFT_AD" || "AMAZON_FSX_FOR_WINDOWS" || "AMAZON_FSX_FOR_LUSTRE" || "CUSTOM", - * type: "ACTIVE_DIRECTORY" || "SHARED_FILE_SYSTEM" || "COMPUTE_FARM" || "LICENSE_SERVICE" || "CUSTOM", - * secureInitializationRoleArn: "STRING_VALUE", - * runtimeRoleArn: "STRING_VALUE", - * }; - * const command = new UpdateStudioComponentCommand(input); - * const response = await client.send(command); - * // { // UpdateStudioComponentResponse - * // studioComponent: { // StudioComponent - * // arn: "STRING_VALUE", - * // configuration: { // StudioComponentConfiguration - * // activeDirectoryConfiguration: { // ActiveDirectoryConfiguration - * // computerAttributes: [ // ActiveDirectoryComputerAttributeList - * // { // ActiveDirectoryComputerAttribute - * // name: "STRING_VALUE", - * // value: "STRING_VALUE", - * // }, - * // ], - * // directoryId: "STRING_VALUE", - * // organizationalUnitDistinguishedName: "STRING_VALUE", - * // }, - * // computeFarmConfiguration: { // ComputeFarmConfiguration - * // activeDirectoryUser: "STRING_VALUE", - * // endpoint: "STRING_VALUE", - * // }, - * // licenseServiceConfiguration: { // LicenseServiceConfiguration - * // endpoint: "STRING_VALUE", - * // }, - * // sharedFileSystemConfiguration: { // SharedFileSystemConfiguration - * // endpoint: "STRING_VALUE", - * // fileSystemId: "STRING_VALUE", - * // linuxMountPoint: "STRING_VALUE", - * // shareName: "STRING_VALUE", - * // windowsMountDrive: "STRING_VALUE", - * // }, - * // }, - * // createdAt: new Date("TIMESTAMP"), - * // createdBy: "STRING_VALUE", - * // description: "STRING_VALUE", - * // ec2SecurityGroupIds: [ // StudioComponentSecurityGroupIdList - * // "STRING_VALUE", - * // ], - * // initializationScripts: [ // StudioComponentInitializationScriptList - * // { // StudioComponentInitializationScript - * // launchProfileProtocolVersion: "STRING_VALUE", - * // platform: "LINUX" || "WINDOWS", - * // runContext: "SYSTEM_INITIALIZATION" || "USER_INITIALIZATION", - * // script: "STRING_VALUE", - * // }, - * // ], - * // name: "STRING_VALUE", - * // scriptParameters: [ // StudioComponentScriptParameterKeyValueList - * // { // ScriptParameterKeyValue - * // key: "STRING_VALUE", - * // value: "STRING_VALUE", - * // }, - * // ], - * // state: "CREATE_IN_PROGRESS" || "READY" || "UPDATE_IN_PROGRESS" || "DELETE_IN_PROGRESS" || "DELETED" || "DELETE_FAILED" || "CREATE_FAILED" || "UPDATE_FAILED", - * // statusCode: "ACTIVE_DIRECTORY_ALREADY_EXISTS" || "STUDIO_COMPONENT_CREATED" || "STUDIO_COMPONENT_UPDATED" || "STUDIO_COMPONENT_DELETED" || "ENCRYPTION_KEY_ACCESS_DENIED" || "ENCRYPTION_KEY_NOT_FOUND" || "STUDIO_COMPONENT_CREATE_IN_PROGRESS" || "STUDIO_COMPONENT_UPDATE_IN_PROGRESS" || "STUDIO_COMPONENT_DELETE_IN_PROGRESS" || "INTERNAL_ERROR", - * // statusMessage: "STRING_VALUE", - * // studioComponentId: "STRING_VALUE", - * // subtype: "AWS_MANAGED_MICROSOFT_AD" || "AMAZON_FSX_FOR_WINDOWS" || "AMAZON_FSX_FOR_LUSTRE" || "CUSTOM", - * // tags: { // Tags - * // "": "STRING_VALUE", - * // }, - * // type: "ACTIVE_DIRECTORY" || "SHARED_FILE_SYSTEM" || "COMPUTE_FARM" || "LICENSE_SERVICE" || "CUSTOM", - * // updatedAt: new Date("TIMESTAMP"), - * // updatedBy: "STRING_VALUE", - * // secureInitializationRoleArn: "STRING_VALUE", - * // runtimeRoleArn: "STRING_VALUE", - * // }, - * // }; - * - * ``` - * - * @param UpdateStudioComponentCommandInput - {@link UpdateStudioComponentCommandInput} - * @returns {@link UpdateStudioComponentCommandOutput} - * @see {@link UpdateStudioComponentCommandInput} for command's `input` shape. - * @see {@link UpdateStudioComponentCommandOutput} for command's `response` shape. - * @see {@link NimbleClientResolvedConfig | config} for NimbleClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * - * @throws {@link ConflictException} (client fault) - *

Another operation is in progress.

- * - * @throws {@link InternalServerErrorException} (server fault) - *

An internal error has occurred. Please retry your request.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The specified resource could not be found.

- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request throughput limit was exceeded.

- * - * @throws {@link ValidationException} (client fault) - *

One of the parameters in the request is invalid.

- * - * @throws {@link NimbleServiceException} - *

Base exception class for all service exceptions from Nimble service.

- * - * @public - */ -export class UpdateStudioComponentCommand extends $Command - .classBuilder< - UpdateStudioComponentCommandInput, - UpdateStudioComponentCommandOutput, - NimbleClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: NimbleClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("nimble", "UpdateStudioComponent", {}) - .n("NimbleClient", "UpdateStudioComponentCommand") - .f(UpdateStudioComponentRequestFilterSensitiveLog, UpdateStudioComponentResponseFilterSensitiveLog) - .ser(se_UpdateStudioComponentCommand) - .de(de_UpdateStudioComponentCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: UpdateStudioComponentRequest; - output: UpdateStudioComponentResponse; - }; - sdk: { - input: UpdateStudioComponentCommandInput; - output: UpdateStudioComponentCommandOutput; - }; - }; -} diff --git a/clients/client-nimble/src/commands/index.ts b/clients/client-nimble/src/commands/index.ts deleted file mode 100644 index 8e12f658783f..000000000000 --- a/clients/client-nimble/src/commands/index.ts +++ /dev/null @@ -1,50 +0,0 @@ -// smithy-typescript generated code -export * from "./AcceptEulasCommand"; -export * from "./CreateLaunchProfileCommand"; -export * from "./CreateStreamingImageCommand"; -export * from "./CreateStreamingSessionCommand"; -export * from "./CreateStreamingSessionStreamCommand"; -export * from "./CreateStudioCommand"; -export * from "./CreateStudioComponentCommand"; -export * from "./DeleteLaunchProfileCommand"; -export * from "./DeleteLaunchProfileMemberCommand"; -export * from "./DeleteStreamingImageCommand"; -export * from "./DeleteStreamingSessionCommand"; -export * from "./DeleteStudioCommand"; -export * from "./DeleteStudioComponentCommand"; -export * from "./DeleteStudioMemberCommand"; -export * from "./GetEulaCommand"; -export * from "./GetLaunchProfileCommand"; -export * from "./GetLaunchProfileDetailsCommand"; -export * from "./GetLaunchProfileInitializationCommand"; -export * from "./GetLaunchProfileMemberCommand"; -export * from "./GetStreamingImageCommand"; -export * from "./GetStreamingSessionBackupCommand"; -export * from "./GetStreamingSessionCommand"; -export * from "./GetStreamingSessionStreamCommand"; -export * from "./GetStudioCommand"; -export * from "./GetStudioComponentCommand"; -export * from "./GetStudioMemberCommand"; -export * from "./ListEulaAcceptancesCommand"; -export * from "./ListEulasCommand"; -export * from "./ListLaunchProfileMembersCommand"; -export * from "./ListLaunchProfilesCommand"; -export * from "./ListStreamingImagesCommand"; -export * from "./ListStreamingSessionBackupsCommand"; -export * from "./ListStreamingSessionsCommand"; -export * from "./ListStudioComponentsCommand"; -export * from "./ListStudioMembersCommand"; -export * from "./ListStudiosCommand"; -export * from "./ListTagsForResourceCommand"; -export * from "./PutLaunchProfileMembersCommand"; -export * from "./PutStudioMembersCommand"; -export * from "./StartStreamingSessionCommand"; -export * from "./StartStudioSSOConfigurationRepairCommand"; -export * from "./StopStreamingSessionCommand"; -export * from "./TagResourceCommand"; -export * from "./UntagResourceCommand"; -export * from "./UpdateLaunchProfileCommand"; -export * from "./UpdateLaunchProfileMemberCommand"; -export * from "./UpdateStreamingImageCommand"; -export * from "./UpdateStudioCommand"; -export * from "./UpdateStudioComponentCommand"; diff --git a/clients/client-nimble/src/endpoint/EndpointParameters.ts b/clients/client-nimble/src/endpoint/EndpointParameters.ts deleted file mode 100644 index 542f8f20b3bc..000000000000 --- a/clients/client-nimble/src/endpoint/EndpointParameters.ts +++ /dev/null @@ -1,41 +0,0 @@ -// smithy-typescript generated code -import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types"; - -/** - * @public - */ -export interface ClientInputEndpointParameters { - region?: string | Provider; - useDualstackEndpoint?: boolean | Provider; - useFipsEndpoint?: boolean | Provider; - endpoint?: string | Provider | Endpoint | Provider | EndpointV2 | Provider; -} - -export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & { - defaultSigningName: string; -}; - -export const resolveClientEndpointParameters = ( - options: T & ClientInputEndpointParameters -): T & ClientResolvedEndpointParameters => { - return { - ...options, - useDualstackEndpoint: options.useDualstackEndpoint ?? false, - useFipsEndpoint: options.useFipsEndpoint ?? false, - defaultSigningName: "nimble", - }; -}; - -export const commonParams = { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, -} as const; - -export interface EndpointParameters extends __EndpointParameters { - Region?: string; - UseDualStack?: boolean; - UseFIPS?: boolean; - Endpoint?: string; -} diff --git a/clients/client-nimble/src/endpoint/endpointResolver.ts b/clients/client-nimble/src/endpoint/endpointResolver.ts deleted file mode 100644 index ccee107f30d6..000000000000 --- a/clients/client-nimble/src/endpoint/endpointResolver.ts +++ /dev/null @@ -1,26 +0,0 @@ -// smithy-typescript generated code -import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; -import { EndpointV2, Logger } from "@smithy/types"; -import { customEndpointFunctions, EndpointCache, EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; - -import { EndpointParameters } from "./EndpointParameters"; -import { ruleSet } from "./ruleset"; - -const cache = new EndpointCache({ - size: 50, - params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"], -}); - -export const defaultEndpointResolver = ( - endpointParams: EndpointParameters, - context: { logger?: Logger } = {} -): EndpointV2 => { - return cache.get(endpointParams as EndpointParams, () => - resolveEndpoint(ruleSet, { - endpointParams: endpointParams as EndpointParams, - logger: context.logger, - }) - ); -}; - -customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-nimble/src/endpoint/ruleset.ts b/clients/client-nimble/src/endpoint/ruleset.ts deleted file mode 100644 index 874a6d78931d..000000000000 --- a/clients/client-nimble/src/endpoint/ruleset.ts +++ /dev/null @@ -1,32 +0,0 @@ -// @ts-nocheck -// generated code, do not edit -import { RuleSetObject } from "@smithy/types"; - -/* This file is compressed. Log this object - or see "smithy.rules#endpointRuleSet" - in codegen/sdk-codegen/aws-models/nimble.json */ - -const s="required", -t="fn", -u="argv", -v="ref"; -const a=true, -b="isSet", -c="booleanEquals", -d="error", -e="endpoint", -f="tree", -g="PartitionResult", -h={[s]:false,"type":"String"}, -i={[s]:true,"default":false,"type":"Boolean"}, -j={[v]:"Endpoint"}, -k={[t]:c,[u]:[{[v]:"UseFIPS"},true]}, -l={[t]:c,[u]:[{[v]:"UseDualStack"},true]}, -m={}, -n={[t]:"getAttr",[u]:[{[v]:g},"supportsFIPS"]}, -o={[t]:c,[u]:[true,{[t]:"getAttr",[u]:[{[v]:g},"supportsDualStack"]}]}, -p=[k], -q=[l], -r=[{[v]:"Region"}]; -const _data={version:"1.0",parameters:{Region:h,UseDualStack:i,UseFIPS:i,Endpoint:h},rules:[{conditions:[{[t]:b,[u]:[j]}],rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:d},{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:d},{endpoint:{url:j,properties:m,headers:m},type:e}],type:f},{conditions:[{[t]:b,[u]:r}],rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:g}],rules:[{conditions:[k,l],rules:[{conditions:[{[t]:c,[u]:[a,n]},o],rules:[{endpoint:{url:"https://nimble-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:m,headers:m},type:e}],type:f},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:d}],type:f},{conditions:p,rules:[{conditions:[{[t]:c,[u]:[n,a]}],rules:[{endpoint:{url:"https://nimble-fips.{Region}.{PartitionResult#dnsSuffix}",properties:m,headers:m},type:e}],type:f},{error:"FIPS is enabled but this partition does not support FIPS",type:d}],type:f},{conditions:q,rules:[{conditions:[o],rules:[{endpoint:{url:"https://nimble.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:m,headers:m},type:e}],type:f},{error:"DualStack is enabled but this partition does not support DualStack",type:d}],type:f},{endpoint:{url:"https://nimble.{Region}.{PartitionResult#dnsSuffix}",properties:m,headers:m},type:e}],type:f}],type:f},{error:"Invalid Configuration: Missing Region",type:d}]}; -export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-nimble/src/extensionConfiguration.ts b/clients/client-nimble/src/extensionConfiguration.ts deleted file mode 100644 index 994e354b5e72..000000000000 --- a/clients/client-nimble/src/extensionConfiguration.ts +++ /dev/null @@ -1,15 +0,0 @@ -// smithy-typescript generated code -import { AwsRegionExtensionConfiguration } from "@aws-sdk/types"; -import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http"; -import { DefaultExtensionConfiguration } from "@smithy/types"; - -import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration"; - -/** - * @internal - */ -export interface NimbleExtensionConfiguration - extends HttpHandlerExtensionConfiguration, - DefaultExtensionConfiguration, - AwsRegionExtensionConfiguration, - HttpAuthExtensionConfiguration {} diff --git a/clients/client-nimble/src/index.ts b/clients/client-nimble/src/index.ts deleted file mode 100644 index c9d1123e05f7..000000000000 --- a/clients/client-nimble/src/index.ts +++ /dev/null @@ -1,23 +0,0 @@ -// smithy-typescript generated code -/* eslint-disable */ -/** - *

Welcome to the Amazon Nimble Studio API reference. This API reference provides - * methods, schema, resources, parameters, and more to help you get the most out of Nimble - * Studio.

- *

Nimble Studio is a virtual studio that empowers visual effects, animation, and - * interactive content teams to create content securely within a scalable, private cloud - * service.

- * - * @packageDocumentation - */ -export * from "./NimbleClient"; -export * from "./Nimble"; -export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; -export type { RuntimeExtension } from "./runtimeExtensions"; -export type { NimbleExtensionConfiguration } from "./extensionConfiguration"; -export * from "./commands"; -export * from "./pagination"; -export * from "./waiters"; -export * from "./models"; - -export { NimbleServiceException } from "./models/NimbleServiceException"; diff --git a/clients/client-nimble/src/models/NimbleServiceException.ts b/clients/client-nimble/src/models/NimbleServiceException.ts deleted file mode 100644 index 336a3b96943a..000000000000 --- a/clients/client-nimble/src/models/NimbleServiceException.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 Nimble service. - */ -export class NimbleServiceException extends __ServiceException { - /** - * @internal - */ - constructor(options: __ServiceExceptionOptions) { - super(options); - Object.setPrototypeOf(this, NimbleServiceException.prototype); - } -} diff --git a/clients/client-nimble/src/models/index.ts b/clients/client-nimble/src/models/index.ts deleted file mode 100644 index 9eaceb12865f..000000000000 --- a/clients/client-nimble/src/models/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -// smithy-typescript generated code -export * from "./models_0"; diff --git a/clients/client-nimble/src/models/models_0.ts b/clients/client-nimble/src/models/models_0.ts deleted file mode 100644 index d565b9dc6814..000000000000 --- a/clients/client-nimble/src/models/models_0.ts +++ /dev/null @@ -1,5152 +0,0 @@ -// smithy-typescript generated code -import { ExceptionOptionType as __ExceptionOptionType, SENSITIVE_STRING } from "@smithy/smithy-client"; - -import { NimbleServiceException as __BaseException } from "./NimbleServiceException"; - -/** - * @public - */ -export interface AcceptEulasRequest { - /** - *

Unique, case-sensitive identifier that you provide to ensure the idempotency of the - * request. If you don’t specify a client token, the Amazon Web Services SDK automatically - * generates a client token and uses it for the request to ensure idempotency.

- * @public - */ - clientToken?: string; - - /** - *

The EULA ID.

- * @public - */ - eulaIds?: string[]; - - /** - *

The studio ID.

- * @public - */ - studioId: string | undefined; -} - -/** - *

The acceptance of a EULA, required to use Amazon-provided streaming images.

- * @public - */ -export interface EulaAcceptance { - /** - *

The ISO timestamp in seconds for when the EULA was accepted.

- * @public - */ - acceptedAt?: Date; - - /** - *

The ID of the person who accepted the EULA.

- * @public - */ - acceptedBy?: string; - - /** - *

The ID of the acceptee.

- * @public - */ - accepteeId?: string; - - /** - *

The EULA acceptance ID.

- * @public - */ - eulaAcceptanceId?: string; - - /** - *

The EULA ID.

- * @public - */ - eulaId?: string; -} - -/** - * @public - */ -export interface AcceptEulasResponse { - /** - *

A collection of EULA acceptances.

- * @public - */ - eulaAcceptances?: EulaAcceptance[]; -} - -/** - *

You are not authorized to perform this operation. Check your IAM - * policies, and ensure that you are using the correct access keys.

- * @public - */ -export class AccessDeniedException extends __BaseException { - readonly name: "AccessDeniedException" = "AccessDeniedException"; - readonly $fault: "client" = "client"; - /** - *

A more specific error code.

- * @public - */ - code?: string; - - /** - *

The exception context.

- * @public - */ - context?: Record; - - /** - * @internal - */ - constructor(opts: __ExceptionOptionType) { - super({ - name: "AccessDeniedException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, AccessDeniedException.prototype); - this.code = opts.code; - this.context = opts.context; - } -} - -/** - *

Another operation is in progress.

- * @public - */ -export class ConflictException extends __BaseException { - readonly name: "ConflictException" = "ConflictException"; - readonly $fault: "client" = "client"; - /** - *

A more specific error code.

- * @public - */ - code?: string; - - /** - *

The exception context.

- * @public - */ - context?: Record; - - /** - * @internal - */ - constructor(opts: __ExceptionOptionType) { - super({ - name: "ConflictException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, ConflictException.prototype); - this.code = opts.code; - this.context = opts.context; - } -} - -/** - *

An internal error has occurred. Please retry your request.

- * @public - */ -export class InternalServerErrorException extends __BaseException { - readonly name: "InternalServerErrorException" = "InternalServerErrorException"; - readonly $fault: "server" = "server"; - $retryable = {}; - /** - *

A more specific error code.

- * @public - */ - code?: string; - - /** - *

The exception context.

- * @public - */ - context?: Record; - - /** - * @internal - */ - constructor(opts: __ExceptionOptionType) { - super({ - name: "InternalServerErrorException", - $fault: "server", - ...opts, - }); - Object.setPrototypeOf(this, InternalServerErrorException.prototype); - this.code = opts.code; - this.context = opts.context; - } -} - -/** - *

The specified resource could not be found.

- * @public - */ -export class ResourceNotFoundException extends __BaseException { - readonly name: "ResourceNotFoundException" = "ResourceNotFoundException"; - readonly $fault: "client" = "client"; - /** - *

A more specific error code.

- * @public - */ - code?: string; - - /** - *

The exception context.

- * @public - */ - context?: Record; - - /** - * @internal - */ - constructor(opts: __ExceptionOptionType) { - super({ - name: "ResourceNotFoundException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, ResourceNotFoundException.prototype); - this.code = opts.code; - this.context = opts.context; - } -} - -/** - *

Your current quota does not allow you to perform the request action. You can request - * increases for some quotas, and other quotas cannot be increased.

- *

Please use Amazon Web Services Service Quotas to request an increase.

- * @public - */ -export class ServiceQuotaExceededException extends __BaseException { - readonly name: "ServiceQuotaExceededException" = "ServiceQuotaExceededException"; - readonly $fault: "client" = "client"; - /** - *

A more specific error code.

- * @public - */ - code?: string; - - /** - *

The exception context.

- * @public - */ - context?: Record; - - /** - * @internal - */ - constructor(opts: __ExceptionOptionType) { - super({ - name: "ServiceQuotaExceededException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype); - this.code = opts.code; - this.context = opts.context; - } -} - -/** - *

The request throughput limit was exceeded.

- * @public - */ -export class ThrottlingException extends __BaseException { - readonly name: "ThrottlingException" = "ThrottlingException"; - readonly $fault: "client" = "client"; - $retryable = {}; - /** - *

A more specific error code.

- * @public - */ - code?: string; - - /** - *

The exception context.

- * @public - */ - context?: Record; - - /** - * @internal - */ - constructor(opts: __ExceptionOptionType) { - super({ - name: "ThrottlingException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, ThrottlingException.prototype); - this.code = opts.code; - this.context = opts.context; - } -} - -/** - *

One of the parameters in the request is invalid.

- * @public - */ -export class ValidationException extends __BaseException { - readonly name: "ValidationException" = "ValidationException"; - readonly $fault: "client" = "client"; - /** - *

A more specific error code.

- * @public - */ - code?: string; - - /** - *

The exception context.

- * @public - */ - context?: Record; - - /** - * @internal - */ - constructor(opts: __ExceptionOptionType) { - super({ - name: "ValidationException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, ValidationException.prototype); - this.code = opts.code; - this.context = opts.context; - } -} - -/** - *

An LDAP attribute of an Active Directory computer account, in the form of a name:value - * pair.

- * @public - */ -export interface ActiveDirectoryComputerAttribute { - /** - *

The name for the LDAP attribute.

- * @public - */ - name?: string; - - /** - *

The value for the LDAP attribute.

- * @public - */ - value?: string; -} - -/** - *

The configuration for a Directory Service for Microsoft Active Directory studio resource.

- * @public - */ -export interface ActiveDirectoryConfiguration { - /** - *

A collection of custom attributes for an Active Directory computer.

- * @public - */ - computerAttributes?: ActiveDirectoryComputerAttribute[]; - - /** - *

The directory ID of the Directory Service for Microsoft Active Directory to access using this studio - * component.

- * @public - */ - directoryId?: string; - - /** - *

The distinguished name (DN) and organizational unit (OU) of an Active Directory - * computer.

- * @public - */ - organizationalUnitDistinguishedName?: string; -} - -/** - * @public - * @enum - */ -export const AutomaticTerminationMode = { - ACTIVATED: "ACTIVATED", - DEACTIVATED: "DEACTIVATED", -} as const; - -/** - * @public - */ -export type AutomaticTerminationMode = (typeof AutomaticTerminationMode)[keyof typeof AutomaticTerminationMode]; - -/** - *

The configuration for a render farm that is associated with a studio resource.

- * @public - */ -export interface ComputeFarmConfiguration { - /** - *

The name of an Active Directory user that is used on ComputeFarm worker - * instances.

- * @public - */ - activeDirectoryUser?: string; - - /** - *

The endpoint of the ComputeFarm that is accessed by the studio component - * resource.

- * @public - */ - endpoint?: string; -} - -/** - * @public - * @enum - */ -export const StreamingClipboardMode = { - DISABLED: "DISABLED", - ENABLED: "ENABLED", -} as const; - -/** - * @public - */ -export type StreamingClipboardMode = (typeof StreamingClipboardMode)[keyof typeof StreamingClipboardMode]; - -/** - * @public - * @enum - */ -export const StreamingInstanceType = { - g3_4xlarge: "g3.4xlarge", - g3s_xlarge: "g3s.xlarge", - g4dn_12xlarge: "g4dn.12xlarge", - g4dn_16xlarge: "g4dn.16xlarge", - g4dn_2xlarge: "g4dn.2xlarge", - g4dn_4xlarge: "g4dn.4xlarge", - g4dn_8xlarge: "g4dn.8xlarge", - g4dn_xlarge: "g4dn.xlarge", - g5_16xlarge: "g5.16xlarge", - g5_2xlarge: "g5.2xlarge", - g5_4xlarge: "g5.4xlarge", - g5_8xlarge: "g5.8xlarge", - g5_xlarge: "g5.xlarge", -} as const; - -/** - * @public - */ -export type StreamingInstanceType = (typeof StreamingInstanceType)[keyof typeof StreamingInstanceType]; - -/** - * @public - * @enum - */ -export const SessionBackupMode = { - AUTOMATIC: "AUTOMATIC", - DEACTIVATED: "DEACTIVATED", -} as const; - -/** - * @public - */ -export type SessionBackupMode = (typeof SessionBackupMode)[keyof typeof SessionBackupMode]; - -/** - *

Configures how streaming sessions are backed up when launched from this launch - * profile.

- * @public - */ -export interface StreamConfigurationSessionBackup { - /** - *

Specifies how artists sessions are backed up.

- *

Configures backups for streaming sessions launched with this launch profile. The - * default value is DEACTIVATED, which means that backups are deactivated. To - * allow backups, set this value to AUTOMATIC.

- * @public - */ - mode?: SessionBackupMode; - - /** - *

The maximum number of backups that each streaming session created from this launch - * profile can have.

- * @public - */ - maxBackupsToRetain?: number; -} - -/** - * @public - * @enum - */ -export const SessionPersistenceMode = { - ACTIVATED: "ACTIVATED", - DEACTIVATED: "DEACTIVATED", -} as const; - -/** - * @public - */ -export type SessionPersistenceMode = (typeof SessionPersistenceMode)[keyof typeof SessionPersistenceMode]; - -/** - * @public - * @enum - */ -export const StreamingSessionStorageMode = { - UPLOAD: "UPLOAD", -} as const; - -/** - * @public - */ -export type StreamingSessionStorageMode = - (typeof StreamingSessionStorageMode)[keyof typeof StreamingSessionStorageMode]; - -/** - *

The upload storage root location (folder) on streaming workstations where files are - * uploaded.

- * @public - */ -export interface StreamingSessionStorageRoot { - /** - *

The folder path in Linux workstations where files are uploaded.

- * @public - */ - linux?: string; - - /** - *

The folder path in Windows workstations where files are uploaded.

- * @public - */ - windows?: string; -} - -/** - *

The configuration for a streaming session’s upload storage.

- * @public - */ -export interface StreamConfigurationSessionStorage { - /** - *

The configuration for the upload storage root of the streaming session.

- * @public - */ - root?: StreamingSessionStorageRoot; - - /** - *

Allows artists to upload files to their workstations. The only valid option is - * UPLOAD.

- * @public - */ - mode: StreamingSessionStorageMode[] | undefined; -} - -/** - *

Custom volume configuration for the root volumes that are attached to streaming - * sessions.

- *

This parameter is only allowed when sessionPersistenceMode is - * ACTIVATED.

- * @public - */ -export interface VolumeConfiguration { - /** - *

The size of the root volume that is attached to the streaming session. The root volume - * size is measured in GiBs.

- * @public - */ - size?: number; - - /** - *

The throughput to provision for the root volume that is attached to the streaming - * session. The throughput is measured in MiB/s.

- * @public - */ - throughput?: number; - - /** - *

The number of I/O operations per second for the root volume that is attached to - * streaming session.

- * @public - */ - iops?: number; -} - -/** - *

Configuration for streaming workstations created using this launch profile.

- * @public - */ -export interface StreamConfigurationCreate { - /** - *

Allows or deactivates the use of the system clipboard to copy and paste between the - * streaming session and streaming client.

- * @public - */ - clipboardMode: StreamingClipboardMode | undefined; - - /** - *

The EC2 instance types that users can select from when launching a streaming session - * with this launch profile.

- * @public - */ - ec2InstanceTypes: StreamingInstanceType[] | undefined; - - /** - *

The length of time, in minutes, that a streaming session can be active before it is - * stopped or terminated. After this point, Nimble Studio automatically terminates or - * stops the session. The default length of time is 690 minutes, and the maximum length of - * time is 30 days.

- * @public - */ - maxSessionLengthInMinutes?: number; - - /** - *

The streaming images that users can select from when launching a streaming session - * with this launch profile.

- * @public - */ - streamingImageIds: string[] | undefined; - - /** - *

Integer that determines if you can start and stop your sessions and how long a session - * can stay in the STOPPED state. The default value is 0. The maximum value is - * 5760.

- *

This field is allowed only when sessionPersistenceMode is - * ACTIVATED and automaticTerminationMode is - * ACTIVATED.

- *

If the value is set to 0, your sessions can’t be STOPPED. If you then - * call StopStreamingSession, the session fails. If the time that a session - * stays in the READY state exceeds the maxSessionLengthInMinutes - * value, the session will automatically be terminated (instead of - * STOPPED).

- *

If the value is set to a positive number, the session can be stopped. You can call - * StopStreamingSession to stop sessions in the READY state. - * If the time that a session stays in the READY state exceeds the - * maxSessionLengthInMinutes value, the session will automatically be - * stopped (instead of terminated).

- * @public - */ - maxStoppedSessionLengthInMinutes?: number; - - /** - *

The upload storage for a streaming workstation that is created using this launch - * profile.

- * @public - */ - sessionStorage?: StreamConfigurationSessionStorage; - - /** - *

Configures how streaming sessions are backed up when launched from this launch - * profile.

- * @public - */ - sessionBackup?: StreamConfigurationSessionBackup; - - /** - *

Determine if a streaming session created from this launch profile can configure - * persistent storage. This means that volumeConfiguration and - * automaticTerminationMode are configured.

- * @public - */ - sessionPersistenceMode?: SessionPersistenceMode; - - /** - *

Custom volume configuration for the root volumes that are attached to streaming - * sessions.

- *

This parameter is only allowed when sessionPersistenceMode is - * ACTIVATED.

- * @public - */ - volumeConfiguration?: VolumeConfiguration; - - /** - *

Indicates if a streaming session created from this launch profile should be terminated - * automatically or retained without termination after being in a STOPPED - * state.

- *
    - *
  • - *

    When ACTIVATED, the streaming session is scheduled for - * termination after being in the STOPPED state for the time specified - * in maxStoppedSessionLengthInMinutes.

    - *
  • - *
  • - *

    When DEACTIVATED, the streaming session can remain in the - * STOPPED state indefinitely.

    - *
  • - *
- *

This parameter is only allowed when sessionPersistenceMode is - * ACTIVATED. When allowed, the default value for this parameter is - * DEACTIVATED.

- * @public - */ - automaticTerminationMode?: AutomaticTerminationMode; -} - -/** - * @public - */ -export interface CreateLaunchProfileRequest { - /** - *

Unique, case-sensitive identifier that you provide to ensure the idempotency of the - * request. If you don’t specify a client token, the Amazon Web Services SDK automatically - * generates a client token and uses it for the request to ensure idempotency.

- * @public - */ - clientToken?: string; - - /** - *

The description.

- * @public - */ - description?: string; - - /** - *

Specifies the IDs of the EC2 subnets where streaming sessions will be accessible from. - * These subnets must support the specified instance types.

- * @public - */ - ec2SubnetIds: string[] | undefined; - - /** - *

The version number of the protocol that is used by the launch profile. The only valid - * version is "2021-03-31".

- * @public - */ - launchProfileProtocolVersions: string[] | undefined; - - /** - *

The name for the launch profile.

- * @public - */ - name: string | undefined; - - /** - *

A configuration for a streaming session.

- * @public - */ - streamConfiguration: StreamConfigurationCreate | undefined; - - /** - *

Unique identifiers for a collection of studio components that can be used with this - * launch profile.

- * @public - */ - studioComponentIds: string[] | undefined; - - /** - *

The studio ID.

- * @public - */ - studioId: string | undefined; - - /** - *

A collection of labels, in the form of key-value pairs, that apply to this - * resource.

- * @public - */ - tags?: Record; -} - -/** - * @public - * @enum - */ -export const LaunchProfileState = { - CREATE_FAILED: "CREATE_FAILED", - CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS", - DELETED: "DELETED", - DELETE_FAILED: "DELETE_FAILED", - DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS", - READY: "READY", - UPDATE_FAILED: "UPDATE_FAILED", - UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS", -} as const; - -/** - * @public - */ -export type LaunchProfileState = (typeof LaunchProfileState)[keyof typeof LaunchProfileState]; - -/** - * @public - * @enum - */ -export const LaunchProfileStatusCode = { - ENCRYPTION_KEY_ACCESS_DENIED: "ENCRYPTION_KEY_ACCESS_DENIED", - ENCRYPTION_KEY_NOT_FOUND: "ENCRYPTION_KEY_NOT_FOUND", - INTERNAL_ERROR: "INTERNAL_ERROR", - INVALID_INSTANCE_TYPES_PROVIDED: "INVALID_INSTANCE_TYPES_PROVIDED", - INVALID_SUBNETS_COMBINATION: "INVALID_SUBNETS_COMBINATION", - INVALID_SUBNETS_PROVIDED: "INVALID_SUBNETS_PROVIDED", - LAUNCH_PROFILE_CREATED: "LAUNCH_PROFILE_CREATED", - LAUNCH_PROFILE_CREATE_IN_PROGRESS: "LAUNCH_PROFILE_CREATE_IN_PROGRESS", - LAUNCH_PROFILE_DELETED: "LAUNCH_PROFILE_DELETED", - LAUNCH_PROFILE_DELETE_IN_PROGRESS: "LAUNCH_PROFILE_DELETE_IN_PROGRESS", - LAUNCH_PROFILE_UPDATED: "LAUNCH_PROFILE_UPDATED", - LAUNCH_PROFILE_UPDATE_IN_PROGRESS: "LAUNCH_PROFILE_UPDATE_IN_PROGRESS", - LAUNCH_PROFILE_WITH_STREAM_SESSIONS_NOT_DELETED: "LAUNCH_PROFILE_WITH_STREAM_SESSIONS_NOT_DELETED", - STREAMING_IMAGE_NOT_FOUND: "STREAMING_IMAGE_NOT_FOUND", - STREAMING_IMAGE_NOT_READY: "STREAMING_IMAGE_NOT_READY", -} as const; - -/** - * @public - */ -export type LaunchProfileStatusCode = (typeof LaunchProfileStatusCode)[keyof typeof LaunchProfileStatusCode]; - -/** - *

A configuration for a streaming session.

- * @public - */ -export interface StreamConfiguration { - /** - *

Allows or deactivates the use of the system clipboard to copy and paste between the - * streaming session and streaming client.

- * @public - */ - clipboardMode: StreamingClipboardMode | undefined; - - /** - *

The EC2 instance types that users can select from when launching a streaming session - * with this launch profile.

- * @public - */ - ec2InstanceTypes: StreamingInstanceType[] | undefined; - - /** - *

The length of time, in minutes, that a streaming session can be active before it is - * stopped or terminated. After this point, Nimble Studio automatically terminates or - * stops the session. The default length of time is 690 minutes, and the maximum length of - * time is 30 days.

- * @public - */ - maxSessionLengthInMinutes?: number; - - /** - *

The streaming images that users can select from when launching a streaming session - * with this launch profile.

- * @public - */ - streamingImageIds: string[] | undefined; - - /** - *

Integer that determines if you can start and stop your sessions and how long a session - * can stay in the STOPPED state. The default value is 0. The maximum value is - * 5760.

- *

This field is allowed only when sessionPersistenceMode is - * ACTIVATED and automaticTerminationMode is - * ACTIVATED.

- *

If the value is set to 0, your sessions can’t be STOPPED. If you then - * call StopStreamingSession, the session fails. If the time that a session - * stays in the READY state exceeds the maxSessionLengthInMinutes - * value, the session will automatically be terminated (instead of - * STOPPED).

- *

If the value is set to a positive number, the session can be stopped. You can call - * StopStreamingSession to stop sessions in the READY state. - * If the time that a session stays in the READY state exceeds the - * maxSessionLengthInMinutes value, the session will automatically be - * stopped (instead of terminated).

- * @public - */ - maxStoppedSessionLengthInMinutes?: number; - - /** - *

The upload storage for a streaming session.

- * @public - */ - sessionStorage?: StreamConfigurationSessionStorage; - - /** - *

Information about the streaming session backup.

- * @public - */ - sessionBackup?: StreamConfigurationSessionBackup; - - /** - *

Determine if a streaming session created from this launch profile can configure - * persistent storage. This means that volumeConfiguration and - * automaticTerminationMode are configured.

- * @public - */ - sessionPersistenceMode?: SessionPersistenceMode; - - /** - *

Custom volume configuration for the root volumes that are attached to streaming - * sessions.

- *

This parameter is only allowed when sessionPersistenceMode is - * ACTIVATED.

- * @public - */ - volumeConfiguration?: VolumeConfiguration; - - /** - *

Indicates if a streaming session created from this launch profile should be terminated - * automatically or retained without termination after being in a STOPPED - * state.

- *
    - *
  • - *

    When ACTIVATED, the streaming session is scheduled for - * termination after being in the STOPPED state for the time specified - * in maxStoppedSessionLengthInMinutes.

    - *
  • - *
  • - *

    When DEACTIVATED, the streaming session can remain in the - * STOPPED state indefinitely.

    - *
  • - *
- *

This parameter is only allowed when sessionPersistenceMode is - * ACTIVATED. When allowed, the default value for this parameter is - * DEACTIVATED.

- * @public - */ - automaticTerminationMode?: AutomaticTerminationMode; -} - -/** - * @public - * @enum - */ -export const LaunchProfileValidationState = { - VALIDATION_FAILED: "VALIDATION_FAILED", - VALIDATION_FAILED_INTERNAL_SERVER_ERROR: "VALIDATION_FAILED_INTERNAL_SERVER_ERROR", - VALIDATION_IN_PROGRESS: "VALIDATION_IN_PROGRESS", - VALIDATION_NOT_STARTED: "VALIDATION_NOT_STARTED", - VALIDATION_SUCCESS: "VALIDATION_SUCCESS", -} as const; - -/** - * @public - */ -export type LaunchProfileValidationState = - (typeof LaunchProfileValidationState)[keyof typeof LaunchProfileValidationState]; - -/** - * @public - * @enum - */ -export const LaunchProfileValidationStatusCode = { - VALIDATION_FAILED_INTERNAL_SERVER_ERROR: "VALIDATION_FAILED_INTERNAL_SERVER_ERROR", - VALIDATION_FAILED_INVALID_ACTIVE_DIRECTORY: "VALIDATION_FAILED_INVALID_ACTIVE_DIRECTORY", - VALIDATION_FAILED_INVALID_SECURITY_GROUP_ASSOCIATION: "VALIDATION_FAILED_INVALID_SECURITY_GROUP_ASSOCIATION", - VALIDATION_FAILED_INVALID_SUBNET_ROUTE_TABLE_ASSOCIATION: "VALIDATION_FAILED_INVALID_SUBNET_ROUTE_TABLE_ASSOCIATION", - VALIDATION_FAILED_SUBNET_NOT_FOUND: "VALIDATION_FAILED_SUBNET_NOT_FOUND", - VALIDATION_FAILED_UNAUTHORIZED: "VALIDATION_FAILED_UNAUTHORIZED", - VALIDATION_IN_PROGRESS: "VALIDATION_IN_PROGRESS", - VALIDATION_NOT_STARTED: "VALIDATION_NOT_STARTED", - VALIDATION_SUCCESS: "VALIDATION_SUCCESS", -} as const; - -/** - * @public - */ -export type LaunchProfileValidationStatusCode = - (typeof LaunchProfileValidationStatusCode)[keyof typeof LaunchProfileValidationStatusCode]; - -/** - * @public - * @enum - */ -export const LaunchProfileValidationType = { - VALIDATE_ACTIVE_DIRECTORY_STUDIO_COMPONENT: "VALIDATE_ACTIVE_DIRECTORY_STUDIO_COMPONENT", - VALIDATE_NETWORK_ACL_ASSOCIATION: "VALIDATE_NETWORK_ACL_ASSOCIATION", - VALIDATE_SECURITY_GROUP_ASSOCIATION: "VALIDATE_SECURITY_GROUP_ASSOCIATION", - VALIDATE_SUBNET_ASSOCIATION: "VALIDATE_SUBNET_ASSOCIATION", -} as const; - -/** - * @public - */ -export type LaunchProfileValidationType = - (typeof LaunchProfileValidationType)[keyof typeof LaunchProfileValidationType]; - -/** - *

The launch profile validation result.

- * @public - */ -export interface ValidationResult { - /** - *

The type of the validation result.

- * @public - */ - type: LaunchProfileValidationType | undefined; - - /** - *

The current state.

- * @public - */ - state: LaunchProfileValidationState | undefined; - - /** - *

The status code. This will contain the failure reason if the state is - * VALIDATION_FAILED.

- * @public - */ - statusCode: LaunchProfileValidationStatusCode | undefined; - - /** - *

The status message for the validation result.

- * @public - */ - statusMessage: string | undefined; -} - -/** - *

A launch profile controls your artist workforce’s access to studio components, like - * compute farms, shared file systems, managed file systems, and license server - * configurations, as well as instance types and Amazon Machine Images (AMIs).

- *

Studio administrators create launch profiles in the Nimble Studio console. - * Artists can use their launch profiles to launch an instance from the Nimble Studio - * portal. Each user’s launch profile defines how they can launch a streaming session. By - * default, studio admins can use all launch profiles.

- * @public - */ -export interface LaunchProfile { - /** - *

The Amazon Resource Name (ARN) that is assigned to a studio resource and uniquely - * identifies it. ARNs are unique across all Regions.

- * @public - */ - arn?: string; - - /** - *

The ISO timestamp in seconds for when the resource was created.

- * @public - */ - createdAt?: Date; - - /** - *

The user ID of the user that created the launch profile.

- * @public - */ - createdBy?: string; - - /** - *

A human-readable description of the launch profile.

- * @public - */ - description?: string; - - /** - *

Unique identifiers for a collection of EC2 subnets.

- * @public - */ - ec2SubnetIds?: string[]; - - /** - *

The ID of the launch profile used to control access from the streaming session.

- * @public - */ - launchProfileId?: string; - - /** - *

The version number of the protocol that is used by the launch profile. The only valid - * version is "2021-03-31".

- * @public - */ - launchProfileProtocolVersions?: string[]; - - /** - *

A friendly name for the launch profile.

- * @public - */ - name?: string; - - /** - *

The current state.

- * @public - */ - state?: LaunchProfileState; - - /** - *

The status code.

- * @public - */ - statusCode?: LaunchProfileStatusCode; - - /** - *

The status message for the launch profile.

- * @public - */ - statusMessage?: string; - - /** - *

A configuration for a streaming session.

- * @public - */ - streamConfiguration?: StreamConfiguration; - - /** - *

Unique identifiers for a collection of studio components that can be used with this - * launch profile.

- * @public - */ - studioComponentIds?: string[]; - - /** - *

A collection of labels, in the form of key-value pairs, that apply to this - * resource.

- * @public - */ - tags?: Record; - - /** - *

The ISO timestamp in seconds for when the resource was updated.

- * @public - */ - updatedAt?: Date; - - /** - *

The user ID of the user that most recently updated the resource.

- * @public - */ - updatedBy?: string; - - /** - *

The list of the latest validation results.

- * @public - */ - validationResults?: ValidationResult[]; -} - -/** - * @public - */ -export interface CreateLaunchProfileResponse { - /** - *

The launch profile.

- * @public - */ - launchProfile?: LaunchProfile; -} - -/** - * @public - */ -export interface CreateStreamingImageRequest { - /** - *

Unique, case-sensitive identifier that you provide to ensure the idempotency of the - * request. If you don’t specify a client token, the Amazon Web Services SDK automatically - * generates a client token and uses it for the request to ensure idempotency.

- * @public - */ - clientToken?: string; - - /** - *

A human-readable description of the streaming image.

- * @public - */ - description?: string; - - /** - *

The ID of an EC2 machine image with which to create this streaming image.

- * @public - */ - ec2ImageId: string | undefined; - - /** - *

A friendly name for a streaming image resource.

- * @public - */ - name: string | undefined; - - /** - *

The studio ID.

- * @public - */ - studioId: string | undefined; - - /** - *

A collection of labels, in the form of key-value pairs, that apply to this - * resource.

- * @public - */ - tags?: Record; -} - -/** - * @public - * @enum - */ -export const StreamingImageEncryptionConfigurationKeyType = { - CUSTOMER_MANAGED_KEY: "CUSTOMER_MANAGED_KEY", -} as const; - -/** - * @public - */ -export type StreamingImageEncryptionConfigurationKeyType = - (typeof StreamingImageEncryptionConfigurationKeyType)[keyof typeof StreamingImageEncryptionConfigurationKeyType]; - -/** - *

Specifies how a streaming image is encrypted.

- * @public - */ -export interface StreamingImageEncryptionConfiguration { - /** - *

The ARN for a KMS key that is used to encrypt studio data.

- * @public - */ - keyArn?: string; - - /** - *

The type of KMS key that is used to encrypt studio data.

- * @public - */ - keyType: StreamingImageEncryptionConfigurationKeyType | undefined; -} - -/** - * @public - * @enum - */ -export const StreamingImageState = { - CREATE_FAILED: "CREATE_FAILED", - CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS", - DELETED: "DELETED", - DELETE_FAILED: "DELETE_FAILED", - DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS", - READY: "READY", - UPDATE_FAILED: "UPDATE_FAILED", - UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS", -} as const; - -/** - * @public - */ -export type StreamingImageState = (typeof StreamingImageState)[keyof typeof StreamingImageState]; - -/** - * @public - * @enum - */ -export const StreamingImageStatusCode = { - ACCESS_DENIED: "ACCESS_DENIED", - INTERNAL_ERROR: "INTERNAL_ERROR", - STREAMING_IMAGE_CREATE_IN_PROGRESS: "STREAMING_IMAGE_CREATE_IN_PROGRESS", - STREAMING_IMAGE_DELETED: "STREAMING_IMAGE_DELETED", - STREAMING_IMAGE_DELETE_IN_PROGRESS: "STREAMING_IMAGE_DELETE_IN_PROGRESS", - STREAMING_IMAGE_READY: "STREAMING_IMAGE_READY", - STREAMING_IMAGE_UPDATE_IN_PROGRESS: "STREAMING_IMAGE_UPDATE_IN_PROGRESS", -} as const; - -/** - * @public - */ -export type StreamingImageStatusCode = (typeof StreamingImageStatusCode)[keyof typeof StreamingImageStatusCode]; - -/** - *

Represents a streaming image resource.

- *

Streaming images are used by studio users to select which operating system and - * software they want to use in a Nimble Studio streaming session.

- *

Amazon provides a number of streaming images that include popular 3rd-party - * software.

- *

You can create your own streaming images using an Amazon EC2 machine image - * that you create for this purpose. You can also include software that your users - * require.

- * @public - */ -export interface StreamingImage { - /** - *

The Amazon Resource Name (ARN) that is assigned to a studio resource and uniquely - * identifies it. ARNs are unique across all Regions.

- * @public - */ - arn?: string; - - /** - *

A human-readable description of the streaming image.

- * @public - */ - description?: string; - - /** - *

The ID of an EC2 machine image with which to create the streaming image.

- * @public - */ - ec2ImageId?: string; - - /** - *

The encryption configuration.

- * @public - */ - encryptionConfiguration?: StreamingImageEncryptionConfiguration; - - /** - *

The list of EULAs that must be accepted before a Streaming Session can be started - * using this streaming image.

- * @public - */ - eulaIds?: string[]; - - /** - *

A friendly name for a streaming image resource.

- * @public - */ - name?: string; - - /** - *

The owner of the streaming image, either the studioId that contains the - * streaming image, or amazon for images that are provided by Amazon Nimble Studio.

- * @public - */ - owner?: string; - - /** - *

The platform of the streaming image, either Windows or Linux.

- * @public - */ - platform?: string; - - /** - *

The current state.

- * @public - */ - state?: StreamingImageState; - - /** - *

The status code.

- * @public - */ - statusCode?: StreamingImageStatusCode; - - /** - *

The status message for the streaming image.

- * @public - */ - statusMessage?: string; - - /** - *

The ID of the streaming image.

- * @public - */ - streamingImageId?: string; - - /** - *

A collection of labels, in the form of key-value pairs, that apply to this - * resource.

- * @public - */ - tags?: Record; -} - -/** - * @public - */ -export interface CreateStreamingImageResponse { - /** - *

The streaming image.

- * @public - */ - streamingImage?: StreamingImage; -} - -/** - * @public - */ -export interface CreateStreamingSessionRequest { - /** - *

Unique, case-sensitive identifier that you provide to ensure the idempotency of the - * request. If you don’t specify a client token, the Amazon Web Services SDK automatically - * generates a client token and uses it for the request to ensure idempotency.

- * @public - */ - clientToken?: string; - - /** - *

The EC2 Instance type used for the streaming session.

- * @public - */ - ec2InstanceType?: StreamingInstanceType; - - /** - *

The ID of the launch profile used to control access from the streaming session.

- * @public - */ - launchProfileId: string | undefined; - - /** - *

The user ID of the user that owns the streaming session. The user that owns the - * session will be logging into the session and interacting with the virtual - * workstation.

- * @public - */ - ownedBy?: string; - - /** - *

The ID of the streaming image.

- * @public - */ - streamingImageId?: string; - - /** - *

The studio ID.

- * @public - */ - studioId: string | undefined; - - /** - *

A collection of labels, in the form of key-value pairs, that apply to this - * resource.

- * @public - */ - tags?: Record; -} - -/** - * @public - * @enum - */ -export const StreamingSessionState = { - CREATE_FAILED: "CREATE_FAILED", - CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS", - DELETED: "DELETED", - DELETE_FAILED: "DELETE_FAILED", - DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS", - READY: "READY", - START_FAILED: "START_FAILED", - START_IN_PROGRESS: "START_IN_PROGRESS", - STOPPED: "STOPPED", - STOP_FAILED: "STOP_FAILED", - STOP_IN_PROGRESS: "STOP_IN_PROGRESS", -} as const; - -/** - * @public - */ -export type StreamingSessionState = (typeof StreamingSessionState)[keyof typeof StreamingSessionState]; - -/** - * @public - * @enum - */ -export const StreamingSessionStatusCode = { - ACTIVE_DIRECTORY_DOMAIN_JOIN_ERROR: "ACTIVE_DIRECTORY_DOMAIN_JOIN_ERROR", - AMI_VALIDATION_ERROR: "AMI_VALIDATION_ERROR", - DECRYPT_STREAMING_IMAGE_ERROR: "DECRYPT_STREAMING_IMAGE_ERROR", - INITIALIZATION_SCRIPT_ERROR: "INITIALIZATION_SCRIPT_ERROR", - INSUFFICIENT_CAPACITY: "INSUFFICIENT_CAPACITY", - INTERNAL_ERROR: "INTERNAL_ERROR", - NETWORK_CONNECTION_ERROR: "NETWORK_CONNECTION_ERROR", - NETWORK_INTERFACE_ERROR: "NETWORK_INTERFACE_ERROR", - STREAMING_SESSION_CREATE_IN_PROGRESS: "STREAMING_SESSION_CREATE_IN_PROGRESS", - STREAMING_SESSION_DELETED: "STREAMING_SESSION_DELETED", - STREAMING_SESSION_DELETE_IN_PROGRESS: "STREAMING_SESSION_DELETE_IN_PROGRESS", - STREAMING_SESSION_READY: "STREAMING_SESSION_READY", - STREAMING_SESSION_STARTED: "STREAMING_SESSION_STARTED", - STREAMING_SESSION_START_IN_PROGRESS: "STREAMING_SESSION_START_IN_PROGRESS", - STREAMING_SESSION_STOPPED: "STREAMING_SESSION_STOPPED", - STREAMING_SESSION_STOP_IN_PROGRESS: "STREAMING_SESSION_STOP_IN_PROGRESS", -} as const; - -/** - * @public - */ -export type StreamingSessionStatusCode = (typeof StreamingSessionStatusCode)[keyof typeof StreamingSessionStatusCode]; - -/** - * @public - * @enum - */ -export const VolumeRetentionMode = { - DELETE: "DELETE", - RETAIN: "RETAIN", -} as const; - -/** - * @public - */ -export type VolumeRetentionMode = (typeof VolumeRetentionMode)[keyof typeof VolumeRetentionMode]; - -/** - *

A streaming session is a virtual workstation created using a particular launch - * profile.

- * @public - */ -export interface StreamingSession { - /** - *

The Amazon Resource Name (ARN) that is assigned to a studio resource and uniquely - * identifies it. ARNs are unique across all Regions.

- * @public - */ - arn?: string; - - /** - *

The ISO timestamp in seconds for when the resource was created.

- * @public - */ - createdAt?: Date; - - /** - *

The user ID of the user that created the streaming session.

- * @public - */ - createdBy?: string; - - /** - *

The EC2 Instance type used for the streaming session.

- * @public - */ - ec2InstanceType?: string; - - /** - *

The ID of the launch profile used to control access from the streaming session.

- * @public - */ - launchProfileId?: string; - - /** - *

The user ID of the user that owns the streaming session. The user that owns the - * session will be logging into the session and interacting with the virtual - * workstation.

- * @public - */ - ownedBy?: string; - - /** - *

The session ID.

- * @public - */ - sessionId?: string; - - /** - *

The current state.

- * @public - */ - state?: StreamingSessionState; - - /** - *

The status code.

- * @public - */ - statusCode?: StreamingSessionStatusCode; - - /** - *

The status message for the streaming session.

- * @public - */ - statusMessage?: string; - - /** - *

The ID of the streaming image.

- * @public - */ - streamingImageId?: string; - - /** - *

A collection of labels, in the form of key-value pairs, that apply to this - * resource.

- * @public - */ - tags?: Record; - - /** - *

The time the streaming session will automatically terminate if not terminated by the - * user.

- * @public - */ - terminateAt?: Date; - - /** - *

The ISO timestamp in seconds for when the resource was updated.

- * @public - */ - updatedAt?: Date; - - /** - *

The user ID of the user that most recently updated the resource.

- * @public - */ - updatedBy?: string; - - /** - *

The time the session entered STOP_IN_PROGRESS state.

- * @public - */ - stoppedAt?: Date; - - /** - *

The user ID of the user that stopped the streaming session.

- * @public - */ - stoppedBy?: string; - - /** - *

The time the session entered START_IN_PROGRESS state.

- * @public - */ - startedAt?: Date; - - /** - *

The user ID of the user that started the streaming session.

- * @public - */ - startedBy?: string; - - /** - *

The time the streaming session will automatically be stopped if the user doesn’t stop - * the session themselves.

- * @public - */ - stopAt?: Date; - - /** - *

The backup ID used to restore a streaming session.

- * @public - */ - startedFromBackupId?: string; - - /** - *

Shows the current backup setting of the session.

- * @public - */ - backupMode?: SessionBackupMode; - - /** - *

The maximum number of backups of a streaming session that you can have. When the - * maximum number of backups is reached, the oldest backup is deleted.

- * @public - */ - maxBackupsToRetain?: number; - - /** - *

Determine if an EBS volume created from this streaming session will be backed - * up.

- * @public - */ - volumeRetentionMode?: VolumeRetentionMode; - - /** - *

Determine if a streaming session created from this launch profile can configure - * persistent storage. This means that volumeConfiguration and - * automaticTerminationMode are configured.

- * @public - */ - sessionPersistenceMode?: SessionPersistenceMode; - - /** - *

Custom volume configuration for the root volumes that are attached to streaming - * sessions.

- *

This parameter is only allowed when sessionPersistenceMode is - * ACTIVATED.

- * @public - */ - volumeConfiguration?: VolumeConfiguration; - - /** - *

Indicates if a streaming session created from this launch profile should be terminated - * automatically or retained without termination after being in a STOPPED - * state.

- *
    - *
  • - *

    When ACTIVATED, the streaming session is scheduled for - * termination after being in the STOPPED state for the time specified - * in maxStoppedSessionLengthInMinutes.

    - *
  • - *
  • - *

    When DEACTIVATED, the streaming session can remain in the - * STOPPED state indefinitely.

    - *
  • - *
- *

This parameter is only allowed when sessionPersistenceMode is - * ACTIVATED. When allowed, the default value for this parameter is - * DEACTIVATED.

- * @public - */ - automaticTerminationMode?: AutomaticTerminationMode; -} - -/** - * @public - */ -export interface CreateStreamingSessionResponse { - /** - *

The session.

- * @public - */ - session?: StreamingSession; -} - -/** - * @public - */ -export interface CreateStreamingSessionStreamRequest { - /** - *

Unique, case-sensitive identifier that you provide to ensure the idempotency of the - * request. If you don’t specify a client token, the Amazon Web Services SDK automatically - * generates a client token and uses it for the request to ensure idempotency.

- * @public - */ - clientToken?: string; - - /** - *

The expiration time in seconds.

- * @public - */ - expirationInSeconds?: number; - - /** - *

The streaming session ID.

- * @public - */ - sessionId: string | undefined; - - /** - *

The studio ID.

- * @public - */ - studioId: string | undefined; -} - -/** - * @public - * @enum - */ -export const StreamingSessionStreamState = { - CREATE_FAILED: "CREATE_FAILED", - CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS", - DELETED: "DELETED", - DELETE_FAILED: "DELETE_FAILED", - DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS", - READY: "READY", -} as const; - -/** - * @public - */ -export type StreamingSessionStreamState = - (typeof StreamingSessionStreamState)[keyof typeof StreamingSessionStreamState]; - -/** - * @public - * @enum - */ -export const StreamingSessionStreamStatusCode = { - INTERNAL_ERROR: "INTERNAL_ERROR", - NETWORK_CONNECTION_ERROR: "NETWORK_CONNECTION_ERROR", - STREAM_CREATE_IN_PROGRESS: "STREAM_CREATE_IN_PROGRESS", - STREAM_DELETED: "STREAM_DELETED", - STREAM_DELETE_IN_PROGRESS: "STREAM_DELETE_IN_PROGRESS", - STREAM_READY: "STREAM_READY", -} as const; - -/** - * @public - */ -export type StreamingSessionStreamStatusCode = - (typeof StreamingSessionStreamStatusCode)[keyof typeof StreamingSessionStreamStatusCode]; - -/** - *

A stream is an active connection to a streaming session, enabling a studio user to - * control the streaming session using a compatible client. Streaming session streams are - * compatible with the NICE DCV web client, included in the Nimble Studio portal, or - * the NICE DCV desktop client.

- * @public - */ -export interface StreamingSessionStream { - /** - *

The ISO timestamp in seconds for when the resource was created.

- * @public - */ - createdAt?: Date; - - /** - *

The user ID of the user that created the streaming session stream.

- * @public - */ - createdBy?: string; - - /** - *

The ISO timestamp in seconds for when the resource expires.

- * @public - */ - expiresAt?: Date; - - /** - *

The user ID of the user that owns the streaming session. The user that owns the - * session will be logging into the session and interacting with the virtual - * workstation.

- * @public - */ - ownedBy?: string; - - /** - *

The current state.

- * @public - */ - state?: StreamingSessionStreamState; - - /** - *

The streaming session stream status code.

- * @public - */ - statusCode?: StreamingSessionStreamStatusCode; - - /** - *

The stream ID.

- * @public - */ - streamId?: string; - - /** - *

The URL to connect to this stream using the DCV client.

- * @public - */ - url?: string; -} - -/** - * @public - */ -export interface CreateStreamingSessionStreamResponse { - /** - *

The stream.

- * @public - */ - stream?: StreamingSessionStream; -} - -/** - * @public - * @enum - */ -export const StudioEncryptionConfigurationKeyType = { - AWS_OWNED_KEY: "AWS_OWNED_KEY", - CUSTOMER_MANAGED_KEY: "CUSTOMER_MANAGED_KEY", -} as const; - -/** - * @public - */ -export type StudioEncryptionConfigurationKeyType = - (typeof StudioEncryptionConfigurationKeyType)[keyof typeof StudioEncryptionConfigurationKeyType]; - -/** - *

Configuration of the encryption method that is used for the studio.

- * @public - */ -export interface StudioEncryptionConfiguration { - /** - *

The ARN for a KMS key that is used to encrypt studio data.

- * @public - */ - keyArn?: string; - - /** - *

The type of KMS key that is used to encrypt studio data.

- * @public - */ - keyType: StudioEncryptionConfigurationKeyType | undefined; -} - -/** - * @public - */ -export interface CreateStudioRequest { - /** - *

The IAM role that studio admins will assume when logging in to the - * Nimble Studio portal.

- * @public - */ - adminRoleArn: string | undefined; - - /** - *

Unique, case-sensitive identifier that you provide to ensure the idempotency of the - * request. If you don’t specify a client token, the Amazon Web Services SDK automatically - * generates a client token and uses it for the request to ensure idempotency.

- * @public - */ - clientToken?: string; - - /** - *

A friendly name for the studio.

- * @public - */ - displayName: string | undefined; - - /** - *

The studio encryption configuration.

- * @public - */ - studioEncryptionConfiguration?: StudioEncryptionConfiguration; - - /** - *

The studio name that is used in the URL of the Nimble Studio portal when accessed - * by Nimble Studio users.

- * @public - */ - studioName: string | undefined; - - /** - *

A collection of labels, in the form of key-value pairs, that apply to this - * resource.

- * @public - */ - tags?: Record; - - /** - *

The IAM role that studio users will assume when logging in to the - * Nimble Studio portal.

- * @public - */ - userRoleArn: string | undefined; -} - -/** - * @public - * @enum - */ -export const StudioState = { - CREATE_FAILED: "CREATE_FAILED", - CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS", - DELETED: "DELETED", - DELETE_FAILED: "DELETE_FAILED", - DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS", - READY: "READY", - UPDATE_FAILED: "UPDATE_FAILED", - UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS", -} as const; - -/** - * @public - */ -export type StudioState = (typeof StudioState)[keyof typeof StudioState]; - -/** - * @public - * @enum - */ -export const StudioStatusCode = { - AWS_SSO_ACCESS_DENIED: "AWS_SSO_ACCESS_DENIED", - AWS_SSO_CONFIGURATION_REPAIRED: "AWS_SSO_CONFIGURATION_REPAIRED", - AWS_SSO_CONFIGURATION_REPAIR_IN_PROGRESS: "AWS_SSO_CONFIGURATION_REPAIR_IN_PROGRESS", - AWS_SSO_NOT_ENABLED: "AWS_SSO_NOT_ENABLED", - AWS_STS_REGION_DISABLED: "AWS_STS_REGION_DISABLED", - ENCRYPTION_KEY_ACCESS_DENIED: "ENCRYPTION_KEY_ACCESS_DENIED", - ENCRYPTION_KEY_NOT_FOUND: "ENCRYPTION_KEY_NOT_FOUND", - INTERNAL_ERROR: "INTERNAL_ERROR", - ROLE_COULD_NOT_BE_ASSUMED: "ROLE_COULD_NOT_BE_ASSUMED", - ROLE_NOT_OWNED_BY_STUDIO_OWNER: "ROLE_NOT_OWNED_BY_STUDIO_OWNER", - STUDIO_CREATED: "STUDIO_CREATED", - STUDIO_CREATE_IN_PROGRESS: "STUDIO_CREATE_IN_PROGRESS", - STUDIO_DELETED: "STUDIO_DELETED", - STUDIO_DELETE_IN_PROGRESS: "STUDIO_DELETE_IN_PROGRESS", - STUDIO_UPDATED: "STUDIO_UPDATED", - STUDIO_UPDATE_IN_PROGRESS: "STUDIO_UPDATE_IN_PROGRESS", - STUDIO_WITH_LAUNCH_PROFILES_NOT_DELETED: "STUDIO_WITH_LAUNCH_PROFILES_NOT_DELETED", - STUDIO_WITH_STREAMING_IMAGES_NOT_DELETED: "STUDIO_WITH_STREAMING_IMAGES_NOT_DELETED", - STUDIO_WITH_STUDIO_COMPONENTS_NOT_DELETED: "STUDIO_WITH_STUDIO_COMPONENTS_NOT_DELETED", -} as const; - -/** - * @public - */ -export type StudioStatusCode = (typeof StudioStatusCode)[keyof typeof StudioStatusCode]; - -/** - *

Represents a studio resource.

- *

A studio is the core resource used with Nimble Studio. You must create a studio - * first, before any other resource type can be created. All other resources you create and - * manage in Nimble Studio are contained within a studio.

- *

When creating a studio, you must provides two IAM roles for use with - * the Nimble Studio portal. These roles are assumed by your users when they log in to - * the Nimble Studio portal via IAM Identity Center and your identity source.

- *

The user role must have the AmazonNimbleStudio-StudioUser managed policy - * attached for the portal to function properly.

- *

The admin role must have the AmazonNimbleStudio-StudioAdmin managed - * policy attached for the portal to function properly.

- *

Your studio roles must trust the identity.nimble.amazonaws.com service - * principal to function properly.

- * @public - */ -export interface Studio { - /** - *

The IAM role that studio admins assume when logging in to the Nimble Studio portal.

- * @public - */ - adminRoleArn?: string; - - /** - *

The Amazon Resource Name (ARN) that is assigned to a studio resource and uniquely - * identifies it. ARNs are unique across all Regions.

- * @public - */ - arn?: string; - - /** - *

The ISO timestamp in seconds for when the resource was created.

- * @public - */ - createdAt?: Date; - - /** - *

A friendly name for the studio.

- * @public - */ - displayName?: string; - - /** - *

The Amazon Web Services Region where the studio resource is located.

- * @public - */ - homeRegion?: string; - - /** - *

The IAM Identity Center application client ID used to integrate with IAM Identity Center. This ID allows IAM Identity Center users to log in to Nimble Studio - * portal.

- * @public - */ - ssoClientId?: string; - - /** - *

The current state of the studio resource.

- * @public - */ - state?: StudioState; - - /** - *

Status codes that provide additional detail on the studio state.

- * @public - */ - statusCode?: StudioStatusCode; - - /** - *

Additional detail on the studio state.

- * @public - */ - statusMessage?: string; - - /** - *

Configuration of the encryption method that is used for the studio.

- * @public - */ - studioEncryptionConfiguration?: StudioEncryptionConfiguration; - - /** - *

The unique identifier for a studio resource. In Nimble Studio, all other - * resources are contained in a studio resource.

- * @public - */ - studioId?: string; - - /** - *

The name of the studio, as included in the URL when accessing it in the Nimble Studio portal.

- * @public - */ - studioName?: string; - - /** - *

The address of the web page for the studio.

- * @public - */ - studioUrl?: string; - - /** - *

A collection of labels, in the form of key-value pairs, that apply to this - * resource.

- * @public - */ - tags?: Record; - - /** - *

The ISO timestamp in seconds for when the resource was updated.

- * @public - */ - updatedAt?: Date; - - /** - *

The IAM role that studio users assume when logging in to the Nimble Studio portal.

- * @public - */ - userRoleArn?: string; -} - -/** - * @public - */ -export interface CreateStudioResponse { - /** - *

Information about a studio.

- * @public - */ - studio?: Studio; -} - -/** - *

The configuration for a license service that is associated with a studio - * resource.

- * @public - */ -export interface LicenseServiceConfiguration { - /** - *

The endpoint of the license service that is accessed by the studio component - * resource.

- * @public - */ - endpoint?: string; -} - -/** - *

The configuration for a shared file storage system that is associated with a studio - * resource.

- * @public - */ -export interface SharedFileSystemConfiguration { - /** - *

The endpoint of the shared file system that is accessed by the studio component - * resource.

- * @public - */ - endpoint?: string; - - /** - *

The unique identifier for a file system.

- * @public - */ - fileSystemId?: string; - - /** - *

The mount location for a shared file system on a Linux virtual workstation.

- * @public - */ - linuxMountPoint?: string; - - /** - *

The name of the file share.

- * @public - */ - shareName?: string; - - /** - *

The mount location for a shared file system on a Windows virtual workstation.

- * @public - */ - windowsMountDrive?: string; -} - -/** - *

The configuration of the studio component, based on component type.

- * @public - */ -export interface StudioComponentConfiguration { - /** - *

The configuration for a Directory Service for Microsoft Active Directory studio resource.

- * @public - */ - activeDirectoryConfiguration?: ActiveDirectoryConfiguration; - - /** - *

The configuration for a render farm that is associated with a studio resource.

- * @public - */ - computeFarmConfiguration?: ComputeFarmConfiguration; - - /** - *

The configuration for a license service that is associated with a studio - * resource.

- * @public - */ - licenseServiceConfiguration?: LicenseServiceConfiguration; - - /** - *

The configuration for a shared file storage system that is associated with a studio - * resource.

- * @public - */ - sharedFileSystemConfiguration?: SharedFileSystemConfiguration; -} - -/** - * @public - * @enum - */ -export const LaunchProfilePlatform = { - LINUX: "LINUX", - WINDOWS: "WINDOWS", -} as const; - -/** - * @public - */ -export type LaunchProfilePlatform = (typeof LaunchProfilePlatform)[keyof typeof LaunchProfilePlatform]; - -/** - * @public - * @enum - */ -export const StudioComponentInitializationScriptRunContext = { - SYSTEM_INITIALIZATION: "SYSTEM_INITIALIZATION", - USER_INITIALIZATION: "USER_INITIALIZATION", -} as const; - -/** - * @public - */ -export type StudioComponentInitializationScriptRunContext = - (typeof StudioComponentInitializationScriptRunContext)[keyof typeof StudioComponentInitializationScriptRunContext]; - -/** - *

Initialization scripts for studio components.

- * @public - */ -export interface StudioComponentInitializationScript { - /** - *

The version number of the protocol that is used by the launch profile. The only valid - * version is "2021-03-31".

- * @public - */ - launchProfileProtocolVersion?: string; - - /** - *

The platform of the initialization script, either Windows or Linux.

- * @public - */ - platform?: LaunchProfilePlatform; - - /** - *

The method to use when running the initialization script.

- * @public - */ - runContext?: StudioComponentInitializationScriptRunContext; - - /** - *

The initialization script.

- * @public - */ - script?: string; -} - -/** - *

A parameter for a studio component script, in the form of a key-value pair.

- * @public - */ -export interface ScriptParameterKeyValue { - /** - *

A script parameter key.

- * @public - */ - key?: string; - - /** - *

A script parameter value.

- * @public - */ - value?: string; -} - -/** - * @public - * @enum - */ -export const StudioComponentSubtype = { - AMAZON_FSX_FOR_LUSTRE: "AMAZON_FSX_FOR_LUSTRE", - AMAZON_FSX_FOR_WINDOWS: "AMAZON_FSX_FOR_WINDOWS", - AWS_MANAGED_MICROSOFT_AD: "AWS_MANAGED_MICROSOFT_AD", - CUSTOM: "CUSTOM", -} as const; - -/** - * @public - */ -export type StudioComponentSubtype = (typeof StudioComponentSubtype)[keyof typeof StudioComponentSubtype]; - -/** - * @public - * @enum - */ -export const StudioComponentType = { - ACTIVE_DIRECTORY: "ACTIVE_DIRECTORY", - COMPUTE_FARM: "COMPUTE_FARM", - CUSTOM: "CUSTOM", - LICENSE_SERVICE: "LICENSE_SERVICE", - SHARED_FILE_SYSTEM: "SHARED_FILE_SYSTEM", -} as const; - -/** - * @public - */ -export type StudioComponentType = (typeof StudioComponentType)[keyof typeof StudioComponentType]; - -/** - * @public - */ -export interface CreateStudioComponentRequest { - /** - *

Unique, case-sensitive identifier that you provide to ensure the idempotency of the - * request. If you don’t specify a client token, the Amazon Web Services SDK automatically - * generates a client token and uses it for the request to ensure idempotency.

- * @public - */ - clientToken?: string; - - /** - *

The configuration of the studio component, based on component type.

- * @public - */ - configuration?: StudioComponentConfiguration; - - /** - *

The description.

- * @public - */ - description?: string; - - /** - *

The EC2 security groups that control access to the studio component.

- * @public - */ - ec2SecurityGroupIds?: string[]; - - /** - *

Initialization scripts for studio components.

- * @public - */ - initializationScripts?: StudioComponentInitializationScript[]; - - /** - *

The name for the studio component.

- * @public - */ - name: string | undefined; - - /** - *

Parameters for the studio component scripts.

- * @public - */ - scriptParameters?: ScriptParameterKeyValue[]; - - /** - *

The studio ID.

- * @public - */ - studioId: string | undefined; - - /** - *

The specific subtype of a studio component.

- * @public - */ - subtype?: StudioComponentSubtype; - - /** - *

A collection of labels, in the form of key-value pairs, that apply to this - * resource.

- * @public - */ - tags?: Record; - - /** - *

The type of the studio component.

- * @public - */ - type: StudioComponentType | undefined; - - /** - *

An IAM role attached to Studio Component when the system initialization - * script runs which give the studio component access to Amazon Web Services resources when - * the system initialization script runs.

- * @public - */ - secureInitializationRoleArn?: string; - - /** - *

An IAM role attached to a Studio Component that gives the studio - * component access to Amazon Web Services resources at anytime while the instance is - * running.

- * @public - */ - runtimeRoleArn?: string; -} - -/** - * @public - * @enum - */ -export const StudioComponentState = { - CREATE_FAILED: "CREATE_FAILED", - CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS", - DELETED: "DELETED", - DELETE_FAILED: "DELETE_FAILED", - DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS", - READY: "READY", - UPDATE_FAILED: "UPDATE_FAILED", - UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS", -} as const; - -/** - * @public - */ -export type StudioComponentState = (typeof StudioComponentState)[keyof typeof StudioComponentState]; - -/** - * @public - * @enum - */ -export const StudioComponentStatusCode = { - ACTIVE_DIRECTORY_ALREADY_EXISTS: "ACTIVE_DIRECTORY_ALREADY_EXISTS", - ENCRYPTION_KEY_ACCESS_DENIED: "ENCRYPTION_KEY_ACCESS_DENIED", - ENCRYPTION_KEY_NOT_FOUND: "ENCRYPTION_KEY_NOT_FOUND", - INTERNAL_ERROR: "INTERNAL_ERROR", - STUDIO_COMPONENT_CREATED: "STUDIO_COMPONENT_CREATED", - STUDIO_COMPONENT_CREATE_IN_PROGRESS: "STUDIO_COMPONENT_CREATE_IN_PROGRESS", - STUDIO_COMPONENT_DELETED: "STUDIO_COMPONENT_DELETED", - STUDIO_COMPONENT_DELETE_IN_PROGRESS: "STUDIO_COMPONENT_DELETE_IN_PROGRESS", - STUDIO_COMPONENT_UPDATED: "STUDIO_COMPONENT_UPDATED", - STUDIO_COMPONENT_UPDATE_IN_PROGRESS: "STUDIO_COMPONENT_UPDATE_IN_PROGRESS", -} as const; - -/** - * @public - */ -export type StudioComponentStatusCode = (typeof StudioComponentStatusCode)[keyof typeof StudioComponentStatusCode]; - -/** - *

A studio component represents a network resource to be used by a studio's users and - * workflows. A typical studio contains studio components for each of the following: render - * farm, Active Directory, licensing, and file system.

- *

Access to a studio component is managed by specifying security groups for the - * resource, as well as its endpoint.

- *

A studio component also has a set of initialization scripts that are returned by - * GetLaunchProfileInitialization. These initialization scripts run on - * streaming sessions when they start. They provide users with flexibility in controlling - * how the studio resources are configured on a streaming session.

- * @public - */ -export interface StudioComponent { - /** - *

The Amazon Resource Name (ARN) that is assigned to a studio resource and uniquely - * identifies it. ARNs are unique across all Regions.

- * @public - */ - arn?: string; - - /** - *

The configuration of the studio component, based on component type.

- * @public - */ - configuration?: StudioComponentConfiguration; - - /** - *

The ISO timestamp in seconds for when the resource was created.

- * @public - */ - createdAt?: Date; - - /** - *

The user ID of the user that created the studio component.

- * @public - */ - createdBy?: string; - - /** - *

A human-readable description for the studio component resource.

- * @public - */ - description?: string; - - /** - *

The EC2 security groups that control access to the studio component.

- * @public - */ - ec2SecurityGroupIds?: string[]; - - /** - *

Initialization scripts for studio components.

- * @public - */ - initializationScripts?: StudioComponentInitializationScript[]; - - /** - *

A friendly name for the studio component resource.

- * @public - */ - name?: string; - - /** - *

Parameters for the studio component scripts.

- * @public - */ - scriptParameters?: ScriptParameterKeyValue[]; - - /** - *

The current state.

- * @public - */ - state?: StudioComponentState; - - /** - *

The status code.

- * @public - */ - statusCode?: StudioComponentStatusCode; - - /** - *

The status message for the studio component.

- * @public - */ - statusMessage?: string; - - /** - *

The unique identifier for a studio component resource.

- * @public - */ - studioComponentId?: string; - - /** - *

The specific subtype of a studio component.

- * @public - */ - subtype?: StudioComponentSubtype; - - /** - *

A collection of labels, in the form of key-value pairs, that apply to this - * resource.

- * @public - */ - tags?: Record; - - /** - *

The type of the studio component.

- * @public - */ - type?: StudioComponentType; - - /** - *

The ISO timestamp in seconds for when the resource was updated.

- * @public - */ - updatedAt?: Date; - - /** - *

The user ID of the user that most recently updated the resource.

- * @public - */ - updatedBy?: string; - - /** - *

An IAM role attached to Studio Component when the system initialization - * script runs which give the studio component access to Amazon Web Services resources when - * the system initialization script runs.

- * @public - */ - secureInitializationRoleArn?: string; - - /** - *

An IAM role attached to a Studio Component that gives the studio - * component access to Amazon Web Services resources at anytime while the instance is - * running.

- * @public - */ - runtimeRoleArn?: string; -} - -/** - * @public - */ -export interface CreateStudioComponentResponse { - /** - *

Information about the studio component.

- * @public - */ - studioComponent?: StudioComponent; -} - -/** - * @public - */ -export interface DeleteLaunchProfileRequest { - /** - *

Unique, case-sensitive identifier that you provide to ensure the idempotency of the - * request. If you don’t specify a client token, the Amazon Web Services SDK automatically - * generates a client token and uses it for the request to ensure idempotency.

- * @public - */ - clientToken?: string; - - /** - *

The ID of the launch profile used to control access from the streaming session.

- * @public - */ - launchProfileId: string | undefined; - - /** - *

The studio ID.

- * @public - */ - studioId: string | undefined; -} - -/** - * @public - */ -export interface DeleteLaunchProfileResponse { - /** - *

The launch profile.

- * @public - */ - launchProfile?: LaunchProfile; -} - -/** - * @public - */ -export interface DeleteLaunchProfileMemberRequest { - /** - *

Unique, case-sensitive identifier that you provide to ensure the idempotency of the - * request. If you don’t specify a client token, the Amazon Web Services SDK automatically - * generates a client token and uses it for the request to ensure idempotency.

- * @public - */ - clientToken?: string; - - /** - *

The ID of the launch profile used to control access from the streaming session.

- * @public - */ - launchProfileId: string | undefined; - - /** - *

The principal ID. This currently supports a IAM Identity Center UserId.

- * @public - */ - principalId: string | undefined; - - /** - *

The studio ID.

- * @public - */ - studioId: string | undefined; -} - -/** - * @public - */ -export interface DeleteLaunchProfileMemberResponse {} - -/** - * @public - */ -export interface DeleteStreamingImageRequest { - /** - *

Unique, case-sensitive identifier that you provide to ensure the idempotency of the - * request. If you don’t specify a client token, the Amazon Web Services SDK automatically - * generates a client token and uses it for the request to ensure idempotency.

- * @public - */ - clientToken?: string; - - /** - *

The streaming image ID.

- * @public - */ - streamingImageId: string | undefined; - - /** - *

The studio ID.

- * @public - */ - studioId: string | undefined; -} - -/** - * @public - */ -export interface DeleteStreamingImageResponse { - /** - *

The streaming image.

- * @public - */ - streamingImage?: StreamingImage; -} - -/** - * @public - */ -export interface DeleteStreamingSessionRequest { - /** - *

Unique, case-sensitive identifier that you provide to ensure the idempotency of the - * request. If you don’t specify a client token, the Amazon Web Services SDK automatically - * generates a client token and uses it for the request to ensure idempotency.

- * @public - */ - clientToken?: string; - - /** - *

The streaming session ID.

- * @public - */ - sessionId: string | undefined; - - /** - *

The studio ID.

- * @public - */ - studioId: string | undefined; -} - -/** - * @public - */ -export interface DeleteStreamingSessionResponse { - /** - *

The session.

- * @public - */ - session?: StreamingSession; -} - -/** - * @public - */ -export interface DeleteStudioRequest { - /** - *

Unique, case-sensitive identifier that you provide to ensure the idempotency of the - * request. If you don’t specify a client token, the Amazon Web Services SDK automatically - * generates a client token and uses it for the request to ensure idempotency.

- * @public - */ - clientToken?: string; - - /** - *

The studio ID.

- * @public - */ - studioId: string | undefined; -} - -/** - * @public - */ -export interface DeleteStudioResponse { - /** - *

Information about a studio.

- * @public - */ - studio: Studio | undefined; -} - -/** - * @public - */ -export interface DeleteStudioComponentRequest { - /** - *

Unique, case-sensitive identifier that you provide to ensure the idempotency of the - * request. If you don’t specify a client token, the Amazon Web Services SDK automatically - * generates a client token and uses it for the request to ensure idempotency.

- * @public - */ - clientToken?: string; - - /** - *

The studio component ID.

- * @public - */ - studioComponentId: string | undefined; - - /** - *

The studio ID.

- * @public - */ - studioId: string | undefined; -} - -/** - * @public - */ -export interface DeleteStudioComponentResponse { - /** - *

Information about the studio component.

- * @public - */ - studioComponent?: StudioComponent; -} - -/** - * @public - */ -export interface DeleteStudioMemberRequest { - /** - *

Unique, case-sensitive identifier that you provide to ensure the idempotency of the - * request. If you don’t specify a client token, the Amazon Web Services SDK automatically - * generates a client token and uses it for the request to ensure idempotency.

- * @public - */ - clientToken?: string; - - /** - *

The principal ID. This currently supports a IAM Identity Center UserId.

- * @public - */ - principalId: string | undefined; - - /** - *

The studio ID.

- * @public - */ - studioId: string | undefined; -} - -/** - * @public - */ -export interface DeleteStudioMemberResponse {} - -/** - *

Represents a EULA resource.

- * @public - */ -export interface Eula { - /** - *

The EULA content.

- * @public - */ - content?: string; - - /** - *

The ISO timestamp in seconds for when the resource was created.

- * @public - */ - createdAt?: Date; - - /** - *

The EULA ID.

- * @public - */ - eulaId?: string; - - /** - *

The name for the EULA.

- * @public - */ - name?: string; - - /** - *

The ISO timestamp in seconds for when the resource was updated.

- * @public - */ - updatedAt?: Date; -} - -/** - * @public - */ -export interface ListEulaAcceptancesRequest { - /** - *

The list of EULA IDs that have been previously accepted.

- * @public - */ - eulaIds?: string[]; - - /** - *

The token for the next set of results, or null if there are no more results.

- * @public - */ - nextToken?: string; - - /** - *

The studio ID.

- * @public - */ - studioId: string | undefined; -} - -/** - * @public - */ -export interface ListEulaAcceptancesResponse { - /** - *

A collection of EULA acceptances.

- * @public - */ - eulaAcceptances?: EulaAcceptance[]; - - /** - *

The token for the next set of results, or null if there are no more results.

- * @public - */ - nextToken?: string; -} - -/** - * @public - */ -export interface GetEulaRequest { - /** - *

The EULA ID.

- * @public - */ - eulaId: string | undefined; -} - -/** - * @public - */ -export interface GetEulaResponse { - /** - *

The EULA.

- * @public - */ - eula?: Eula; -} - -/** - * @public - */ -export interface ListEulasRequest { - /** - *

The list of EULA IDs that should be returned

- * @public - */ - eulaIds?: string[]; - - /** - *

The token for the next set of results, or null if there are no more results.

- * @public - */ - nextToken?: string; -} - -/** - * @public - */ -export interface ListEulasResponse { - /** - *

A collection of EULA resources.

- * @public - */ - eulas?: Eula[]; - - /** - *

The token for the next set of results, or null if there are no more results.

- * @public - */ - nextToken?: string; -} - -/** - * @public - */ -export interface GetLaunchProfileRequest { - /** - *

The ID of the launch profile used to control access from the streaming session.

- * @public - */ - launchProfileId: string | undefined; - - /** - *

The studio ID.

- * @public - */ - studioId: string | undefined; -} - -/** - * @public - */ -export interface GetLaunchProfileResponse { - /** - *

The launch profile.

- * @public - */ - launchProfile?: LaunchProfile; -} - -/** - * @public - */ -export interface GetLaunchProfileDetailsRequest { - /** - *

The ID of the launch profile used to control access from the streaming session.

- * @public - */ - launchProfileId: string | undefined; - - /** - *

The studio ID.

- * @public - */ - studioId: string | undefined; -} - -/** - *

The studio component's summary.

- * @public - */ -export interface StudioComponentSummary { - /** - *

The ISO timestamp in seconds for when the resource was created.

- * @public - */ - createdAt?: Date; - - /** - *

The user ID of the user that created the studio component.

- * @public - */ - createdBy?: string; - - /** - *

The description.

- * @public - */ - description?: string; - - /** - *

The name for the studio component.

- * @public - */ - name?: string; - - /** - *

The unique identifier for a studio component resource.

- * @public - */ - studioComponentId?: string; - - /** - *

The specific subtype of a studio component.

- * @public - */ - subtype?: StudioComponentSubtype; - - /** - *

The type of the studio component.

- * @public - */ - type?: StudioComponentType; - - /** - *

The ISO timestamp in seconds for when the resource was updated.

- * @public - */ - updatedAt?: Date; - - /** - *

The user ID of the user that most recently updated the resource.

- * @public - */ - updatedBy?: string; -} - -/** - * @public - */ -export interface GetLaunchProfileDetailsResponse { - /** - *

The launch profile.

- * @public - */ - launchProfile?: LaunchProfile; - - /** - *

A collection of streaming images.

- * @public - */ - streamingImages?: StreamingImage[]; - - /** - *

A collection of studio component summaries.

- * @public - */ - studioComponentSummaries?: StudioComponentSummary[]; -} - -/** - * @public - */ -export interface GetLaunchProfileInitializationRequest { - /** - *

The ID of the launch profile used to control access from the streaming session.

- * @public - */ - launchProfileId: string | undefined; - - /** - *

The launch profile protocol versions supported by the client.

- * @public - */ - launchProfileProtocolVersions: string[] | undefined; - - /** - *

The launch purpose.

- * @public - */ - launchPurpose: string | undefined; - - /** - *

The platform where this Launch Profile will be used, either Windows or Linux.

- * @public - */ - platform: string | undefined; - - /** - *

The studio ID.

- * @public - */ - studioId: string | undefined; -} - -/** - *

The launch profile initialization Active Directory contains information required for - * the launch profile to connect to the Active Directory.

- * @public - */ -export interface LaunchProfileInitializationActiveDirectory { - /** - *

A collection of custom attributes for an Active Directory computer.

- * @public - */ - computerAttributes?: ActiveDirectoryComputerAttribute[]; - - /** - *

The directory ID of the Directory Service for Microsoft Active Directory to access using this launch - * profile.

- * @public - */ - directoryId?: string; - - /** - *

The directory name.

- * @public - */ - directoryName?: string; - - /** - *

The DNS IP address.

- * @public - */ - dnsIpAddresses?: string[]; - - /** - *

The name for the organizational unit distinguished name.

- * @public - */ - organizationalUnitDistinguishedName?: string; - - /** - *

The unique identifier for a studio component resource.

- * @public - */ - studioComponentId?: string; - - /** - *

The name for the studio component.

- * @public - */ - studioComponentName?: string; -} - -/** - *

The launch profile initialization script is used when start streaming session - * runs.

- * @public - */ -export interface LaunchProfileInitializationScript { - /** - *

The initialization script.

- * @public - */ - script?: string; - - /** - *

The unique identifier for a studio component resource.

- * @public - */ - studioComponentId?: string; - - /** - *

The name for the studio component.

- * @public - */ - studioComponentName?: string; - - /** - *

An IAM role attached to Studio Component when the system initialization - * script runs which give the studio component access to Amazon Web Services resources when - * the system initialization script runs.

- * @public - */ - secureInitializationRoleArn?: string; - - /** - *

An IAM role attached to a Studio Component that gives the studio - * component access to Amazon Web Services resources at anytime while the instance is - * running.

- * @public - */ - runtimeRoleArn?: string; -} - -/** - *

A launch profile initialization contains information required for a workstation or - * server to connect to a launch profile.

- *

This includes scripts, endpoints, security groups, subnets, and other - * configuration.

- * @public - */ -export interface LaunchProfileInitialization { - /** - *

A LaunchProfileInitializationActiveDirectory resource.

- * @public - */ - activeDirectory?: LaunchProfileInitializationActiveDirectory; - - /** - *

The EC2 security groups that control access to the studio component.

- * @public - */ - ec2SecurityGroupIds?: string[]; - - /** - *

The ID of the launch profile used to control access from the streaming session.

- * @public - */ - launchProfileId?: string; - - /** - *

The version number of the protocol that is used by the launch profile. The only valid - * version is "2021-03-31".

- * @public - */ - launchProfileProtocolVersion?: string; - - /** - *

The launch purpose.

- * @public - */ - launchPurpose?: string; - - /** - *

The name for the launch profile.

- * @public - */ - name?: string; - - /** - *

The platform of the launch platform, either Windows or Linux.

- * @public - */ - platform?: LaunchProfilePlatform; - - /** - *

The system initializtion scripts.

- * @public - */ - systemInitializationScripts?: LaunchProfileInitializationScript[]; - - /** - *

The user initializtion scripts.

- * @public - */ - userInitializationScripts?: LaunchProfileInitializationScript[]; -} - -/** - * @public - */ -export interface GetLaunchProfileInitializationResponse { - /** - *

The launch profile initialization.

- * @public - */ - launchProfileInitialization?: LaunchProfileInitialization; -} - -/** - * @public - */ -export interface GetLaunchProfileMemberRequest { - /** - *

The ID of the launch profile used to control access from the streaming session.

- * @public - */ - launchProfileId: string | undefined; - - /** - *

The principal ID. This currently supports a IAM Identity Center UserId.

- * @public - */ - principalId: string | undefined; - - /** - *

The studio ID.

- * @public - */ - studioId: string | undefined; -} - -/** - * @public - * @enum - */ -export const LaunchProfilePersona = { - USER: "USER", -} as const; - -/** - * @public - */ -export type LaunchProfilePersona = (typeof LaunchProfilePersona)[keyof typeof LaunchProfilePersona]; - -/** - *

Studio admins can use launch profile membership to delegate launch profile access to - * studio users in the Nimble Studio portal without writing or maintaining complex - * IAM policies. A launch profile member is a user association from your - * studio identity source who is granted permissions to a launch profile.

- *

A launch profile member (type USER) provides the following permissions to that launch - * profile:

- *
    - *
  • - *

    GetLaunchProfile

    - *
  • - *
  • - *

    GetLaunchProfileInitialization

    - *
  • - *
  • - *

    GetLaunchProfileMembers

    - *
  • - *
  • - *

    GetLaunchProfileMember

    - *
  • - *
  • - *

    CreateStreamingSession

    - *
  • - *
  • - *

    GetLaunchProfileDetails

    - *
  • - *
- * @public - */ -export interface LaunchProfileMembership { - /** - *

The ID of the identity store.

- * @public - */ - identityStoreId?: string; - - /** - *

The persona.

- * @public - */ - persona?: LaunchProfilePersona; - - /** - *

The principal ID.

- * @public - */ - principalId?: string; - - /** - *

The Active Directory Security Identifier for this user, if available.

- * @public - */ - sid?: string; -} - -/** - * @public - */ -export interface GetLaunchProfileMemberResponse { - /** - *

The member.

- * @public - */ - member?: LaunchProfileMembership; -} - -/** - * @public - */ -export interface GetStreamingImageRequest { - /** - *

The streaming image ID.

- * @public - */ - streamingImageId: string | undefined; - - /** - *

The studio ID.

- * @public - */ - studioId: string | undefined; -} - -/** - * @public - */ -export interface GetStreamingImageResponse { - /** - *

The streaming image.

- * @public - */ - streamingImage?: StreamingImage; -} - -/** - * @public - */ -export interface GetStreamingSessionRequest { - /** - *

The streaming session ID.

- * @public - */ - sessionId: string | undefined; - - /** - *

The studio ID.

- * @public - */ - studioId: string | undefined; -} - -/** - * @public - */ -export interface GetStreamingSessionResponse { - /** - *

The session.

- * @public - */ - session?: StreamingSession; -} - -/** - * @public - */ -export interface GetStreamingSessionBackupRequest { - /** - *

The ID of the backup.

- * @public - */ - backupId: string | undefined; - - /** - *

The studio ID.

- * @public - */ - studioId: string | undefined; -} - -/** - *

Information about the streaming session backup.

- * @public - */ -export interface StreamingSessionBackup { - /** - *

The Amazon Resource Name (ARN) that is assigned to a studio resource and uniquely - * identifies it. ARNs are unique across all Regions.

- * @public - */ - arn?: string; - - /** - *

The ISO timestamp in for when the resource was created.

- * @public - */ - createdAt?: Date; - - /** - *

The ID of the launch profile which allowed the backups for the streaming - * session.

- * @public - */ - launchProfileId?: string; - - /** - *

The user ID of the user that owns the streaming session.

- * @public - */ - ownedBy?: string; - - /** - *

The streaming session ID for the StreamingSessionBackup.

- * @public - */ - sessionId?: string; - - /** - *

The streaming session state.

- * @public - */ - state?: StreamingSessionState; - - /** - *

The status code.

- * @public - */ - statusCode?: StreamingSessionStatusCode; - - /** - *

The status message for the streaming session backup.

- * @public - */ - statusMessage?: string; - - /** - *

The ID of the backup.

- * @public - */ - backupId?: string; - - /** - *

A collection of labels, in the form of key-value pairs, that apply to this - * resource.

- * @public - */ - tags?: Record; -} - -/** - * @public - */ -export interface GetStreamingSessionBackupResponse { - /** - *

Information about the streaming session backup.

- * @public - */ - streamingSessionBackup?: StreamingSessionBackup; -} - -/** - * @public - */ -export interface GetStreamingSessionStreamRequest { - /** - *

The streaming session ID.

- * @public - */ - sessionId: string | undefined; - - /** - *

The streaming session stream ID.

- * @public - */ - streamId: string | undefined; - - /** - *

The studio ID.

- * @public - */ - studioId: string | undefined; -} - -/** - * @public - */ -export interface GetStreamingSessionStreamResponse { - /** - *

The stream.

- * @public - */ - stream?: StreamingSessionStream; -} - -/** - * @public - */ -export interface GetStudioRequest { - /** - *

The studio ID.

- * @public - */ - studioId: string | undefined; -} - -/** - * @public - */ -export interface GetStudioResponse { - /** - *

Information about a studio.

- * @public - */ - studio: Studio | undefined; -} - -/** - * @public - */ -export interface GetStudioComponentRequest { - /** - *

The studio component ID.

- * @public - */ - studioComponentId: string | undefined; - - /** - *

The studio ID.

- * @public - */ - studioId: string | undefined; -} - -/** - * @public - */ -export interface GetStudioComponentResponse { - /** - *

Information about the studio component.

- * @public - */ - studioComponent?: StudioComponent; -} - -/** - * @public - */ -export interface GetStudioMemberRequest { - /** - *

The principal ID. This currently supports a IAM Identity Center UserId.

- * @public - */ - principalId: string | undefined; - - /** - *

The studio ID.

- * @public - */ - studioId: string | undefined; -} - -/** - * @public - * @enum - */ -export const StudioPersona = { - ADMINISTRATOR: "ADMINISTRATOR", -} as const; - -/** - * @public - */ -export type StudioPersona = (typeof StudioPersona)[keyof typeof StudioPersona]; - -/** - *

A studio member is an association of a user from your studio identity source to - * elevated permissions that they are granted in the studio.

- *

When you add a user to your studio using the Nimble Studio console, they are - * given access to the studio's IAM Identity Center application and are given access to log - * in to the Nimble Studio portal. These users have the permissions provided by the - * studio's user IAM role and do not appear in the studio membership - * collection. Only studio admins appear in studio membership.

- *

When you add a user to studio membership with the ADMIN persona, upon logging in to - * the Nimble Studio portal, they are granted permissions specified by the Studio's - * Admin IAM role.

- * @public - */ -export interface StudioMembership { - /** - *

The ID of the identity store.

- * @public - */ - identityStoreId?: string; - - /** - *

The persona.

- * @public - */ - persona?: StudioPersona; - - /** - *

The principal ID.

- * @public - */ - principalId?: string; - - /** - *

The Active Directory Security Identifier for this user, if available.

- * @public - */ - sid?: string; -} - -/** - * @public - */ -export interface GetStudioMemberResponse { - /** - *

The member.

- * @public - */ - member?: StudioMembership; -} - -/** - * @public - */ -export interface ListLaunchProfileMembersRequest { - /** - *

The ID of the launch profile used to control access from the streaming session.

- * @public - */ - launchProfileId: string | undefined; - - /** - *

The max number of results to return in the response.

- * @public - */ - maxResults?: number; - - /** - *

The token for the next set of results, or null if there are no more results.

- * @public - */ - nextToken?: string; - - /** - *

The studio ID.

- * @public - */ - studioId: string | undefined; -} - -/** - * @public - */ -export interface ListLaunchProfileMembersResponse { - /** - *

A list of members.

- * @public - */ - members?: LaunchProfileMembership[]; - - /** - *

The token for the next set of results, or null if there are no more results.

- * @public - */ - nextToken?: string; -} - -/** - * @public - */ -export interface ListLaunchProfilesRequest { - /** - *

The max number of results to return in the response.

- * @public - */ - maxResults?: number; - - /** - *

The token for the next set of results, or null if there are no more results.

- * @public - */ - nextToken?: string; - - /** - *

The principal ID. This currently supports a IAM Identity Center UserId.

- * @public - */ - principalId?: string; - - /** - *

Filter this request to launch profiles in any of the given states.

- * @public - */ - states?: LaunchProfileState[]; - - /** - *

The studio ID.

- * @public - */ - studioId: string | undefined; -} - -/** - * @public - */ -export interface ListLaunchProfilesResponse { - /** - *

A collection of launch profiles.

- * @public - */ - launchProfiles?: LaunchProfile[]; - - /** - *

The token for the next set of results, or null if there are no more results.

- * @public - */ - nextToken?: string; -} - -/** - *

A new member that is added to a launch profile.

- * @public - */ -export interface NewLaunchProfileMember { - /** - *

The persona.

- * @public - */ - persona: LaunchProfilePersona | undefined; - - /** - *

The principal ID.

- * @public - */ - principalId: string | undefined; -} - -/** - * @public - */ -export interface PutLaunchProfileMembersRequest { - /** - *

Unique, case-sensitive identifier that you provide to ensure the idempotency of the - * request. If you don’t specify a client token, the Amazon Web Services SDK automatically - * generates a client token and uses it for the request to ensure idempotency.

- * @public - */ - clientToken?: string; - - /** - *

The ID of the identity store.

- * @public - */ - identityStoreId: string | undefined; - - /** - *

The ID of the launch profile used to control access from the streaming session.

- * @public - */ - launchProfileId: string | undefined; - - /** - *

A list of members.

- * @public - */ - members: NewLaunchProfileMember[] | undefined; - - /** - *

The studio ID.

- * @public - */ - studioId: string | undefined; -} - -/** - * @public - */ -export interface PutLaunchProfileMembersResponse {} - -/** - * @public - */ -export interface UpdateLaunchProfileRequest { - /** - *

Unique, case-sensitive identifier that you provide to ensure the idempotency of the - * request. If you don’t specify a client token, the Amazon Web Services SDK automatically - * generates a client token and uses it for the request to ensure idempotency.

- * @public - */ - clientToken?: string; - - /** - *

The description.

- * @public - */ - description?: string; - - /** - *

The ID of the launch profile used to control access from the streaming session.

- * @public - */ - launchProfileId: string | undefined; - - /** - *

The version number of the protocol that is used by the launch profile. The only valid - * version is "2021-03-31".

- * @public - */ - launchProfileProtocolVersions?: string[]; - - /** - *

The name for the launch profile.

- * @public - */ - name?: string; - - /** - *

A configuration for a streaming session.

- * @public - */ - streamConfiguration?: StreamConfigurationCreate; - - /** - *

Unique identifiers for a collection of studio components that can be used with this - * launch profile.

- * @public - */ - studioComponentIds?: string[]; - - /** - *

The studio ID.

- * @public - */ - studioId: string | undefined; -} - -/** - * @public - */ -export interface UpdateLaunchProfileResponse { - /** - *

The launch profile.

- * @public - */ - launchProfile?: LaunchProfile; -} - -/** - * @public - */ -export interface UpdateLaunchProfileMemberRequest { - /** - *

Unique, case-sensitive identifier that you provide to ensure the idempotency of the - * request. If you don’t specify a client token, the Amazon Web Services SDK automatically - * generates a client token and uses it for the request to ensure idempotency.

- * @public - */ - clientToken?: string; - - /** - *

The ID of the launch profile used to control access from the streaming session.

- * @public - */ - launchProfileId: string | undefined; - - /** - *

The persona.

- * @public - */ - persona: LaunchProfilePersona | undefined; - - /** - *

The principal ID. This currently supports a IAM Identity Center UserId.

- * @public - */ - principalId: string | undefined; - - /** - *

The studio ID.

- * @public - */ - studioId: string | undefined; -} - -/** - * @public - */ -export interface UpdateLaunchProfileMemberResponse { - /** - *

The updated member.

- * @public - */ - member?: LaunchProfileMembership; -} - -/** - * @public - */ -export interface ListStreamingImagesRequest { - /** - *

The token for the next set of results, or null if there are no more results.

- * @public - */ - nextToken?: string; - - /** - *

Filter this request to streaming images with the given owner

- * @public - */ - owner?: string; - - /** - *

The studio ID.

- * @public - */ - studioId: string | undefined; -} - -/** - * @public - */ -export interface ListStreamingImagesResponse { - /** - *

The token for the next set of results, or null if there are no more results.

- * @public - */ - nextToken?: string; - - /** - *

A collection of streaming images.

- * @public - */ - streamingImages?: StreamingImage[]; -} - -/** - * @public - */ -export interface ListStreamingSessionBackupsRequest { - /** - *

The token for the next set of results, or null if there are no more results.

- * @public - */ - nextToken?: string; - - /** - *

The user ID of the user that owns the streaming session.

- * @public - */ - ownedBy?: string; - - /** - *

The studio ID.

- * @public - */ - studioId: string | undefined; -} - -/** - * @public - */ -export interface ListStreamingSessionBackupsResponse { - /** - *

The token for the next set of results, or null if there are no more results.

- * @public - */ - nextToken?: string; - - /** - *

Information about the streaming session backups.

- * @public - */ - streamingSessionBackups?: StreamingSessionBackup[]; -} - -/** - * @public - */ -export interface ListStreamingSessionsRequest { - /** - *

Filters the request to streaming sessions created by the given user.

- * @public - */ - createdBy?: string; - - /** - *

The token for the next set of results, or null if there are no more results.

- * @public - */ - nextToken?: string; - - /** - *

Filters the request to streaming session owned by the given user

- * @public - */ - ownedBy?: string; - - /** - *

Filters the request to only the provided session IDs.

- * @public - */ - sessionIds?: string; - - /** - *

The studio ID.

- * @public - */ - studioId: string | undefined; -} - -/** - * @public - */ -export interface ListStreamingSessionsResponse { - /** - *

The token for the next set of results, or null if there are no more results.

- * @public - */ - nextToken?: string; - - /** - *

A collection of streaming sessions.

- * @public - */ - sessions?: StreamingSession[]; -} - -/** - * @public - */ -export interface ListStudioComponentsRequest { - /** - *

The max number of results to return in the response.

- * @public - */ - maxResults?: number; - - /** - *

The token for the next set of results, or null if there are no more results.

- * @public - */ - nextToken?: string; - - /** - *

Filters the request to studio components that are in one of the given states.

- * @public - */ - states?: StudioComponentState[]; - - /** - *

The studio ID.

- * @public - */ - studioId: string | undefined; - - /** - *

Filters the request to studio components that are of one of the given types.

- * @public - */ - types?: StudioComponentType[]; -} - -/** - * @public - */ -export interface ListStudioComponentsResponse { - /** - *

The token for the next set of results, or null if there are no more results.

- * @public - */ - nextToken?: string; - - /** - *

A collection of studio components.

- * @public - */ - studioComponents?: StudioComponent[]; -} - -/** - * @public - */ -export interface ListStudioMembersRequest { - /** - *

The max number of results to return in the response.

- * @public - */ - maxResults?: number; - - /** - *

The token for the next set of results, or null if there are no more results.

- * @public - */ - nextToken?: string; - - /** - *

The studio ID.

- * @public - */ - studioId: string | undefined; -} - -/** - * @public - */ -export interface ListStudioMembersResponse { - /** - *

A list of admin members.

- * @public - */ - members?: StudioMembership[]; - - /** - *

The token for the next set of results, or null if there are no more results.

- * @public - */ - nextToken?: string; -} - -/** - * @public - */ -export interface ListStudiosRequest { - /** - *

The token for the next set of results, or null if there are no more results.

- * @public - */ - nextToken?: string; -} - -/** - * @public - */ -export interface ListStudiosResponse { - /** - *

The token for the next set of results, or null if there are no more results.

- * @public - */ - nextToken?: string; - - /** - *

A collection of studios.

- * @public - */ - studios: Studio[] | undefined; -} - -/** - * @public - */ -export interface ListTagsForResourceRequest { - /** - *

The Amazon Resource Name (ARN) of the resource for which you want to list tags.

- * @public - */ - resourceArn: string | undefined; -} - -/** - * @public - */ -export interface ListTagsForResourceResponse { - /** - *

A collection of labels, in the form of key-value pairs, that apply to this - * resource.

- * @public - */ - tags?: Record; -} - -/** - *

A new studio user's membership.

- * @public - */ -export interface NewStudioMember { - /** - *

The persona.

- * @public - */ - persona: StudioPersona | undefined; - - /** - *

The principal ID.

- * @public - */ - principalId: string | undefined; -} - -/** - * @public - */ -export interface UpdateStreamingImageRequest { - /** - *

Unique, case-sensitive identifier that you provide to ensure the idempotency of the - * request. If you don’t specify a client token, the Amazon Web Services SDK automatically - * generates a client token and uses it for the request to ensure idempotency.

- * @public - */ - clientToken?: string; - - /** - *

The description.

- * @public - */ - description?: string; - - /** - *

The name for the streaming image.

- * @public - */ - name?: string; - - /** - *

The streaming image ID.

- * @public - */ - streamingImageId: string | undefined; - - /** - *

The studio ID.

- * @public - */ - studioId: string | undefined; -} - -/** - * @public - */ -export interface UpdateStreamingImageResponse { - /** - *

Represents a streaming image resource.

- *

Streaming images are used by studio users to select which operating system and - * software they want to use in a Nimble Studio streaming session.

- *

Amazon provides a number of streaming images that include popular 3rd-party - * software.

- *

You can create your own streaming images using an Amazon EC2 machine image - * that you create for this purpose. You can also include software that your users - * require.

- * @public - */ - streamingImage?: StreamingImage; -} - -/** - * @public - */ -export interface StartStreamingSessionRequest { - /** - *

Unique, case-sensitive identifier that you provide to ensure the idempotency of the - * request. If you don’t specify a client token, the Amazon Web Services SDK automatically - * generates a client token and uses it for the request to ensure idempotency.

- * @public - */ - clientToken?: string; - - /** - *

The streaming session ID for the StartStreamingSessionRequest.

- * @public - */ - sessionId: string | undefined; - - /** - *

The studio ID for the StartStreamingSessionRequest.

- * @public - */ - studioId: string | undefined; - - /** - *

The ID of the backup.

- * @public - */ - backupId?: string; -} - -/** - * @public - */ -export interface StartStreamingSessionResponse { - /** - *

A streaming session is a virtual workstation created using a particular launch - * profile.

- * @public - */ - session?: StreamingSession; -} - -/** - * @public - */ -export interface StopStreamingSessionRequest { - /** - *

Unique, case-sensitive identifier that you provide to ensure the idempotency of the - * request. If you don’t specify a client token, the Amazon Web Services SDK automatically - * generates a client token and uses it for the request to ensure idempotency.

- * @public - */ - clientToken?: string; - - /** - *

The streaming session ID for the StopStreamingSessionRequest.

- * @public - */ - sessionId: string | undefined; - - /** - *

The studioId for the StopStreamingSessionRequest.

- * @public - */ - studioId: string | undefined; - - /** - *

Adds additional instructions to a streaming session stop action to either retain the - * EBS volumes or delete the EBS volumes.

- * @public - */ - volumeRetentionMode?: VolumeRetentionMode; -} - -/** - * @public - */ -export interface StopStreamingSessionResponse { - /** - *

A streaming session is a virtual workstation created using a particular launch - * profile.

- * @public - */ - session?: StreamingSession; -} - -/** - * @public - */ -export interface UpdateStudioComponentRequest { - /** - *

Unique, case-sensitive identifier that you provide to ensure the idempotency of the - * request. If you don’t specify a client token, the Amazon Web Services SDK automatically - * generates a client token and uses it for the request to ensure idempotency.

- * @public - */ - clientToken?: string; - - /** - *

The configuration of the studio component, based on component type.

- * @public - */ - configuration?: StudioComponentConfiguration; - - /** - *

The description.

- * @public - */ - description?: string; - - /** - *

The EC2 security groups that control access to the studio component.

- * @public - */ - ec2SecurityGroupIds?: string[]; - - /** - *

Initialization scripts for studio components.

- * @public - */ - initializationScripts?: StudioComponentInitializationScript[]; - - /** - *

The name for the studio component.

- * @public - */ - name?: string; - - /** - *

Parameters for the studio component scripts.

- * @public - */ - scriptParameters?: ScriptParameterKeyValue[]; - - /** - *

The studio component ID.

- * @public - */ - studioComponentId: string | undefined; - - /** - *

The studio ID.

- * @public - */ - studioId: string | undefined; - - /** - *

The specific subtype of a studio component.

- * @public - */ - subtype?: StudioComponentSubtype; - - /** - *

The type of the studio component.

- * @public - */ - type?: StudioComponentType; - - /** - *

An IAM role attached to Studio Component when the system initialization - * script runs which give the studio component access to Amazon Web Services resources when - * the system initialization script runs.

- * @public - */ - secureInitializationRoleArn?: string; - - /** - *

An IAM role attached to a Studio Component that gives the studio - * component access to Amazon Web Services resources at anytime while the instance is - * running.

- * @public - */ - runtimeRoleArn?: string; -} - -/** - * @public - */ -export interface UpdateStudioComponentResponse { - /** - *

Information about the studio component.

- * @public - */ - studioComponent?: StudioComponent; -} - -/** - * @public - */ -export interface PutStudioMembersRequest { - /** - *

Unique, case-sensitive identifier that you provide to ensure the idempotency of the - * request. If you don’t specify a client token, the Amazon Web Services SDK automatically - * generates a client token and uses it for the request to ensure idempotency.

- * @public - */ - clientToken?: string; - - /** - *

The ID of the identity store.

- * @public - */ - identityStoreId: string | undefined; - - /** - *

A list of members.

- * @public - */ - members: NewStudioMember[] | undefined; - - /** - *

The studio ID.

- * @public - */ - studioId: string | undefined; -} - -/** - * @public - */ -export interface PutStudioMembersResponse {} - -/** - * @public - */ -export interface StartStudioSSOConfigurationRepairRequest { - /** - *

Unique, case-sensitive identifier that you provide to ensure the idempotency of the - * request. If you don’t specify a client token, the Amazon Web Services SDK automatically - * generates a client token and uses it for the request to ensure idempotency.

- * @public - */ - clientToken?: string; - - /** - *

The studio ID.

- * @public - */ - studioId: string | undefined; -} - -/** - * @public - */ -export interface StartStudioSSOConfigurationRepairResponse { - /** - *

Information about a studio.

- * @public - */ - studio: Studio | undefined; -} - -/** - * @public - */ -export interface UpdateStudioRequest { - /** - *

The IAM role that Studio Admins will assume when logging in to the - * Nimble Studio portal.

- * @public - */ - adminRoleArn?: string; - - /** - *

Unique, case-sensitive identifier that you provide to ensure the idempotency of the - * request. If you don’t specify a client token, the Amazon Web Services SDK automatically - * generates a client token and uses it for the request to ensure idempotency.

- * @public - */ - clientToken?: string; - - /** - *

A friendly name for the studio.

- * @public - */ - displayName?: string; - - /** - *

The studio ID.

- * @public - */ - studioId: string | undefined; - - /** - *

The IAM role that Studio Users will assume when logging in to the - * Nimble Studio portal.

- * @public - */ - userRoleArn?: string; -} - -/** - * @public - */ -export interface UpdateStudioResponse { - /** - *

Information about a studio.

- * @public - */ - studio: Studio | undefined; -} - -/** - * @public - */ -export interface TagResourceRequest { - /** - *

The Amazon Resource Name (ARN) of the resource you want to add tags to.

- * @public - */ - resourceArn: string | undefined; - - /** - *

A collection of labels, in the form of key-value pairs, that apply to this - * resource.

- * @public - */ - tags?: Record; -} - -/** - * @public - */ -export interface TagResourceResponse {} - -/** - * @public - */ -export interface UntagResourceRequest { - /** - *

Identifies the Amazon Resource Name(ARN) key from which you are removing tags.

- * @public - */ - resourceArn: string | undefined; - - /** - *

One or more tag keys. Specify only the tag keys, not the tag values.

- * @public - */ - tagKeys: string[] | undefined; -} - -/** - * @public - */ -export interface UntagResourceResponse {} - -/** - * @internal - */ -export const ActiveDirectoryConfigurationFilterSensitiveLog = (obj: ActiveDirectoryConfiguration): any => ({ - ...obj, - ...(obj.computerAttributes && { computerAttributes: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const ComputeFarmConfigurationFilterSensitiveLog = (obj: ComputeFarmConfiguration): any => ({ - ...obj, - ...(obj.endpoint && { endpoint: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const StreamingSessionStorageRootFilterSensitiveLog = (obj: StreamingSessionStorageRoot): any => ({ - ...obj, - ...(obj.linux && { linux: SENSITIVE_STRING }), - ...(obj.windows && { windows: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const StreamConfigurationSessionStorageFilterSensitiveLog = (obj: StreamConfigurationSessionStorage): any => ({ - ...obj, - ...(obj.root && { root: StreamingSessionStorageRootFilterSensitiveLog(obj.root) }), -}); - -/** - * @internal - */ -export const StreamConfigurationCreateFilterSensitiveLog = (obj: StreamConfigurationCreate): any => ({ - ...obj, - ...(obj.sessionStorage && { - sessionStorage: StreamConfigurationSessionStorageFilterSensitiveLog(obj.sessionStorage), - }), -}); - -/** - * @internal - */ -export const CreateLaunchProfileRequestFilterSensitiveLog = (obj: CreateLaunchProfileRequest): any => ({ - ...obj, - ...(obj.description && { description: SENSITIVE_STRING }), - ...(obj.name && { name: SENSITIVE_STRING }), - ...(obj.streamConfiguration && { - streamConfiguration: StreamConfigurationCreateFilterSensitiveLog(obj.streamConfiguration), - }), -}); - -/** - * @internal - */ -export const StreamConfigurationFilterSensitiveLog = (obj: StreamConfiguration): any => ({ - ...obj, - ...(obj.sessionStorage && { - sessionStorage: StreamConfigurationSessionStorageFilterSensitiveLog(obj.sessionStorage), - }), -}); - -/** - * @internal - */ -export const LaunchProfileFilterSensitiveLog = (obj: LaunchProfile): any => ({ - ...obj, - ...(obj.description && { description: SENSITIVE_STRING }), - ...(obj.name && { name: SENSITIVE_STRING }), - ...(obj.streamConfiguration && { - streamConfiguration: StreamConfigurationFilterSensitiveLog(obj.streamConfiguration), - }), -}); - -/** - * @internal - */ -export const CreateLaunchProfileResponseFilterSensitiveLog = (obj: CreateLaunchProfileResponse): any => ({ - ...obj, - ...(obj.launchProfile && { launchProfile: LaunchProfileFilterSensitiveLog(obj.launchProfile) }), -}); - -/** - * @internal - */ -export const CreateStreamingImageRequestFilterSensitiveLog = (obj: CreateStreamingImageRequest): any => ({ - ...obj, - ...(obj.description && { description: SENSITIVE_STRING }), - ...(obj.name && { name: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const StreamingImageFilterSensitiveLog = (obj: StreamingImage): any => ({ - ...obj, - ...(obj.description && { description: SENSITIVE_STRING }), - ...(obj.name && { name: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const CreateStreamingImageResponseFilterSensitiveLog = (obj: CreateStreamingImageResponse): any => ({ - ...obj, - ...(obj.streamingImage && { streamingImage: StreamingImageFilterSensitiveLog(obj.streamingImage) }), -}); - -/** - * @internal - */ -export const StreamingSessionStreamFilterSensitiveLog = (obj: StreamingSessionStream): any => ({ - ...obj, - ...(obj.url && { url: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const CreateStreamingSessionStreamResponseFilterSensitiveLog = ( - obj: CreateStreamingSessionStreamResponse -): any => ({ - ...obj, - ...(obj.stream && { stream: StreamingSessionStreamFilterSensitiveLog(obj.stream) }), -}); - -/** - * @internal - */ -export const CreateStudioRequestFilterSensitiveLog = (obj: CreateStudioRequest): any => ({ - ...obj, - ...(obj.displayName && { displayName: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const StudioFilterSensitiveLog = (obj: Studio): any => ({ - ...obj, - ...(obj.displayName && { displayName: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const CreateStudioResponseFilterSensitiveLog = (obj: CreateStudioResponse): any => ({ - ...obj, - ...(obj.studio && { studio: StudioFilterSensitiveLog(obj.studio) }), -}); - -/** - * @internal - */ -export const LicenseServiceConfigurationFilterSensitiveLog = (obj: LicenseServiceConfiguration): any => ({ - ...obj, - ...(obj.endpoint && { endpoint: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const SharedFileSystemConfigurationFilterSensitiveLog = (obj: SharedFileSystemConfiguration): any => ({ - ...obj, - ...(obj.endpoint && { endpoint: SENSITIVE_STRING }), - ...(obj.linuxMountPoint && { linuxMountPoint: SENSITIVE_STRING }), - ...(obj.shareName && { shareName: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const StudioComponentConfigurationFilterSensitiveLog = (obj: StudioComponentConfiguration): any => ({ - ...obj, - ...(obj.activeDirectoryConfiguration && { - activeDirectoryConfiguration: ActiveDirectoryConfigurationFilterSensitiveLog(obj.activeDirectoryConfiguration), - }), - ...(obj.computeFarmConfiguration && { - computeFarmConfiguration: ComputeFarmConfigurationFilterSensitiveLog(obj.computeFarmConfiguration), - }), - ...(obj.licenseServiceConfiguration && { - licenseServiceConfiguration: LicenseServiceConfigurationFilterSensitiveLog(obj.licenseServiceConfiguration), - }), - ...(obj.sharedFileSystemConfiguration && { - sharedFileSystemConfiguration: SharedFileSystemConfigurationFilterSensitiveLog(obj.sharedFileSystemConfiguration), - }), -}); - -/** - * @internal - */ -export const StudioComponentInitializationScriptFilterSensitiveLog = ( - obj: StudioComponentInitializationScript -): any => ({ - ...obj, - ...(obj.script && { script: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const CreateStudioComponentRequestFilterSensitiveLog = (obj: CreateStudioComponentRequest): any => ({ - ...obj, - ...(obj.configuration && { configuration: StudioComponentConfigurationFilterSensitiveLog(obj.configuration) }), - ...(obj.description && { description: SENSITIVE_STRING }), - ...(obj.initializationScripts && { - initializationScripts: obj.initializationScripts.map((item) => - StudioComponentInitializationScriptFilterSensitiveLog(item) - ), - }), - ...(obj.name && { name: SENSITIVE_STRING }), - ...(obj.scriptParameters && { scriptParameters: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const StudioComponentFilterSensitiveLog = (obj: StudioComponent): any => ({ - ...obj, - ...(obj.configuration && { configuration: StudioComponentConfigurationFilterSensitiveLog(obj.configuration) }), - ...(obj.description && { description: SENSITIVE_STRING }), - ...(obj.initializationScripts && { - initializationScripts: obj.initializationScripts.map((item) => - StudioComponentInitializationScriptFilterSensitiveLog(item) - ), - }), - ...(obj.name && { name: SENSITIVE_STRING }), - ...(obj.scriptParameters && { scriptParameters: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const CreateStudioComponentResponseFilterSensitiveLog = (obj: CreateStudioComponentResponse): any => ({ - ...obj, - ...(obj.studioComponent && { studioComponent: StudioComponentFilterSensitiveLog(obj.studioComponent) }), -}); - -/** - * @internal - */ -export const DeleteLaunchProfileResponseFilterSensitiveLog = (obj: DeleteLaunchProfileResponse): any => ({ - ...obj, - ...(obj.launchProfile && { launchProfile: LaunchProfileFilterSensitiveLog(obj.launchProfile) }), -}); - -/** - * @internal - */ -export const DeleteStreamingImageResponseFilterSensitiveLog = (obj: DeleteStreamingImageResponse): any => ({ - ...obj, - ...(obj.streamingImage && { streamingImage: StreamingImageFilterSensitiveLog(obj.streamingImage) }), -}); - -/** - * @internal - */ -export const DeleteStudioResponseFilterSensitiveLog = (obj: DeleteStudioResponse): any => ({ - ...obj, - ...(obj.studio && { studio: StudioFilterSensitiveLog(obj.studio) }), -}); - -/** - * @internal - */ -export const DeleteStudioComponentResponseFilterSensitiveLog = (obj: DeleteStudioComponentResponse): any => ({ - ...obj, - ...(obj.studioComponent && { studioComponent: StudioComponentFilterSensitiveLog(obj.studioComponent) }), -}); - -/** - * @internal - */ -export const GetLaunchProfileResponseFilterSensitiveLog = (obj: GetLaunchProfileResponse): any => ({ - ...obj, - ...(obj.launchProfile && { launchProfile: LaunchProfileFilterSensitiveLog(obj.launchProfile) }), -}); - -/** - * @internal - */ -export const StudioComponentSummaryFilterSensitiveLog = (obj: StudioComponentSummary): any => ({ - ...obj, - ...(obj.description && { description: SENSITIVE_STRING }), - ...(obj.name && { name: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const GetLaunchProfileDetailsResponseFilterSensitiveLog = (obj: GetLaunchProfileDetailsResponse): any => ({ - ...obj, - ...(obj.launchProfile && { launchProfile: LaunchProfileFilterSensitiveLog(obj.launchProfile) }), - ...(obj.streamingImages && { - streamingImages: obj.streamingImages.map((item) => StreamingImageFilterSensitiveLog(item)), - }), - ...(obj.studioComponentSummaries && { - studioComponentSummaries: obj.studioComponentSummaries.map((item) => - StudioComponentSummaryFilterSensitiveLog(item) - ), - }), -}); - -/** - * @internal - */ -export const LaunchProfileInitializationActiveDirectoryFilterSensitiveLog = ( - obj: LaunchProfileInitializationActiveDirectory -): any => ({ - ...obj, - ...(obj.computerAttributes && { computerAttributes: SENSITIVE_STRING }), - ...(obj.studioComponentName && { studioComponentName: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const LaunchProfileInitializationScriptFilterSensitiveLog = (obj: LaunchProfileInitializationScript): any => ({ - ...obj, - ...(obj.script && { script: SENSITIVE_STRING }), - ...(obj.studioComponentName && { studioComponentName: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const LaunchProfileInitializationFilterSensitiveLog = (obj: LaunchProfileInitialization): any => ({ - ...obj, - ...(obj.activeDirectory && { - activeDirectory: LaunchProfileInitializationActiveDirectoryFilterSensitiveLog(obj.activeDirectory), - }), - ...(obj.name && { name: SENSITIVE_STRING }), - ...(obj.systemInitializationScripts && { - systemInitializationScripts: obj.systemInitializationScripts.map((item) => - LaunchProfileInitializationScriptFilterSensitiveLog(item) - ), - }), - ...(obj.userInitializationScripts && { - userInitializationScripts: obj.userInitializationScripts.map((item) => - LaunchProfileInitializationScriptFilterSensitiveLog(item) - ), - }), -}); - -/** - * @internal - */ -export const GetLaunchProfileInitializationResponseFilterSensitiveLog = ( - obj: GetLaunchProfileInitializationResponse -): any => ({ - ...obj, - ...(obj.launchProfileInitialization && { - launchProfileInitialization: LaunchProfileInitializationFilterSensitiveLog(obj.launchProfileInitialization), - }), -}); - -/** - * @internal - */ -export const GetStreamingImageResponseFilterSensitiveLog = (obj: GetStreamingImageResponse): any => ({ - ...obj, - ...(obj.streamingImage && { streamingImage: StreamingImageFilterSensitiveLog(obj.streamingImage) }), -}); - -/** - * @internal - */ -export const GetStreamingSessionStreamResponseFilterSensitiveLog = (obj: GetStreamingSessionStreamResponse): any => ({ - ...obj, - ...(obj.stream && { stream: StreamingSessionStreamFilterSensitiveLog(obj.stream) }), -}); - -/** - * @internal - */ -export const GetStudioResponseFilterSensitiveLog = (obj: GetStudioResponse): any => ({ - ...obj, - ...(obj.studio && { studio: StudioFilterSensitiveLog(obj.studio) }), -}); - -/** - * @internal - */ -export const GetStudioComponentResponseFilterSensitiveLog = (obj: GetStudioComponentResponse): any => ({ - ...obj, - ...(obj.studioComponent && { studioComponent: StudioComponentFilterSensitiveLog(obj.studioComponent) }), -}); - -/** - * @internal - */ -export const ListLaunchProfilesResponseFilterSensitiveLog = (obj: ListLaunchProfilesResponse): any => ({ - ...obj, - ...(obj.launchProfiles && { - launchProfiles: obj.launchProfiles.map((item) => LaunchProfileFilterSensitiveLog(item)), - }), -}); - -/** - * @internal - */ -export const UpdateLaunchProfileRequestFilterSensitiveLog = (obj: UpdateLaunchProfileRequest): any => ({ - ...obj, - ...(obj.description && { description: SENSITIVE_STRING }), - ...(obj.name && { name: SENSITIVE_STRING }), - ...(obj.streamConfiguration && { - streamConfiguration: StreamConfigurationCreateFilterSensitiveLog(obj.streamConfiguration), - }), -}); - -/** - * @internal - */ -export const UpdateLaunchProfileResponseFilterSensitiveLog = (obj: UpdateLaunchProfileResponse): any => ({ - ...obj, - ...(obj.launchProfile && { launchProfile: LaunchProfileFilterSensitiveLog(obj.launchProfile) }), -}); - -/** - * @internal - */ -export const ListStreamingImagesResponseFilterSensitiveLog = (obj: ListStreamingImagesResponse): any => ({ - ...obj, - ...(obj.streamingImages && { - streamingImages: obj.streamingImages.map((item) => StreamingImageFilterSensitiveLog(item)), - }), -}); - -/** - * @internal - */ -export const ListStudioComponentsResponseFilterSensitiveLog = (obj: ListStudioComponentsResponse): any => ({ - ...obj, - ...(obj.studioComponents && { - studioComponents: obj.studioComponents.map((item) => StudioComponentFilterSensitiveLog(item)), - }), -}); - -/** - * @internal - */ -export const ListStudiosResponseFilterSensitiveLog = (obj: ListStudiosResponse): any => ({ - ...obj, - ...(obj.studios && { studios: obj.studios.map((item) => StudioFilterSensitiveLog(item)) }), -}); - -/** - * @internal - */ -export const UpdateStreamingImageRequestFilterSensitiveLog = (obj: UpdateStreamingImageRequest): any => ({ - ...obj, - ...(obj.description && { description: SENSITIVE_STRING }), - ...(obj.name && { name: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const UpdateStreamingImageResponseFilterSensitiveLog = (obj: UpdateStreamingImageResponse): any => ({ - ...obj, - ...(obj.streamingImage && { streamingImage: StreamingImageFilterSensitiveLog(obj.streamingImage) }), -}); - -/** - * @internal - */ -export const UpdateStudioComponentRequestFilterSensitiveLog = (obj: UpdateStudioComponentRequest): any => ({ - ...obj, - ...(obj.configuration && { configuration: StudioComponentConfigurationFilterSensitiveLog(obj.configuration) }), - ...(obj.description && { description: SENSITIVE_STRING }), - ...(obj.initializationScripts && { - initializationScripts: obj.initializationScripts.map((item) => - StudioComponentInitializationScriptFilterSensitiveLog(item) - ), - }), - ...(obj.name && { name: SENSITIVE_STRING }), - ...(obj.scriptParameters && { scriptParameters: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const UpdateStudioComponentResponseFilterSensitiveLog = (obj: UpdateStudioComponentResponse): any => ({ - ...obj, - ...(obj.studioComponent && { studioComponent: StudioComponentFilterSensitiveLog(obj.studioComponent) }), -}); - -/** - * @internal - */ -export const StartStudioSSOConfigurationRepairResponseFilterSensitiveLog = ( - obj: StartStudioSSOConfigurationRepairResponse -): any => ({ - ...obj, - ...(obj.studio && { studio: StudioFilterSensitiveLog(obj.studio) }), -}); - -/** - * @internal - */ -export const UpdateStudioRequestFilterSensitiveLog = (obj: UpdateStudioRequest): any => ({ - ...obj, - ...(obj.displayName && { displayName: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const UpdateStudioResponseFilterSensitiveLog = (obj: UpdateStudioResponse): any => ({ - ...obj, - ...(obj.studio && { studio: StudioFilterSensitiveLog(obj.studio) }), -}); diff --git a/clients/client-nimble/src/pagination/Interfaces.ts b/clients/client-nimble/src/pagination/Interfaces.ts deleted file mode 100644 index aecfe9b8d989..000000000000 --- a/clients/client-nimble/src/pagination/Interfaces.ts +++ /dev/null @@ -1,11 +0,0 @@ -// smithy-typescript generated code -import { PaginationConfiguration } from "@smithy/types"; - -import { NimbleClient } from "../NimbleClient"; - -/** - * @public - */ -export interface NimblePaginationConfiguration extends PaginationConfiguration { - client: NimbleClient; -} diff --git a/clients/client-nimble/src/pagination/ListEulaAcceptancesPaginator.ts b/clients/client-nimble/src/pagination/ListEulaAcceptancesPaginator.ts deleted file mode 100644 index b6654a3fd0ce..000000000000 --- a/clients/client-nimble/src/pagination/ListEulaAcceptancesPaginator.ts +++ /dev/null @@ -1,24 +0,0 @@ -// smithy-typescript generated code -import { createPaginator } from "@smithy/core"; -import { Paginator } from "@smithy/types"; - -import { - ListEulaAcceptancesCommand, - ListEulaAcceptancesCommandInput, - ListEulaAcceptancesCommandOutput, -} from "../commands/ListEulaAcceptancesCommand"; -import { NimbleClient } from "../NimbleClient"; -import { NimblePaginationConfiguration } from "./Interfaces"; - -/** - * @public - */ -export const paginateListEulaAcceptances: ( - config: NimblePaginationConfiguration, - input: ListEulaAcceptancesCommandInput, - ...rest: any[] -) => Paginator = createPaginator< - NimblePaginationConfiguration, - ListEulaAcceptancesCommandInput, - ListEulaAcceptancesCommandOutput ->(NimbleClient, ListEulaAcceptancesCommand, "nextToken", "nextToken", ""); diff --git a/clients/client-nimble/src/pagination/ListEulasPaginator.ts b/clients/client-nimble/src/pagination/ListEulasPaginator.ts deleted file mode 100644 index 9085f5a2a6cd..000000000000 --- a/clients/client-nimble/src/pagination/ListEulasPaginator.ts +++ /dev/null @@ -1,20 +0,0 @@ -// smithy-typescript generated code -import { createPaginator } from "@smithy/core"; -import { Paginator } from "@smithy/types"; - -import { ListEulasCommand, ListEulasCommandInput, ListEulasCommandOutput } from "../commands/ListEulasCommand"; -import { NimbleClient } from "../NimbleClient"; -import { NimblePaginationConfiguration } from "./Interfaces"; - -/** - * @public - */ -export const paginateListEulas: ( - config: NimblePaginationConfiguration, - input: ListEulasCommandInput, - ...rest: any[] -) => Paginator = createPaginator< - NimblePaginationConfiguration, - ListEulasCommandInput, - ListEulasCommandOutput ->(NimbleClient, ListEulasCommand, "nextToken", "nextToken", ""); diff --git a/clients/client-nimble/src/pagination/ListLaunchProfileMembersPaginator.ts b/clients/client-nimble/src/pagination/ListLaunchProfileMembersPaginator.ts deleted file mode 100644 index 6babc90deadd..000000000000 --- a/clients/client-nimble/src/pagination/ListLaunchProfileMembersPaginator.ts +++ /dev/null @@ -1,24 +0,0 @@ -// smithy-typescript generated code -import { createPaginator } from "@smithy/core"; -import { Paginator } from "@smithy/types"; - -import { - ListLaunchProfileMembersCommand, - ListLaunchProfileMembersCommandInput, - ListLaunchProfileMembersCommandOutput, -} from "../commands/ListLaunchProfileMembersCommand"; -import { NimbleClient } from "../NimbleClient"; -import { NimblePaginationConfiguration } from "./Interfaces"; - -/** - * @public - */ -export const paginateListLaunchProfileMembers: ( - config: NimblePaginationConfiguration, - input: ListLaunchProfileMembersCommandInput, - ...rest: any[] -) => Paginator = createPaginator< - NimblePaginationConfiguration, - ListLaunchProfileMembersCommandInput, - ListLaunchProfileMembersCommandOutput ->(NimbleClient, ListLaunchProfileMembersCommand, "nextToken", "nextToken", "maxResults"); diff --git a/clients/client-nimble/src/pagination/ListLaunchProfilesPaginator.ts b/clients/client-nimble/src/pagination/ListLaunchProfilesPaginator.ts deleted file mode 100644 index 4d0f7e26c13b..000000000000 --- a/clients/client-nimble/src/pagination/ListLaunchProfilesPaginator.ts +++ /dev/null @@ -1,24 +0,0 @@ -// smithy-typescript generated code -import { createPaginator } from "@smithy/core"; -import { Paginator } from "@smithy/types"; - -import { - ListLaunchProfilesCommand, - ListLaunchProfilesCommandInput, - ListLaunchProfilesCommandOutput, -} from "../commands/ListLaunchProfilesCommand"; -import { NimbleClient } from "../NimbleClient"; -import { NimblePaginationConfiguration } from "./Interfaces"; - -/** - * @public - */ -export const paginateListLaunchProfiles: ( - config: NimblePaginationConfiguration, - input: ListLaunchProfilesCommandInput, - ...rest: any[] -) => Paginator = createPaginator< - NimblePaginationConfiguration, - ListLaunchProfilesCommandInput, - ListLaunchProfilesCommandOutput ->(NimbleClient, ListLaunchProfilesCommand, "nextToken", "nextToken", "maxResults"); diff --git a/clients/client-nimble/src/pagination/ListStreamingImagesPaginator.ts b/clients/client-nimble/src/pagination/ListStreamingImagesPaginator.ts deleted file mode 100644 index e5b7f146a2e0..000000000000 --- a/clients/client-nimble/src/pagination/ListStreamingImagesPaginator.ts +++ /dev/null @@ -1,24 +0,0 @@ -// smithy-typescript generated code -import { createPaginator } from "@smithy/core"; -import { Paginator } from "@smithy/types"; - -import { - ListStreamingImagesCommand, - ListStreamingImagesCommandInput, - ListStreamingImagesCommandOutput, -} from "../commands/ListStreamingImagesCommand"; -import { NimbleClient } from "../NimbleClient"; -import { NimblePaginationConfiguration } from "./Interfaces"; - -/** - * @public - */ -export const paginateListStreamingImages: ( - config: NimblePaginationConfiguration, - input: ListStreamingImagesCommandInput, - ...rest: any[] -) => Paginator = createPaginator< - NimblePaginationConfiguration, - ListStreamingImagesCommandInput, - ListStreamingImagesCommandOutput ->(NimbleClient, ListStreamingImagesCommand, "nextToken", "nextToken", ""); diff --git a/clients/client-nimble/src/pagination/ListStreamingSessionBackupsPaginator.ts b/clients/client-nimble/src/pagination/ListStreamingSessionBackupsPaginator.ts deleted file mode 100644 index 1f7c63c36b19..000000000000 --- a/clients/client-nimble/src/pagination/ListStreamingSessionBackupsPaginator.ts +++ /dev/null @@ -1,24 +0,0 @@ -// smithy-typescript generated code -import { createPaginator } from "@smithy/core"; -import { Paginator } from "@smithy/types"; - -import { - ListStreamingSessionBackupsCommand, - ListStreamingSessionBackupsCommandInput, - ListStreamingSessionBackupsCommandOutput, -} from "../commands/ListStreamingSessionBackupsCommand"; -import { NimbleClient } from "../NimbleClient"; -import { NimblePaginationConfiguration } from "./Interfaces"; - -/** - * @public - */ -export const paginateListStreamingSessionBackups: ( - config: NimblePaginationConfiguration, - input: ListStreamingSessionBackupsCommandInput, - ...rest: any[] -) => Paginator = createPaginator< - NimblePaginationConfiguration, - ListStreamingSessionBackupsCommandInput, - ListStreamingSessionBackupsCommandOutput ->(NimbleClient, ListStreamingSessionBackupsCommand, "nextToken", "nextToken", ""); diff --git a/clients/client-nimble/src/pagination/ListStreamingSessionsPaginator.ts b/clients/client-nimble/src/pagination/ListStreamingSessionsPaginator.ts deleted file mode 100644 index 603341bae616..000000000000 --- a/clients/client-nimble/src/pagination/ListStreamingSessionsPaginator.ts +++ /dev/null @@ -1,24 +0,0 @@ -// smithy-typescript generated code -import { createPaginator } from "@smithy/core"; -import { Paginator } from "@smithy/types"; - -import { - ListStreamingSessionsCommand, - ListStreamingSessionsCommandInput, - ListStreamingSessionsCommandOutput, -} from "../commands/ListStreamingSessionsCommand"; -import { NimbleClient } from "../NimbleClient"; -import { NimblePaginationConfiguration } from "./Interfaces"; - -/** - * @public - */ -export const paginateListStreamingSessions: ( - config: NimblePaginationConfiguration, - input: ListStreamingSessionsCommandInput, - ...rest: any[] -) => Paginator = createPaginator< - NimblePaginationConfiguration, - ListStreamingSessionsCommandInput, - ListStreamingSessionsCommandOutput ->(NimbleClient, ListStreamingSessionsCommand, "nextToken", "nextToken", ""); diff --git a/clients/client-nimble/src/pagination/ListStudioComponentsPaginator.ts b/clients/client-nimble/src/pagination/ListStudioComponentsPaginator.ts deleted file mode 100644 index 4ef823c51439..000000000000 --- a/clients/client-nimble/src/pagination/ListStudioComponentsPaginator.ts +++ /dev/null @@ -1,24 +0,0 @@ -// smithy-typescript generated code -import { createPaginator } from "@smithy/core"; -import { Paginator } from "@smithy/types"; - -import { - ListStudioComponentsCommand, - ListStudioComponentsCommandInput, - ListStudioComponentsCommandOutput, -} from "../commands/ListStudioComponentsCommand"; -import { NimbleClient } from "../NimbleClient"; -import { NimblePaginationConfiguration } from "./Interfaces"; - -/** - * @public - */ -export const paginateListStudioComponents: ( - config: NimblePaginationConfiguration, - input: ListStudioComponentsCommandInput, - ...rest: any[] -) => Paginator = createPaginator< - NimblePaginationConfiguration, - ListStudioComponentsCommandInput, - ListStudioComponentsCommandOutput ->(NimbleClient, ListStudioComponentsCommand, "nextToken", "nextToken", "maxResults"); diff --git a/clients/client-nimble/src/pagination/ListStudioMembersPaginator.ts b/clients/client-nimble/src/pagination/ListStudioMembersPaginator.ts deleted file mode 100644 index f4453413f751..000000000000 --- a/clients/client-nimble/src/pagination/ListStudioMembersPaginator.ts +++ /dev/null @@ -1,24 +0,0 @@ -// smithy-typescript generated code -import { createPaginator } from "@smithy/core"; -import { Paginator } from "@smithy/types"; - -import { - ListStudioMembersCommand, - ListStudioMembersCommandInput, - ListStudioMembersCommandOutput, -} from "../commands/ListStudioMembersCommand"; -import { NimbleClient } from "../NimbleClient"; -import { NimblePaginationConfiguration } from "./Interfaces"; - -/** - * @public - */ -export const paginateListStudioMembers: ( - config: NimblePaginationConfiguration, - input: ListStudioMembersCommandInput, - ...rest: any[] -) => Paginator = createPaginator< - NimblePaginationConfiguration, - ListStudioMembersCommandInput, - ListStudioMembersCommandOutput ->(NimbleClient, ListStudioMembersCommand, "nextToken", "nextToken", "maxResults"); diff --git a/clients/client-nimble/src/pagination/ListStudiosPaginator.ts b/clients/client-nimble/src/pagination/ListStudiosPaginator.ts deleted file mode 100644 index 43714d57f1a5..000000000000 --- a/clients/client-nimble/src/pagination/ListStudiosPaginator.ts +++ /dev/null @@ -1,20 +0,0 @@ -// smithy-typescript generated code -import { createPaginator } from "@smithy/core"; -import { Paginator } from "@smithy/types"; - -import { ListStudiosCommand, ListStudiosCommandInput, ListStudiosCommandOutput } from "../commands/ListStudiosCommand"; -import { NimbleClient } from "../NimbleClient"; -import { NimblePaginationConfiguration } from "./Interfaces"; - -/** - * @public - */ -export const paginateListStudios: ( - config: NimblePaginationConfiguration, - input: ListStudiosCommandInput, - ...rest: any[] -) => Paginator = createPaginator< - NimblePaginationConfiguration, - ListStudiosCommandInput, - ListStudiosCommandOutput ->(NimbleClient, ListStudiosCommand, "nextToken", "nextToken", ""); diff --git a/clients/client-nimble/src/pagination/index.ts b/clients/client-nimble/src/pagination/index.ts deleted file mode 100644 index 4dfca98d1a4d..000000000000 --- a/clients/client-nimble/src/pagination/index.ts +++ /dev/null @@ -1,12 +0,0 @@ -// smithy-typescript generated code -export * from "./Interfaces"; -export * from "./ListEulaAcceptancesPaginator"; -export * from "./ListEulasPaginator"; -export * from "./ListLaunchProfileMembersPaginator"; -export * from "./ListLaunchProfilesPaginator"; -export * from "./ListStreamingImagesPaginator"; -export * from "./ListStreamingSessionBackupsPaginator"; -export * from "./ListStreamingSessionsPaginator"; -export * from "./ListStudioComponentsPaginator"; -export * from "./ListStudioMembersPaginator"; -export * from "./ListStudiosPaginator"; diff --git a/clients/client-nimble/src/protocols/Aws_restJson1.ts b/clients/client-nimble/src/protocols/Aws_restJson1.ts deleted file mode 100644 index 0b2c244b6d80..000000000000 --- a/clients/client-nimble/src/protocols/Aws_restJson1.ts +++ /dev/null @@ -1,2931 +0,0 @@ -// smithy-typescript generated code -import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core"; -import { requestBuilder as rb } from "@smithy/core"; -import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http"; -import { - _json, - collectBody, - decorateServiceException as __decorateServiceException, - expectInt32 as __expectInt32, - expectNonNull as __expectNonNull, - expectObject as __expectObject, - expectString as __expectString, - extendedEncodeURIComponent as __extendedEncodeURIComponent, - isSerializableHeaderValue, - map, - parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, - resolvedPath as __resolvedPath, - take, - withBaseException, -} from "@smithy/smithy-client"; -import { - Endpoint as __Endpoint, - ResponseMetadata as __ResponseMetadata, - SerdeContext as __SerdeContext, -} from "@smithy/types"; -import { v4 as generateIdempotencyToken } from "uuid"; - -import { AcceptEulasCommandInput, AcceptEulasCommandOutput } from "../commands/AcceptEulasCommand"; -import { - CreateLaunchProfileCommandInput, - CreateLaunchProfileCommandOutput, -} from "../commands/CreateLaunchProfileCommand"; -import { - CreateStreamingImageCommandInput, - CreateStreamingImageCommandOutput, -} from "../commands/CreateStreamingImageCommand"; -import { - CreateStreamingSessionCommandInput, - CreateStreamingSessionCommandOutput, -} from "../commands/CreateStreamingSessionCommand"; -import { - CreateStreamingSessionStreamCommandInput, - CreateStreamingSessionStreamCommandOutput, -} from "../commands/CreateStreamingSessionStreamCommand"; -import { CreateStudioCommandInput, CreateStudioCommandOutput } from "../commands/CreateStudioCommand"; -import { - CreateStudioComponentCommandInput, - CreateStudioComponentCommandOutput, -} from "../commands/CreateStudioComponentCommand"; -import { - DeleteLaunchProfileCommandInput, - DeleteLaunchProfileCommandOutput, -} from "../commands/DeleteLaunchProfileCommand"; -import { - DeleteLaunchProfileMemberCommandInput, - DeleteLaunchProfileMemberCommandOutput, -} from "../commands/DeleteLaunchProfileMemberCommand"; -import { - DeleteStreamingImageCommandInput, - DeleteStreamingImageCommandOutput, -} from "../commands/DeleteStreamingImageCommand"; -import { - DeleteStreamingSessionCommandInput, - DeleteStreamingSessionCommandOutput, -} from "../commands/DeleteStreamingSessionCommand"; -import { DeleteStudioCommandInput, DeleteStudioCommandOutput } from "../commands/DeleteStudioCommand"; -import { - DeleteStudioComponentCommandInput, - DeleteStudioComponentCommandOutput, -} from "../commands/DeleteStudioComponentCommand"; -import { DeleteStudioMemberCommandInput, DeleteStudioMemberCommandOutput } from "../commands/DeleteStudioMemberCommand"; -import { GetEulaCommandInput, GetEulaCommandOutput } from "../commands/GetEulaCommand"; -import { GetLaunchProfileCommandInput, GetLaunchProfileCommandOutput } from "../commands/GetLaunchProfileCommand"; -import { - GetLaunchProfileDetailsCommandInput, - GetLaunchProfileDetailsCommandOutput, -} from "../commands/GetLaunchProfileDetailsCommand"; -import { - GetLaunchProfileInitializationCommandInput, - GetLaunchProfileInitializationCommandOutput, -} from "../commands/GetLaunchProfileInitializationCommand"; -import { - GetLaunchProfileMemberCommandInput, - GetLaunchProfileMemberCommandOutput, -} from "../commands/GetLaunchProfileMemberCommand"; -import { GetStreamingImageCommandInput, GetStreamingImageCommandOutput } from "../commands/GetStreamingImageCommand"; -import { - GetStreamingSessionBackupCommandInput, - GetStreamingSessionBackupCommandOutput, -} from "../commands/GetStreamingSessionBackupCommand"; -import { - GetStreamingSessionCommandInput, - GetStreamingSessionCommandOutput, -} from "../commands/GetStreamingSessionCommand"; -import { - GetStreamingSessionStreamCommandInput, - GetStreamingSessionStreamCommandOutput, -} from "../commands/GetStreamingSessionStreamCommand"; -import { GetStudioCommandInput, GetStudioCommandOutput } from "../commands/GetStudioCommand"; -import { GetStudioComponentCommandInput, GetStudioComponentCommandOutput } from "../commands/GetStudioComponentCommand"; -import { GetStudioMemberCommandInput, GetStudioMemberCommandOutput } from "../commands/GetStudioMemberCommand"; -import { - ListEulaAcceptancesCommandInput, - ListEulaAcceptancesCommandOutput, -} from "../commands/ListEulaAcceptancesCommand"; -import { ListEulasCommandInput, ListEulasCommandOutput } from "../commands/ListEulasCommand"; -import { - ListLaunchProfileMembersCommandInput, - ListLaunchProfileMembersCommandOutput, -} from "../commands/ListLaunchProfileMembersCommand"; -import { ListLaunchProfilesCommandInput, ListLaunchProfilesCommandOutput } from "../commands/ListLaunchProfilesCommand"; -import { - ListStreamingImagesCommandInput, - ListStreamingImagesCommandOutput, -} from "../commands/ListStreamingImagesCommand"; -import { - ListStreamingSessionBackupsCommandInput, - ListStreamingSessionBackupsCommandOutput, -} from "../commands/ListStreamingSessionBackupsCommand"; -import { - ListStreamingSessionsCommandInput, - ListStreamingSessionsCommandOutput, -} from "../commands/ListStreamingSessionsCommand"; -import { - ListStudioComponentsCommandInput, - ListStudioComponentsCommandOutput, -} from "../commands/ListStudioComponentsCommand"; -import { ListStudioMembersCommandInput, ListStudioMembersCommandOutput } from "../commands/ListStudioMembersCommand"; -import { ListStudiosCommandInput, ListStudiosCommandOutput } from "../commands/ListStudiosCommand"; -import { - ListTagsForResourceCommandInput, - ListTagsForResourceCommandOutput, -} from "../commands/ListTagsForResourceCommand"; -import { - PutLaunchProfileMembersCommandInput, - PutLaunchProfileMembersCommandOutput, -} from "../commands/PutLaunchProfileMembersCommand"; -import { PutStudioMembersCommandInput, PutStudioMembersCommandOutput } from "../commands/PutStudioMembersCommand"; -import { - StartStreamingSessionCommandInput, - StartStreamingSessionCommandOutput, -} from "../commands/StartStreamingSessionCommand"; -import { - StartStudioSSOConfigurationRepairCommandInput, - StartStudioSSOConfigurationRepairCommandOutput, -} from "../commands/StartStudioSSOConfigurationRepairCommand"; -import { - StopStreamingSessionCommandInput, - StopStreamingSessionCommandOutput, -} from "../commands/StopStreamingSessionCommand"; -import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand"; -import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand"; -import { - UpdateLaunchProfileCommandInput, - UpdateLaunchProfileCommandOutput, -} from "../commands/UpdateLaunchProfileCommand"; -import { - UpdateLaunchProfileMemberCommandInput, - UpdateLaunchProfileMemberCommandOutput, -} from "../commands/UpdateLaunchProfileMemberCommand"; -import { - UpdateStreamingImageCommandInput, - UpdateStreamingImageCommandOutput, -} from "../commands/UpdateStreamingImageCommand"; -import { UpdateStudioCommandInput, UpdateStudioCommandOutput } from "../commands/UpdateStudioCommand"; -import { - UpdateStudioComponentCommandInput, - UpdateStudioComponentCommandOutput, -} from "../commands/UpdateStudioComponentCommand"; -import { - AccessDeniedException, - ActiveDirectoryComputerAttribute, - ActiveDirectoryConfiguration, - ComputeFarmConfiguration, - ConflictException, - Eula, - EulaAcceptance, - InternalServerErrorException, - LaunchProfile, - LicenseServiceConfiguration, - NewLaunchProfileMember, - NewStudioMember, - ResourceNotFoundException, - ScriptParameterKeyValue, - ServiceQuotaExceededException, - SharedFileSystemConfiguration, - StreamConfigurationCreate, - StreamConfigurationSessionBackup, - StreamConfigurationSessionStorage, - StreamingInstanceType, - StreamingSession, - StreamingSessionBackup, - StreamingSessionStorageMode, - StreamingSessionStorageRoot, - StreamingSessionStream, - Studio, - StudioComponent, - StudioComponentConfiguration, - StudioComponentInitializationScript, - StudioComponentSummary, - StudioEncryptionConfiguration, - ThrottlingException, - ValidationException, - VolumeConfiguration, -} from "../models/models_0"; -import { NimbleServiceException as __BaseException } from "../models/NimbleServiceException"; - -/** - * serializeAws_restJson1AcceptEulasCommand - */ -export const se_AcceptEulasCommand = async ( - input: AcceptEulasCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - "content-type": "application/json", - [_xact]: input[_cT] ?? generateIdempotencyToken(), - }); - b.bp("/2020-08-01/studios/{studioId}/eula-acceptances"); - b.p("studioId", () => input.studioId!, "{studioId}", false); - let body: any; - body = JSON.stringify( - take(input, { - eulaIds: (_) => _json(_), - }) - ); - b.m("POST").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1CreateLaunchProfileCommand - */ -export const se_CreateLaunchProfileCommand = async ( - input: CreateLaunchProfileCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - "content-type": "application/json", - [_xact]: input[_cT] ?? generateIdempotencyToken(), - }); - b.bp("/2020-08-01/studios/{studioId}/launch-profiles"); - b.p("studioId", () => input.studioId!, "{studioId}", false); - let body: any; - body = JSON.stringify( - take(input, { - description: [], - ec2SubnetIds: (_) => _json(_), - launchProfileProtocolVersions: (_) => _json(_), - name: [], - streamConfiguration: (_) => _json(_), - studioComponentIds: (_) => _json(_), - tags: (_) => _json(_), - }) - ); - b.m("POST").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1CreateStreamingImageCommand - */ -export const se_CreateStreamingImageCommand = async ( - input: CreateStreamingImageCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - "content-type": "application/json", - [_xact]: input[_cT] ?? generateIdempotencyToken(), - }); - b.bp("/2020-08-01/studios/{studioId}/streaming-images"); - b.p("studioId", () => input.studioId!, "{studioId}", false); - let body: any; - body = JSON.stringify( - take(input, { - description: [], - ec2ImageId: [], - name: [], - tags: (_) => _json(_), - }) - ); - b.m("POST").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1CreateStreamingSessionCommand - */ -export const se_CreateStreamingSessionCommand = async ( - input: CreateStreamingSessionCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - "content-type": "application/json", - [_xact]: input[_cT] ?? generateIdempotencyToken(), - }); - b.bp("/2020-08-01/studios/{studioId}/streaming-sessions"); - b.p("studioId", () => input.studioId!, "{studioId}", false); - let body: any; - body = JSON.stringify( - take(input, { - ec2InstanceType: [], - launchProfileId: [], - ownedBy: [], - streamingImageId: [], - tags: (_) => _json(_), - }) - ); - b.m("POST").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1CreateStreamingSessionStreamCommand - */ -export const se_CreateStreamingSessionStreamCommand = async ( - input: CreateStreamingSessionStreamCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - "content-type": "application/json", - [_xact]: input[_cT] ?? generateIdempotencyToken(), - }); - b.bp("/2020-08-01/studios/{studioId}/streaming-sessions/{sessionId}/streams"); - b.p("sessionId", () => input.sessionId!, "{sessionId}", false); - b.p("studioId", () => input.studioId!, "{studioId}", false); - let body: any; - body = JSON.stringify( - take(input, { - expirationInSeconds: [], - }) - ); - b.m("POST").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1CreateStudioCommand - */ -export const se_CreateStudioCommand = async ( - input: CreateStudioCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - "content-type": "application/json", - [_xact]: input[_cT] ?? generateIdempotencyToken(), - }); - b.bp("/2020-08-01/studios"); - let body: any; - body = JSON.stringify( - take(input, { - adminRoleArn: [], - displayName: [], - studioEncryptionConfiguration: (_) => _json(_), - studioName: [], - tags: (_) => _json(_), - userRoleArn: [], - }) - ); - b.m("POST").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1CreateStudioComponentCommand - */ -export const se_CreateStudioComponentCommand = async ( - input: CreateStudioComponentCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - "content-type": "application/json", - [_xact]: input[_cT] ?? generateIdempotencyToken(), - }); - b.bp("/2020-08-01/studios/{studioId}/studio-components"); - b.p("studioId", () => input.studioId!, "{studioId}", false); - let body: any; - body = JSON.stringify( - take(input, { - configuration: (_) => _json(_), - description: [], - ec2SecurityGroupIds: (_) => _json(_), - initializationScripts: (_) => _json(_), - name: [], - runtimeRoleArn: [], - scriptParameters: (_) => _json(_), - secureInitializationRoleArn: [], - subtype: [], - tags: (_) => _json(_), - type: [], - }) - ); - b.m("POST").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1DeleteLaunchProfileCommand - */ -export const se_DeleteLaunchProfileCommand = async ( - input: DeleteLaunchProfileCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - [_xact]: input[_cT] ?? generateIdempotencyToken(), - }); - b.bp("/2020-08-01/studios/{studioId}/launch-profiles/{launchProfileId}"); - b.p("launchProfileId", () => input.launchProfileId!, "{launchProfileId}", false); - b.p("studioId", () => input.studioId!, "{studioId}", false); - let body: any; - b.m("DELETE").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1DeleteLaunchProfileMemberCommand - */ -export const se_DeleteLaunchProfileMemberCommand = async ( - input: DeleteLaunchProfileMemberCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - [_xact]: input[_cT] ?? generateIdempotencyToken(), - }); - b.bp("/2020-08-01/studios/{studioId}/launch-profiles/{launchProfileId}/membership/{principalId}"); - b.p("launchProfileId", () => input.launchProfileId!, "{launchProfileId}", false); - b.p("principalId", () => input.principalId!, "{principalId}", false); - b.p("studioId", () => input.studioId!, "{studioId}", false); - let body: any; - b.m("DELETE").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1DeleteStreamingImageCommand - */ -export const se_DeleteStreamingImageCommand = async ( - input: DeleteStreamingImageCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - [_xact]: input[_cT] ?? generateIdempotencyToken(), - }); - b.bp("/2020-08-01/studios/{studioId}/streaming-images/{streamingImageId}"); - b.p("streamingImageId", () => input.streamingImageId!, "{streamingImageId}", false); - b.p("studioId", () => input.studioId!, "{studioId}", false); - let body: any; - b.m("DELETE").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1DeleteStreamingSessionCommand - */ -export const se_DeleteStreamingSessionCommand = async ( - input: DeleteStreamingSessionCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - [_xact]: input[_cT] ?? generateIdempotencyToken(), - }); - b.bp("/2020-08-01/studios/{studioId}/streaming-sessions/{sessionId}"); - b.p("sessionId", () => input.sessionId!, "{sessionId}", false); - b.p("studioId", () => input.studioId!, "{studioId}", false); - let body: any; - b.m("DELETE").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1DeleteStudioCommand - */ -export const se_DeleteStudioCommand = async ( - input: DeleteStudioCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - [_xact]: input[_cT] ?? generateIdempotencyToken(), - }); - b.bp("/2020-08-01/studios/{studioId}"); - b.p("studioId", () => input.studioId!, "{studioId}", false); - let body: any; - b.m("DELETE").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1DeleteStudioComponentCommand - */ -export const se_DeleteStudioComponentCommand = async ( - input: DeleteStudioComponentCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - [_xact]: input[_cT] ?? generateIdempotencyToken(), - }); - b.bp("/2020-08-01/studios/{studioId}/studio-components/{studioComponentId}"); - b.p("studioComponentId", () => input.studioComponentId!, "{studioComponentId}", false); - b.p("studioId", () => input.studioId!, "{studioId}", false); - let body: any; - b.m("DELETE").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1DeleteStudioMemberCommand - */ -export const se_DeleteStudioMemberCommand = async ( - input: DeleteStudioMemberCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - [_xact]: input[_cT] ?? generateIdempotencyToken(), - }); - b.bp("/2020-08-01/studios/{studioId}/membership/{principalId}"); - b.p("principalId", () => input.principalId!, "{principalId}", false); - b.p("studioId", () => input.studioId!, "{studioId}", false); - let body: any; - b.m("DELETE").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetEulaCommand - */ -export const se_GetEulaCommand = async ( - input: GetEulaCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/2020-08-01/eulas/{eulaId}"); - b.p("eulaId", () => input.eulaId!, "{eulaId}", false); - let body: any; - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetLaunchProfileCommand - */ -export const se_GetLaunchProfileCommand = async ( - input: GetLaunchProfileCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/2020-08-01/studios/{studioId}/launch-profiles/{launchProfileId}"); - b.p("launchProfileId", () => input.launchProfileId!, "{launchProfileId}", false); - b.p("studioId", () => input.studioId!, "{studioId}", false); - let body: any; - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetLaunchProfileDetailsCommand - */ -export const se_GetLaunchProfileDetailsCommand = async ( - input: GetLaunchProfileDetailsCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/2020-08-01/studios/{studioId}/launch-profiles/{launchProfileId}/details"); - b.p("launchProfileId", () => input.launchProfileId!, "{launchProfileId}", false); - b.p("studioId", () => input.studioId!, "{studioId}", false); - let body: any; - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetLaunchProfileInitializationCommand - */ -export const se_GetLaunchProfileInitializationCommand = async ( - input: GetLaunchProfileInitializationCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/2020-08-01/studios/{studioId}/launch-profiles/{launchProfileId}/init"); - b.p("launchProfileId", () => input.launchProfileId!, "{launchProfileId}", false); - b.p("studioId", () => input.studioId!, "{studioId}", false); - const query: any = map({ - [_lPPV]: [ - __expectNonNull(input.launchProfileProtocolVersions, `launchProfileProtocolVersions`) != null, - () => input[_lPPV]! || [], - ], - [_lP]: [, __expectNonNull(input[_lP]!, `launchPurpose`)], - [_p]: [, __expectNonNull(input[_p]!, `platform`)], - }); - let body: any; - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetLaunchProfileMemberCommand - */ -export const se_GetLaunchProfileMemberCommand = async ( - input: GetLaunchProfileMemberCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/2020-08-01/studios/{studioId}/launch-profiles/{launchProfileId}/membership/{principalId}"); - b.p("launchProfileId", () => input.launchProfileId!, "{launchProfileId}", false); - b.p("principalId", () => input.principalId!, "{principalId}", false); - b.p("studioId", () => input.studioId!, "{studioId}", false); - let body: any; - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetStreamingImageCommand - */ -export const se_GetStreamingImageCommand = async ( - input: GetStreamingImageCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/2020-08-01/studios/{studioId}/streaming-images/{streamingImageId}"); - b.p("streamingImageId", () => input.streamingImageId!, "{streamingImageId}", false); - b.p("studioId", () => input.studioId!, "{studioId}", false); - let body: any; - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetStreamingSessionCommand - */ -export const se_GetStreamingSessionCommand = async ( - input: GetStreamingSessionCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/2020-08-01/studios/{studioId}/streaming-sessions/{sessionId}"); - b.p("sessionId", () => input.sessionId!, "{sessionId}", false); - b.p("studioId", () => input.studioId!, "{studioId}", false); - let body: any; - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetStreamingSessionBackupCommand - */ -export const se_GetStreamingSessionBackupCommand = async ( - input: GetStreamingSessionBackupCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/2020-08-01/studios/{studioId}/streaming-session-backups/{backupId}"); - b.p("backupId", () => input.backupId!, "{backupId}", false); - b.p("studioId", () => input.studioId!, "{studioId}", false); - let body: any; - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetStreamingSessionStreamCommand - */ -export const se_GetStreamingSessionStreamCommand = async ( - input: GetStreamingSessionStreamCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/2020-08-01/studios/{studioId}/streaming-sessions/{sessionId}/streams/{streamId}"); - b.p("sessionId", () => input.sessionId!, "{sessionId}", false); - b.p("streamId", () => input.streamId!, "{streamId}", false); - b.p("studioId", () => input.studioId!, "{studioId}", false); - let body: any; - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetStudioCommand - */ -export const se_GetStudioCommand = async ( - input: GetStudioCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/2020-08-01/studios/{studioId}"); - b.p("studioId", () => input.studioId!, "{studioId}", false); - let body: any; - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetStudioComponentCommand - */ -export const se_GetStudioComponentCommand = async ( - input: GetStudioComponentCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/2020-08-01/studios/{studioId}/studio-components/{studioComponentId}"); - b.p("studioComponentId", () => input.studioComponentId!, "{studioComponentId}", false); - b.p("studioId", () => input.studioId!, "{studioId}", false); - let body: any; - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetStudioMemberCommand - */ -export const se_GetStudioMemberCommand = async ( - input: GetStudioMemberCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/2020-08-01/studios/{studioId}/membership/{principalId}"); - b.p("principalId", () => input.principalId!, "{principalId}", false); - b.p("studioId", () => input.studioId!, "{studioId}", false); - let body: any; - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1ListEulaAcceptancesCommand - */ -export const se_ListEulaAcceptancesCommand = async ( - input: ListEulaAcceptancesCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/2020-08-01/studios/{studioId}/eula-acceptances"); - b.p("studioId", () => input.studioId!, "{studioId}", false); - const query: any = map({ - [_eI]: [() => input.eulaIds !== void 0, () => input[_eI]! || []], - [_nT]: [, input[_nT]!], - }); - let body: any; - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1ListEulasCommand - */ -export const se_ListEulasCommand = async ( - input: ListEulasCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/2020-08-01/eulas"); - const query: any = map({ - [_eI]: [() => input.eulaIds !== void 0, () => input[_eI]! || []], - [_nT]: [, input[_nT]!], - }); - let body: any; - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1ListLaunchProfileMembersCommand - */ -export const se_ListLaunchProfileMembersCommand = async ( - input: ListLaunchProfileMembersCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/2020-08-01/studios/{studioId}/launch-profiles/{launchProfileId}/membership"); - b.p("launchProfileId", () => input.launchProfileId!, "{launchProfileId}", false); - b.p("studioId", () => input.studioId!, "{studioId}", false); - const query: any = map({ - [_mR]: [() => input.maxResults !== void 0, () => input[_mR]!.toString()], - [_nT]: [, input[_nT]!], - }); - let body: any; - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1ListLaunchProfilesCommand - */ -export const se_ListLaunchProfilesCommand = async ( - input: ListLaunchProfilesCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/2020-08-01/studios/{studioId}/launch-profiles"); - b.p("studioId", () => input.studioId!, "{studioId}", false); - const query: any = map({ - [_mR]: [() => input.maxResults !== void 0, () => input[_mR]!.toString()], - [_nT]: [, input[_nT]!], - [_pI]: [, input[_pI]!], - [_s]: [() => input.states !== void 0, () => input[_s]! || []], - }); - let body: any; - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1ListStreamingImagesCommand - */ -export const se_ListStreamingImagesCommand = async ( - input: ListStreamingImagesCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/2020-08-01/studios/{studioId}/streaming-images"); - b.p("studioId", () => input.studioId!, "{studioId}", false); - const query: any = map({ - [_nT]: [, input[_nT]!], - [_o]: [, input[_o]!], - }); - let body: any; - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1ListStreamingSessionBackupsCommand - */ -export const se_ListStreamingSessionBackupsCommand = async ( - input: ListStreamingSessionBackupsCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/2020-08-01/studios/{studioId}/streaming-session-backups"); - b.p("studioId", () => input.studioId!, "{studioId}", false); - const query: any = map({ - [_nT]: [, input[_nT]!], - [_oB]: [, input[_oB]!], - }); - let body: any; - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1ListStreamingSessionsCommand - */ -export const se_ListStreamingSessionsCommand = async ( - input: ListStreamingSessionsCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/2020-08-01/studios/{studioId}/streaming-sessions"); - b.p("studioId", () => input.studioId!, "{studioId}", false); - const query: any = map({ - [_cB]: [, input[_cB]!], - [_nT]: [, input[_nT]!], - [_oB]: [, input[_oB]!], - [_sI]: [, input[_sI]!], - }); - let body: any; - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1ListStudioComponentsCommand - */ -export const se_ListStudioComponentsCommand = async ( - input: ListStudioComponentsCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/2020-08-01/studios/{studioId}/studio-components"); - b.p("studioId", () => input.studioId!, "{studioId}", false); - const query: any = map({ - [_mR]: [() => input.maxResults !== void 0, () => input[_mR]!.toString()], - [_nT]: [, input[_nT]!], - [_s]: [() => input.states !== void 0, () => input[_s]! || []], - [_t]: [() => input.types !== void 0, () => input[_t]! || []], - }); - let body: any; - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1ListStudioMembersCommand - */ -export const se_ListStudioMembersCommand = async ( - input: ListStudioMembersCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/2020-08-01/studios/{studioId}/membership"); - b.p("studioId", () => input.studioId!, "{studioId}", false); - const query: any = map({ - [_mR]: [() => input.maxResults !== void 0, () => input[_mR]!.toString()], - [_nT]: [, input[_nT]!], - }); - let body: any; - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1ListStudiosCommand - */ -export const se_ListStudiosCommand = async ( - input: ListStudiosCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/2020-08-01/studios"); - const query: any = map({ - [_nT]: [, input[_nT]!], - }); - let body: any; - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1ListTagsForResourceCommand - */ -export const se_ListTagsForResourceCommand = async ( - input: ListTagsForResourceCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/2020-08-01/tags/{resourceArn}"); - b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); - let body: any; - b.m("GET").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1PutLaunchProfileMembersCommand - */ -export const se_PutLaunchProfileMembersCommand = async ( - input: PutLaunchProfileMembersCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - "content-type": "application/json", - [_xact]: input[_cT] ?? generateIdempotencyToken(), - }); - b.bp("/2020-08-01/studios/{studioId}/launch-profiles/{launchProfileId}/membership"); - b.p("launchProfileId", () => input.launchProfileId!, "{launchProfileId}", false); - b.p("studioId", () => input.studioId!, "{studioId}", false); - let body: any; - body = JSON.stringify( - take(input, { - identityStoreId: [], - members: (_) => _json(_), - }) - ); - b.m("POST").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1PutStudioMembersCommand - */ -export const se_PutStudioMembersCommand = async ( - input: PutStudioMembersCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - "content-type": "application/json", - [_xact]: input[_cT] ?? generateIdempotencyToken(), - }); - b.bp("/2020-08-01/studios/{studioId}/membership"); - b.p("studioId", () => input.studioId!, "{studioId}", false); - let body: any; - body = JSON.stringify( - take(input, { - identityStoreId: [], - members: (_) => _json(_), - }) - ); - b.m("POST").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1StartStreamingSessionCommand - */ -export const se_StartStreamingSessionCommand = async ( - input: StartStreamingSessionCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - "content-type": "application/json", - [_xact]: input[_cT] ?? generateIdempotencyToken(), - }); - b.bp("/2020-08-01/studios/{studioId}/streaming-sessions/{sessionId}/start"); - b.p("sessionId", () => input.sessionId!, "{sessionId}", false); - b.p("studioId", () => input.studioId!, "{studioId}", false); - let body: any; - body = JSON.stringify( - take(input, { - backupId: [], - }) - ); - b.m("POST").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1StartStudioSSOConfigurationRepairCommand - */ -export const se_StartStudioSSOConfigurationRepairCommand = async ( - input: StartStudioSSOConfigurationRepairCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - [_xact]: input[_cT] ?? generateIdempotencyToken(), - }); - b.bp("/2020-08-01/studios/{studioId}/sso-configuration"); - b.p("studioId", () => input.studioId!, "{studioId}", false); - let body: any; - b.m("PUT").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1StopStreamingSessionCommand - */ -export const se_StopStreamingSessionCommand = async ( - input: StopStreamingSessionCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - "content-type": "application/json", - [_xact]: input[_cT] ?? generateIdempotencyToken(), - }); - b.bp("/2020-08-01/studios/{studioId}/streaming-sessions/{sessionId}/stop"); - b.p("sessionId", () => input.sessionId!, "{sessionId}", false); - b.p("studioId", () => input.studioId!, "{studioId}", false); - let body: any; - body = JSON.stringify( - take(input, { - volumeRetentionMode: [], - }) - ); - b.m("POST").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1TagResourceCommand - */ -export const se_TagResourceCommand = async ( - input: TagResourceCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/2020-08-01/tags/{resourceArn}"); - b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); - let body: any; - body = JSON.stringify( - take(input, { - tags: (_) => _json(_), - }) - ); - b.m("POST").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1UntagResourceCommand - */ -export const se_UntagResourceCommand = async ( - input: UntagResourceCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/2020-08-01/tags/{resourceArn}"); - b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); - const query: any = map({ - [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK]! || []], - }); - let body: any; - b.m("DELETE").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1UpdateLaunchProfileCommand - */ -export const se_UpdateLaunchProfileCommand = async ( - input: UpdateLaunchProfileCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - "content-type": "application/json", - [_xact]: input[_cT] ?? generateIdempotencyToken(), - }); - b.bp("/2020-08-01/studios/{studioId}/launch-profiles/{launchProfileId}"); - b.p("launchProfileId", () => input.launchProfileId!, "{launchProfileId}", false); - b.p("studioId", () => input.studioId!, "{studioId}", false); - let body: any; - body = JSON.stringify( - take(input, { - description: [], - launchProfileProtocolVersions: (_) => _json(_), - name: [], - streamConfiguration: (_) => _json(_), - studioComponentIds: (_) => _json(_), - }) - ); - b.m("PATCH").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1UpdateLaunchProfileMemberCommand - */ -export const se_UpdateLaunchProfileMemberCommand = async ( - input: UpdateLaunchProfileMemberCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - "content-type": "application/json", - [_xact]: input[_cT] ?? generateIdempotencyToken(), - }); - b.bp("/2020-08-01/studios/{studioId}/launch-profiles/{launchProfileId}/membership/{principalId}"); - b.p("launchProfileId", () => input.launchProfileId!, "{launchProfileId}", false); - b.p("principalId", () => input.principalId!, "{principalId}", false); - b.p("studioId", () => input.studioId!, "{studioId}", false); - let body: any; - body = JSON.stringify( - take(input, { - persona: [], - }) - ); - b.m("PATCH").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1UpdateStreamingImageCommand - */ -export const se_UpdateStreamingImageCommand = async ( - input: UpdateStreamingImageCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - "content-type": "application/json", - [_xact]: input[_cT] ?? generateIdempotencyToken(), - }); - b.bp("/2020-08-01/studios/{studioId}/streaming-images/{streamingImageId}"); - b.p("streamingImageId", () => input.streamingImageId!, "{streamingImageId}", false); - b.p("studioId", () => input.studioId!, "{studioId}", false); - let body: any; - body = JSON.stringify( - take(input, { - description: [], - name: [], - }) - ); - b.m("PATCH").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1UpdateStudioCommand - */ -export const se_UpdateStudioCommand = async ( - input: UpdateStudioCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - "content-type": "application/json", - [_xact]: input[_cT] ?? generateIdempotencyToken(), - }); - b.bp("/2020-08-01/studios/{studioId}"); - b.p("studioId", () => input.studioId!, "{studioId}", false); - let body: any; - body = JSON.stringify( - take(input, { - adminRoleArn: [], - displayName: [], - userRoleArn: [], - }) - ); - b.m("PATCH").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1UpdateStudioComponentCommand - */ -export const se_UpdateStudioComponentCommand = async ( - input: UpdateStudioComponentCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - "content-type": "application/json", - [_xact]: input[_cT] ?? generateIdempotencyToken(), - }); - b.bp("/2020-08-01/studios/{studioId}/studio-components/{studioComponentId}"); - b.p("studioComponentId", () => input.studioComponentId!, "{studioComponentId}", false); - b.p("studioId", () => input.studioId!, "{studioId}", false); - let body: any; - body = JSON.stringify( - take(input, { - configuration: (_) => _json(_), - description: [], - ec2SecurityGroupIds: (_) => _json(_), - initializationScripts: (_) => _json(_), - name: [], - runtimeRoleArn: [], - scriptParameters: (_) => _json(_), - secureInitializationRoleArn: [], - subtype: [], - type: [], - }) - ); - b.m("PATCH").h(headers).b(body); - return b.build(); -}; - -/** - * deserializeAws_restJson1AcceptEulasCommand - */ -export const de_AcceptEulasCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - eulaAcceptances: (_) => de_EulaAcceptanceList(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1CreateLaunchProfileCommand - */ -export const de_CreateLaunchProfileCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - launchProfile: (_) => de_LaunchProfile(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1CreateStreamingImageCommand - */ -export const de_CreateStreamingImageCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - streamingImage: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1CreateStreamingSessionCommand - */ -export const de_CreateStreamingSessionCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - session: (_) => de_StreamingSession(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1CreateStreamingSessionStreamCommand - */ -export const de_CreateStreamingSessionStreamCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - stream: (_) => de_StreamingSessionStream(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1CreateStudioCommand - */ -export const de_CreateStudioCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - studio: (_) => de_Studio(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1CreateStudioComponentCommand - */ -export const de_CreateStudioComponentCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - studioComponent: (_) => de_StudioComponent(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1DeleteLaunchProfileCommand - */ -export const de_DeleteLaunchProfileCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - launchProfile: (_) => de_LaunchProfile(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1DeleteLaunchProfileMemberCommand - */ -export const de_DeleteLaunchProfileMemberCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; - -/** - * deserializeAws_restJson1DeleteStreamingImageCommand - */ -export const de_DeleteStreamingImageCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - streamingImage: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1DeleteStreamingSessionCommand - */ -export const de_DeleteStreamingSessionCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - session: (_) => de_StreamingSession(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1DeleteStudioCommand - */ -export const de_DeleteStudioCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - studio: (_) => de_Studio(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1DeleteStudioComponentCommand - */ -export const de_DeleteStudioComponentCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - studioComponent: (_) => de_StudioComponent(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1DeleteStudioMemberCommand - */ -export const de_DeleteStudioMemberCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; - -/** - * deserializeAws_restJson1GetEulaCommand - */ -export const de_GetEulaCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - eula: (_) => de_Eula(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1GetLaunchProfileCommand - */ -export const de_GetLaunchProfileCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - launchProfile: (_) => de_LaunchProfile(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1GetLaunchProfileDetailsCommand - */ -export const de_GetLaunchProfileDetailsCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - launchProfile: (_) => de_LaunchProfile(_, context), - streamingImages: _json, - studioComponentSummaries: (_) => de_StudioComponentSummaryList(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1GetLaunchProfileInitializationCommand - */ -export const de_GetLaunchProfileInitializationCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - launchProfileInitialization: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1GetLaunchProfileMemberCommand - */ -export const de_GetLaunchProfileMemberCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - member: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1GetStreamingImageCommand - */ -export const de_GetStreamingImageCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - streamingImage: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1GetStreamingSessionCommand - */ -export const de_GetStreamingSessionCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - session: (_) => de_StreamingSession(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1GetStreamingSessionBackupCommand - */ -export const de_GetStreamingSessionBackupCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - streamingSessionBackup: (_) => de_StreamingSessionBackup(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1GetStreamingSessionStreamCommand - */ -export const de_GetStreamingSessionStreamCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - stream: (_) => de_StreamingSessionStream(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1GetStudioCommand - */ -export const de_GetStudioCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - studio: (_) => de_Studio(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1GetStudioComponentCommand - */ -export const de_GetStudioComponentCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - studioComponent: (_) => de_StudioComponent(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1GetStudioMemberCommand - */ -export const de_GetStudioMemberCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - member: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1ListEulaAcceptancesCommand - */ -export const de_ListEulaAcceptancesCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - eulaAcceptances: (_) => de_EulaAcceptanceList(_, context), - nextToken: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1ListEulasCommand - */ -export const de_ListEulasCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - eulas: (_) => de_EulaList(_, context), - nextToken: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1ListLaunchProfileMembersCommand - */ -export const de_ListLaunchProfileMembersCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - members: _json, - nextToken: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1ListLaunchProfilesCommand - */ -export const de_ListLaunchProfilesCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - launchProfiles: (_) => de_LaunchProfileList(_, context), - nextToken: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1ListStreamingImagesCommand - */ -export const de_ListStreamingImagesCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - nextToken: __expectString, - streamingImages: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1ListStreamingSessionBackupsCommand - */ -export const de_ListStreamingSessionBackupsCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - nextToken: __expectString, - streamingSessionBackups: (_) => de_StreamingSessionBackupList(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1ListStreamingSessionsCommand - */ -export const de_ListStreamingSessionsCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - nextToken: __expectString, - sessions: (_) => de_StreamingSessionList(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1ListStudioComponentsCommand - */ -export const de_ListStudioComponentsCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - nextToken: __expectString, - studioComponents: (_) => de_StudioComponentList(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1ListStudioMembersCommand - */ -export const de_ListStudioMembersCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - members: _json, - nextToken: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1ListStudiosCommand - */ -export const de_ListStudiosCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - nextToken: __expectString, - studios: (_) => de_StudioList(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1ListTagsForResourceCommand - */ -export const de_ListTagsForResourceCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - tags: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1PutLaunchProfileMembersCommand - */ -export const de_PutLaunchProfileMembersCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; - -/** - * deserializeAws_restJson1PutStudioMembersCommand - */ -export const de_PutStudioMembersCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; - -/** - * deserializeAws_restJson1StartStreamingSessionCommand - */ -export const de_StartStreamingSessionCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - session: (_) => de_StreamingSession(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1StartStudioSSOConfigurationRepairCommand - */ -export const de_StartStudioSSOConfigurationRepairCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - studio: (_) => de_Studio(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1StopStreamingSessionCommand - */ -export const de_StopStreamingSessionCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - session: (_) => de_StreamingSession(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1TagResourceCommand - */ -export const de_TagResourceCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; - -/** - * deserializeAws_restJson1UntagResourceCommand - */ -export const de_UntagResourceCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; - -/** - * deserializeAws_restJson1UpdateLaunchProfileCommand - */ -export const de_UpdateLaunchProfileCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - launchProfile: (_) => de_LaunchProfile(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1UpdateLaunchProfileMemberCommand - */ -export const de_UpdateLaunchProfileMemberCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - member: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1UpdateStreamingImageCommand - */ -export const de_UpdateStreamingImageCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - streamingImage: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1UpdateStudioCommand - */ -export const de_UpdateStudioCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - studio: (_) => de_Studio(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1UpdateStudioComponentCommand - */ -export const de_UpdateStudioComponentCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - studioComponent: (_) => de_StudioComponent(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserialize_Aws_restJson1CommandError - */ -const de_CommandError = async (output: __HttpResponse, context: __SerdeContext): Promise => { - const parsedOutput: any = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "AccessDeniedException": - case "com.amazonaws.nimble#AccessDeniedException": - throw await de_AccessDeniedExceptionRes(parsedOutput, context); - case "ConflictException": - case "com.amazonaws.nimble#ConflictException": - throw await de_ConflictExceptionRes(parsedOutput, context); - case "InternalServerErrorException": - case "com.amazonaws.nimble#InternalServerErrorException": - throw await de_InternalServerErrorExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.nimble#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceQuotaExceededException": - case "com.amazonaws.nimble#ServiceQuotaExceededException": - throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context); - case "ThrottlingException": - case "com.amazonaws.nimble#ThrottlingException": - throw await de_ThrottlingExceptionRes(parsedOutput, context); - case "ValidationException": - case "com.amazonaws.nimble#ValidationException": - throw await de_ValidationExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }) as never; - } -}; - -const throwDefaultError = withBaseException(__BaseException); -/** - * deserializeAws_restJson1AccessDeniedExceptionRes - */ -const de_AccessDeniedExceptionRes = async ( - parsedOutput: any, - context: __SerdeContext -): Promise => { - const contents: any = map({}); - const data: any = parsedOutput.body; - const doc = take(data, { - code: __expectString, - context: _json, - message: __expectString, - }); - Object.assign(contents, doc); - const exception = new AccessDeniedException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; - -/** - * deserializeAws_restJson1ConflictExceptionRes - */ -const de_ConflictExceptionRes = async (parsedOutput: any, context: __SerdeContext): Promise => { - const contents: any = map({}); - const data: any = parsedOutput.body; - const doc = take(data, { - code: __expectString, - context: _json, - message: __expectString, - }); - Object.assign(contents, doc); - const exception = new ConflictException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; - -/** - * deserializeAws_restJson1InternalServerErrorExceptionRes - */ -const de_InternalServerErrorExceptionRes = async ( - parsedOutput: any, - context: __SerdeContext -): Promise => { - const contents: any = map({}); - const data: any = parsedOutput.body; - const doc = take(data, { - code: __expectString, - context: _json, - message: __expectString, - }); - Object.assign(contents, doc); - const exception = new InternalServerErrorException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; - -/** - * deserializeAws_restJson1ResourceNotFoundExceptionRes - */ -const de_ResourceNotFoundExceptionRes = async ( - parsedOutput: any, - context: __SerdeContext -): Promise => { - const contents: any = map({}); - const data: any = parsedOutput.body; - const doc = take(data, { - code: __expectString, - context: _json, - message: __expectString, - }); - Object.assign(contents, doc); - const exception = new ResourceNotFoundException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; - -/** - * deserializeAws_restJson1ServiceQuotaExceededExceptionRes - */ -const de_ServiceQuotaExceededExceptionRes = async ( - parsedOutput: any, - context: __SerdeContext -): Promise => { - const contents: any = map({}); - const data: any = parsedOutput.body; - const doc = take(data, { - code: __expectString, - context: _json, - message: __expectString, - }); - Object.assign(contents, doc); - const exception = new ServiceQuotaExceededException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; - -/** - * deserializeAws_restJson1ThrottlingExceptionRes - */ -const de_ThrottlingExceptionRes = async (parsedOutput: any, context: __SerdeContext): Promise => { - const contents: any = map({}); - const data: any = parsedOutput.body; - const doc = take(data, { - code: __expectString, - context: _json, - message: __expectString, - }); - Object.assign(contents, doc); - const exception = new ThrottlingException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; - -/** - * deserializeAws_restJson1ValidationExceptionRes - */ -const de_ValidationExceptionRes = async (parsedOutput: any, context: __SerdeContext): Promise => { - const contents: any = map({}); - const data: any = parsedOutput.body; - const doc = take(data, { - code: __expectString, - context: _json, - message: __expectString, - }); - Object.assign(contents, doc); - const exception = new ValidationException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; - -// se_ActiveDirectoryComputerAttribute omitted. - -// se_ActiveDirectoryComputerAttributeList omitted. - -// se_ActiveDirectoryConfiguration omitted. - -// se_ComputeFarmConfiguration omitted. - -// se_EC2SubnetIdList omitted. - -// se_EulaIdList omitted. - -// se_LaunchProfileProtocolVersionList omitted. - -// se_LaunchProfileStudioComponentIdList omitted. - -// se_LicenseServiceConfiguration omitted. - -// se_NewLaunchProfileMember omitted. - -// se_NewLaunchProfileMemberList omitted. - -// se_NewStudioMember omitted. - -// se_NewStudioMemberList omitted. - -// se_ScriptParameterKeyValue omitted. - -// se_SharedFileSystemConfiguration omitted. - -// se_StreamConfigurationCreate omitted. - -// se_StreamConfigurationSessionBackup omitted. - -// se_StreamConfigurationSessionStorage omitted. - -// se_StreamingImageIdList omitted. - -// se_StreamingInstanceTypeList omitted. - -// se_StreamingSessionStorageModeList omitted. - -// se_StreamingSessionStorageRoot omitted. - -// se_StudioComponentConfiguration omitted. - -// se_StudioComponentInitializationScript omitted. - -// se_StudioComponentInitializationScriptList omitted. - -// se_StudioComponentScriptParameterKeyValueList omitted. - -// se_StudioComponentSecurityGroupIdList omitted. - -// se_StudioEncryptionConfiguration omitted. - -// se_Tags omitted. - -// se_VolumeConfiguration omitted. - -// de_ActiveDirectoryComputerAttribute omitted. - -// de_ActiveDirectoryComputerAttributeList omitted. - -// de_ActiveDirectoryConfiguration omitted. - -// de_ActiveDirectoryDnsIpAddressList omitted. - -// de_ComputeFarmConfiguration omitted. - -// de_EC2SubnetIdList omitted. - -/** - * deserializeAws_restJson1Eula - */ -const de_Eula = (output: any, context: __SerdeContext): Eula => { - return take(output, { - content: __expectString, - createdAt: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), - eulaId: __expectString, - name: __expectString, - updatedAt: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), - }) as any; -}; - -/** - * deserializeAws_restJson1EulaAcceptance - */ -const de_EulaAcceptance = (output: any, context: __SerdeContext): EulaAcceptance => { - return take(output, { - acceptedAt: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), - acceptedBy: __expectString, - accepteeId: __expectString, - eulaAcceptanceId: __expectString, - eulaId: __expectString, - }) as any; -}; - -/** - * deserializeAws_restJson1EulaAcceptanceList - */ -const de_EulaAcceptanceList = (output: any, context: __SerdeContext): EulaAcceptance[] => { - const retVal = (output || []) - .filter((e: any) => e != null) - .map((entry: any) => { - return de_EulaAcceptance(entry, context); - }); - return retVal; -}; - -// de_EulaIdList omitted. - -/** - * deserializeAws_restJson1EulaList - */ -const de_EulaList = (output: any, context: __SerdeContext): Eula[] => { - const retVal = (output || []) - .filter((e: any) => e != null) - .map((entry: any) => { - return de_Eula(entry, context); - }); - return retVal; -}; - -// de_ExceptionContext omitted. - -/** - * deserializeAws_restJson1LaunchProfile - */ -const de_LaunchProfile = (output: any, context: __SerdeContext): LaunchProfile => { - return take(output, { - arn: __expectString, - createdAt: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), - createdBy: __expectString, - description: __expectString, - ec2SubnetIds: _json, - launchProfileId: __expectString, - launchProfileProtocolVersions: _json, - name: __expectString, - state: __expectString, - statusCode: __expectString, - statusMessage: __expectString, - streamConfiguration: _json, - studioComponentIds: _json, - tags: _json, - updatedAt: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), - updatedBy: __expectString, - validationResults: _json, - }) as any; -}; - -// de_LaunchProfileInitialization omitted. - -// de_LaunchProfileInitializationActiveDirectory omitted. - -// de_LaunchProfileInitializationScript omitted. - -// de_LaunchProfileInitializationScriptList omitted. - -/** - * deserializeAws_restJson1LaunchProfileList - */ -const de_LaunchProfileList = (output: any, context: __SerdeContext): LaunchProfile[] => { - const retVal = (output || []) - .filter((e: any) => e != null) - .map((entry: any) => { - return de_LaunchProfile(entry, context); - }); - return retVal; -}; - -// de_LaunchProfileMembership omitted. - -// de_LaunchProfileMembershipList omitted. - -// de_LaunchProfileProtocolVersionList omitted. - -// de_LaunchProfileSecurityGroupIdList omitted. - -// de_LaunchProfileStudioComponentIdList omitted. - -// de_LicenseServiceConfiguration omitted. - -// de_ScriptParameterKeyValue omitted. - -// de_SharedFileSystemConfiguration omitted. - -// de_StreamConfiguration omitted. - -// de_StreamConfigurationSessionBackup omitted. - -// de_StreamConfigurationSessionStorage omitted. - -// de_StreamingImage omitted. - -// de_StreamingImageEncryptionConfiguration omitted. - -// de_StreamingImageIdList omitted. - -// de_StreamingImageList omitted. - -// de_StreamingInstanceTypeList omitted. - -/** - * deserializeAws_restJson1StreamingSession - */ -const de_StreamingSession = (output: any, context: __SerdeContext): StreamingSession => { - return take(output, { - arn: __expectString, - automaticTerminationMode: __expectString, - backupMode: __expectString, - createdAt: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), - createdBy: __expectString, - ec2InstanceType: __expectString, - launchProfileId: __expectString, - maxBackupsToRetain: __expectInt32, - ownedBy: __expectString, - sessionId: __expectString, - sessionPersistenceMode: __expectString, - startedAt: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), - startedBy: __expectString, - startedFromBackupId: __expectString, - state: __expectString, - statusCode: __expectString, - statusMessage: __expectString, - stopAt: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), - stoppedAt: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), - stoppedBy: __expectString, - streamingImageId: __expectString, - tags: _json, - terminateAt: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), - updatedAt: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), - updatedBy: __expectString, - volumeConfiguration: _json, - volumeRetentionMode: __expectString, - }) as any; -}; - -/** - * deserializeAws_restJson1StreamingSessionBackup - */ -const de_StreamingSessionBackup = (output: any, context: __SerdeContext): StreamingSessionBackup => { - return take(output, { - arn: __expectString, - backupId: __expectString, - createdAt: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), - launchProfileId: __expectString, - ownedBy: __expectString, - sessionId: __expectString, - state: __expectString, - statusCode: __expectString, - statusMessage: __expectString, - tags: _json, - }) as any; -}; - -/** - * deserializeAws_restJson1StreamingSessionBackupList - */ -const de_StreamingSessionBackupList = (output: any, context: __SerdeContext): StreamingSessionBackup[] => { - const retVal = (output || []) - .filter((e: any) => e != null) - .map((entry: any) => { - return de_StreamingSessionBackup(entry, context); - }); - return retVal; -}; - -/** - * deserializeAws_restJson1StreamingSessionList - */ -const de_StreamingSessionList = (output: any, context: __SerdeContext): StreamingSession[] => { - const retVal = (output || []) - .filter((e: any) => e != null) - .map((entry: any) => { - return de_StreamingSession(entry, context); - }); - return retVal; -}; - -// de_StreamingSessionStorageModeList omitted. - -// de_StreamingSessionStorageRoot omitted. - -/** - * deserializeAws_restJson1StreamingSessionStream - */ -const de_StreamingSessionStream = (output: any, context: __SerdeContext): StreamingSessionStream => { - return take(output, { - createdAt: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), - createdBy: __expectString, - expiresAt: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), - ownedBy: __expectString, - state: __expectString, - statusCode: __expectString, - streamId: __expectString, - url: __expectString, - }) as any; -}; - -/** - * deserializeAws_restJson1Studio - */ -const de_Studio = (output: any, context: __SerdeContext): Studio => { - return take(output, { - adminRoleArn: __expectString, - arn: __expectString, - createdAt: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), - displayName: __expectString, - homeRegion: __expectString, - ssoClientId: __expectString, - state: __expectString, - statusCode: __expectString, - statusMessage: __expectString, - studioEncryptionConfiguration: _json, - studioId: __expectString, - studioName: __expectString, - studioUrl: __expectString, - tags: _json, - updatedAt: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), - userRoleArn: __expectString, - }) as any; -}; - -/** - * deserializeAws_restJson1StudioComponent - */ -const de_StudioComponent = (output: any, context: __SerdeContext): StudioComponent => { - return take(output, { - arn: __expectString, - configuration: _json, - createdAt: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), - createdBy: __expectString, - description: __expectString, - ec2SecurityGroupIds: _json, - initializationScripts: _json, - name: __expectString, - runtimeRoleArn: __expectString, - scriptParameters: _json, - secureInitializationRoleArn: __expectString, - state: __expectString, - statusCode: __expectString, - statusMessage: __expectString, - studioComponentId: __expectString, - subtype: __expectString, - tags: _json, - type: __expectString, - updatedAt: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), - updatedBy: __expectString, - }) as any; -}; - -// de_StudioComponentConfiguration omitted. - -// de_StudioComponentInitializationScript omitted. - -// de_StudioComponentInitializationScriptList omitted. - -/** - * deserializeAws_restJson1StudioComponentList - */ -const de_StudioComponentList = (output: any, context: __SerdeContext): StudioComponent[] => { - const retVal = (output || []) - .filter((e: any) => e != null) - .map((entry: any) => { - return de_StudioComponent(entry, context); - }); - return retVal; -}; - -// de_StudioComponentScriptParameterKeyValueList omitted. - -// de_StudioComponentSecurityGroupIdList omitted. - -/** - * deserializeAws_restJson1StudioComponentSummary - */ -const de_StudioComponentSummary = (output: any, context: __SerdeContext): StudioComponentSummary => { - return take(output, { - createdAt: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), - createdBy: __expectString, - description: __expectString, - name: __expectString, - studioComponentId: __expectString, - subtype: __expectString, - type: __expectString, - updatedAt: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), - updatedBy: __expectString, - }) as any; -}; - -/** - * deserializeAws_restJson1StudioComponentSummaryList - */ -const de_StudioComponentSummaryList = (output: any, context: __SerdeContext): StudioComponentSummary[] => { - const retVal = (output || []) - .filter((e: any) => e != null) - .map((entry: any) => { - return de_StudioComponentSummary(entry, context); - }); - return retVal; -}; - -// de_StudioEncryptionConfiguration omitted. - -/** - * deserializeAws_restJson1StudioList - */ -const de_StudioList = (output: any, context: __SerdeContext): Studio[] => { - const retVal = (output || []) - .filter((e: any) => e != null) - .map((entry: any) => { - return de_Studio(entry, context); - }); - return retVal; -}; - -// de_StudioMembership omitted. - -// de_StudioMembershipList omitted. - -// de_Tags omitted. - -// de_ValidationResult omitted. - -// de_ValidationResults omitted. - -// de_VolumeConfiguration omitted. - -const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ - httpStatusCode: output.statusCode, - requestId: - output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"], - extendedRequestId: output.headers["x-amz-id-2"], - cfId: output.headers["x-amz-cf-id"], -}); - -// Encode Uint8Array data into string with utf-8. -const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => - collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); - -const _cB = "createdBy"; -const _cT = "clientToken"; -const _eI = "eulaIds"; -const _lP = "launchPurpose"; -const _lPPV = "launchProfileProtocolVersions"; -const _mR = "maxResults"; -const _nT = "nextToken"; -const _o = "owner"; -const _oB = "ownedBy"; -const _p = "platform"; -const _pI = "principalId"; -const _s = "states"; -const _sI = "sessionIds"; -const _t = "types"; -const _tK = "tagKeys"; -const _xact = "x-amz-client-token"; diff --git a/clients/client-nimble/src/runtimeConfig.browser.ts b/clients/client-nimble/src/runtimeConfig.browser.ts deleted file mode 100644 index 467bf51ac670..000000000000 --- a/clients/client-nimble/src/runtimeConfig.browser.ts +++ /dev/null @@ -1,44 +0,0 @@ -// smithy-typescript generated code -// @ts-ignore: package.json will be imported from dist folders -import packageInfo from "../package.json"; // eslint-disable-line - -import { Sha256 } from "@aws-crypto/sha256-browser"; -import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser"; -import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver"; -import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler"; -import { invalidProvider } from "@smithy/invalid-dependency"; -import { calculateBodyLength } from "@smithy/util-body-length-browser"; -import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry"; -import { NimbleClientConfig } from "./NimbleClient"; -import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared"; -import { loadConfigsForDefaultMode } from "@smithy/smithy-client"; -import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser"; - -/** - * @internal - */ -export const getRuntimeConfig = (config: NimbleClientConfig) => { - const defaultsMode = resolveDefaultsModeConfig(config); - const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode); - const clientSharedValues = getSharedRuntimeConfig(config); - return { - ...clientSharedValues, - ...config, - runtime: "browser", - defaultsMode, - bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? ((_: unknown) => () => Promise.reject(new Error("Credential is missing"))), - defaultUserAgentProvider: - config?.defaultUserAgentProvider ?? - createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), - maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS, - region: config?.region ?? invalidProvider("Region is missing"), - requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider), - retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE), - sha256: config?.sha256 ?? Sha256, - streamCollector: config?.streamCollector ?? streamCollector, - useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)), - useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)), - }; -}; diff --git a/clients/client-nimble/src/runtimeConfig.native.ts b/clients/client-nimble/src/runtimeConfig.native.ts deleted file mode 100644 index 3a9b61211706..000000000000 --- a/clients/client-nimble/src/runtimeConfig.native.ts +++ /dev/null @@ -1,18 +0,0 @@ -// smithy-typescript generated code -import { Sha256 } from "@aws-crypto/sha256-js"; - -import { NimbleClientConfig } from "./NimbleClient"; -import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser"; - -/** - * @internal - */ -export const getRuntimeConfig = (config: NimbleClientConfig) => { - const browserDefaults = getBrowserRuntimeConfig(config); - return { - ...browserDefaults, - ...config, - runtime: "react-native", - sha256: config?.sha256 ?? Sha256, - }; -}; diff --git a/clients/client-nimble/src/runtimeConfig.shared.ts b/clients/client-nimble/src/runtimeConfig.shared.ts deleted file mode 100644 index ce30cf1b0a3a..000000000000 --- a/clients/client-nimble/src/runtimeConfig.shared.ts +++ /dev/null @@ -1,38 +0,0 @@ -// smithy-typescript generated code -import { AwsSdkSigV4Signer } from "@aws-sdk/core"; -import { NoOpLogger } from "@smithy/smithy-client"; -import { IdentityProviderConfig } from "@smithy/types"; -import { parseUrl } from "@smithy/url-parser"; -import { fromBase64, toBase64 } from "@smithy/util-base64"; -import { fromUtf8, toUtf8 } from "@smithy/util-utf8"; - -import { defaultNimbleHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider"; -import { defaultEndpointResolver } from "./endpoint/endpointResolver"; -import { NimbleClientConfig } from "./NimbleClient"; - -/** - * @internal - */ -export const getRuntimeConfig = (config: NimbleClientConfig) => { - return { - apiVersion: "2020-08-01", - base64Decoder: config?.base64Decoder ?? fromBase64, - base64Encoder: config?.base64Encoder ?? toBase64, - disableHostPrefix: config?.disableHostPrefix ?? false, - endpointProvider: config?.endpointProvider ?? defaultEndpointResolver, - extensions: config?.extensions ?? [], - httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultNimbleHttpAuthSchemeProvider, - httpAuthSchemes: config?.httpAuthSchemes ?? [ - { - schemeId: "aws.auth#sigv4", - identityProvider: (ipc: IdentityProviderConfig) => ipc.getIdentityProvider("aws.auth#sigv4"), - signer: new AwsSdkSigV4Signer(), - }, - ], - logger: config?.logger ?? new NoOpLogger(), - serviceId: config?.serviceId ?? "nimble", - urlParser: config?.urlParser ?? parseUrl, - utf8Decoder: config?.utf8Decoder ?? fromUtf8, - utf8Encoder: config?.utf8Encoder ?? toUtf8, - }; -}; diff --git a/clients/client-nimble/src/runtimeConfig.ts b/clients/client-nimble/src/runtimeConfig.ts deleted file mode 100644 index 22192565bd8b..000000000000 --- a/clients/client-nimble/src/runtimeConfig.ts +++ /dev/null @@ -1,60 +0,0 @@ -// smithy-typescript generated code -// @ts-ignore: package.json will be imported from dist folders -import packageInfo from "../package.json"; // eslint-disable-line - -import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; -import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; -import { NODE_APP_ID_CONFIG_OPTIONS, createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-node"; -import { - NODE_REGION_CONFIG_FILE_OPTIONS, - NODE_REGION_CONFIG_OPTIONS, - NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, - NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, -} from "@smithy/config-resolver"; -import { Hash } from "@smithy/hash-node"; -import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry"; -import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider"; -import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler"; -import { calculateBodyLength } from "@smithy/util-body-length-node"; -import { DEFAULT_RETRY_MODE } from "@smithy/util-retry"; -import { NimbleClientConfig } from "./NimbleClient"; -import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared"; -import { loadConfigsForDefaultMode } from "@smithy/smithy-client"; -import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node"; -import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client"; - -/** - * @internal - */ -export const getRuntimeConfig = (config: NimbleClientConfig) => { - emitWarningIfUnsupportedVersion(process.version); - const defaultsMode = resolveDefaultsModeConfig(config); - const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode); - const clientSharedValues = getSharedRuntimeConfig(config); - awsCheckVersion(process.version); - return { - ...clientSharedValues, - ...config, - runtime: "node", - defaultsMode, - bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, - defaultUserAgentProvider: - config?.defaultUserAgentProvider ?? - createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), - maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), - region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), - requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider), - retryMode: - config?.retryMode ?? - loadNodeConfig({ - ...NODE_RETRY_MODE_CONFIG_OPTIONS, - default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE, - }), - sha256: config?.sha256 ?? Hash.bind(null, "sha256"), - streamCollector: config?.streamCollector ?? streamCollector, - useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), - useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), - userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS), - }; -}; diff --git a/clients/client-nimble/src/runtimeExtensions.ts b/clients/client-nimble/src/runtimeExtensions.ts deleted file mode 100644 index 15579c4013ff..000000000000 --- a/clients/client-nimble/src/runtimeExtensions.ts +++ /dev/null @@ -1,48 +0,0 @@ -// smithy-typescript generated code -import { - getAwsRegionExtensionConfiguration, - resolveAwsRegionExtensionConfiguration, -} from "@aws-sdk/region-config-resolver"; -import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http"; -import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client"; - -import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration"; -import { NimbleExtensionConfiguration } from "./extensionConfiguration"; - -/** - * @public - */ -export interface RuntimeExtension { - configure(extensionConfiguration: NimbleExtensionConfiguration): void; -} - -/** - * @public - */ -export interface RuntimeExtensionsConfig { - extensions: RuntimeExtension[]; -} - -const asPartial = >(t: T) => t; - -/** - * @internal - */ -export const resolveRuntimeExtensions = (runtimeConfig: any, extensions: RuntimeExtension[]) => { - const extensionConfiguration: NimbleExtensionConfiguration = { - ...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)), - ...asPartial(getDefaultExtensionConfiguration(runtimeConfig)), - ...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)), - ...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig)), - }; - - extensions.forEach((extension) => extension.configure(extensionConfiguration)); - - return { - ...runtimeConfig, - ...resolveAwsRegionExtensionConfiguration(extensionConfiguration), - ...resolveDefaultRuntimeConfig(extensionConfiguration), - ...resolveHttpHandlerRuntimeConfig(extensionConfiguration), - ...resolveHttpAuthRuntimeConfig(extensionConfiguration), - }; -}; diff --git a/clients/client-nimble/src/waiters/index.ts b/clients/client-nimble/src/waiters/index.ts deleted file mode 100644 index 4e32e358a253..000000000000 --- a/clients/client-nimble/src/waiters/index.ts +++ /dev/null @@ -1,13 +0,0 @@ -export * from "./waitForLaunchProfileDeleted"; -// smithy-typescript generated code -export * from "./waitForLaunchProfileReady"; -export * from "./waitForStreamingImageDeleted"; -export * from "./waitForStreamingImageReady"; -export * from "./waitForStreamingSessionDeleted"; -export * from "./waitForStreamingSessionReady"; -export * from "./waitForStreamingSessionStopped"; -export * from "./waitForStreamingSessionStreamReady"; -export * from "./waitForStudioComponentDeleted"; -export * from "./waitForStudioComponentReady"; -export * from "./waitForStudioDeleted"; -export * from "./waitForStudioReady"; diff --git a/clients/client-nimble/src/waiters/waitForLaunchProfileDeleted.ts b/clients/client-nimble/src/waiters/waitForLaunchProfileDeleted.ts deleted file mode 100644 index ace865c282e5..000000000000 --- a/clients/client-nimble/src/waiters/waitForLaunchProfileDeleted.ts +++ /dev/null @@ -1,56 +0,0 @@ -// smithy-typescript generated code -import { checkExceptions, createWaiter, WaiterConfiguration, WaiterResult, WaiterState } from "@smithy/util-waiter"; - -import { GetLaunchProfileCommand, GetLaunchProfileCommandInput } from "../commands/GetLaunchProfileCommand"; -import { NimbleClient } from "../NimbleClient"; - -const checkState = async (client: NimbleClient, input: GetLaunchProfileCommandInput): Promise => { - let reason; - try { - const result: any = await client.send(new GetLaunchProfileCommand(input)); - reason = result; - try { - const returnComparator = () => { - return result.launchProfile.state; - }; - if (returnComparator() === "DELETED") { - return { state: WaiterState.SUCCESS, reason }; - } - } catch (e) {} - try { - const returnComparator = () => { - return result.launchProfile.state; - }; - if (returnComparator() === "DELETE_FAILED") { - return { state: WaiterState.FAILURE, reason }; - } - } catch (e) {} - } catch (exception) { - reason = exception; - } - return { state: WaiterState.RETRY, reason }; -}; -/** - * Wait until a LaunchProfile is Deleted. Use this after invoking DeleteLaunchProfile - * @deprecated Use waitUntilLaunchProfileDeleted instead. waitForLaunchProfileDeleted does not throw error in non-success cases. - */ -export const waitForLaunchProfileDeleted = async ( - params: WaiterConfiguration, - input: GetLaunchProfileCommandInput -): Promise => { - const serviceDefaults = { minDelay: 5, maxDelay: 750 }; - return createWaiter({ ...serviceDefaults, ...params }, input, checkState); -}; -/** - * Wait until a LaunchProfile is Deleted. Use this after invoking DeleteLaunchProfile - * @param params - Waiter configuration options. - * @param input - The input to GetLaunchProfileCommand for polling. - */ -export const waitUntilLaunchProfileDeleted = async ( - params: WaiterConfiguration, - input: GetLaunchProfileCommandInput -): Promise => { - const serviceDefaults = { minDelay: 5, maxDelay: 750 }; - const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState); - return checkExceptions(result); -}; diff --git a/clients/client-nimble/src/waiters/waitForLaunchProfileReady.ts b/clients/client-nimble/src/waiters/waitForLaunchProfileReady.ts deleted file mode 100644 index 0ce589eac877..000000000000 --- a/clients/client-nimble/src/waiters/waitForLaunchProfileReady.ts +++ /dev/null @@ -1,64 +0,0 @@ -// smithy-typescript generated code -import { checkExceptions, createWaiter, WaiterConfiguration, WaiterResult, WaiterState } from "@smithy/util-waiter"; - -import { GetLaunchProfileCommand, GetLaunchProfileCommandInput } from "../commands/GetLaunchProfileCommand"; -import { NimbleClient } from "../NimbleClient"; - -const checkState = async (client: NimbleClient, input: GetLaunchProfileCommandInput): Promise => { - let reason; - try { - const result: any = await client.send(new GetLaunchProfileCommand(input)); - reason = result; - try { - const returnComparator = () => { - return result.launchProfile.state; - }; - if (returnComparator() === "READY") { - return { state: WaiterState.SUCCESS, reason }; - } - } catch (e) {} - try { - const returnComparator = () => { - return result.launchProfile.state; - }; - if (returnComparator() === "CREATE_FAILED") { - return { state: WaiterState.FAILURE, reason }; - } - } catch (e) {} - try { - const returnComparator = () => { - return result.launchProfile.state; - }; - if (returnComparator() === "UPDATE_FAILED") { - return { state: WaiterState.FAILURE, reason }; - } - } catch (e) {} - } catch (exception) { - reason = exception; - } - return { state: WaiterState.RETRY, reason }; -}; -/** - * Wait until a LaunchProfile is Ready. Use this after invoking CreateLaunchProfile or UpdateLaunchProfile - * @deprecated Use waitUntilLaunchProfileReady instead. waitForLaunchProfileReady does not throw error in non-success cases. - */ -export const waitForLaunchProfileReady = async ( - params: WaiterConfiguration, - input: GetLaunchProfileCommandInput -): Promise => { - const serviceDefaults = { minDelay: 5, maxDelay: 750 }; - return createWaiter({ ...serviceDefaults, ...params }, input, checkState); -}; -/** - * Wait until a LaunchProfile is Ready. Use this after invoking CreateLaunchProfile or UpdateLaunchProfile - * @param params - Waiter configuration options. - * @param input - The input to GetLaunchProfileCommand for polling. - */ -export const waitUntilLaunchProfileReady = async ( - params: WaiterConfiguration, - input: GetLaunchProfileCommandInput -): Promise => { - const serviceDefaults = { minDelay: 5, maxDelay: 750 }; - const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState); - return checkExceptions(result); -}; diff --git a/clients/client-nimble/src/waiters/waitForStreamingImageDeleted.ts b/clients/client-nimble/src/waiters/waitForStreamingImageDeleted.ts deleted file mode 100644 index 15ed5351c7cc..000000000000 --- a/clients/client-nimble/src/waiters/waitForStreamingImageDeleted.ts +++ /dev/null @@ -1,56 +0,0 @@ -// smithy-typescript generated code -import { checkExceptions, createWaiter, WaiterConfiguration, WaiterResult, WaiterState } from "@smithy/util-waiter"; - -import { GetStreamingImageCommand, GetStreamingImageCommandInput } from "../commands/GetStreamingImageCommand"; -import { NimbleClient } from "../NimbleClient"; - -const checkState = async (client: NimbleClient, input: GetStreamingImageCommandInput): Promise => { - let reason; - try { - const result: any = await client.send(new GetStreamingImageCommand(input)); - reason = result; - try { - const returnComparator = () => { - return result.streamingImage.state; - }; - if (returnComparator() === "DELETED") { - return { state: WaiterState.SUCCESS, reason }; - } - } catch (e) {} - try { - const returnComparator = () => { - return result.streamingImage.state; - }; - if (returnComparator() === "DELETE_FAILED") { - return { state: WaiterState.FAILURE, reason }; - } - } catch (e) {} - } catch (exception) { - reason = exception; - } - return { state: WaiterState.RETRY, reason }; -}; -/** - * Wait until a StreamingImage Deleted. Use this after invoking DeleteStreamingImage - * @deprecated Use waitUntilStreamingImageDeleted instead. waitForStreamingImageDeleted does not throw error in non-success cases. - */ -export const waitForStreamingImageDeleted = async ( - params: WaiterConfiguration, - input: GetStreamingImageCommandInput -): Promise => { - const serviceDefaults = { minDelay: 2, maxDelay: 120 }; - return createWaiter({ ...serviceDefaults, ...params }, input, checkState); -}; -/** - * Wait until a StreamingImage Deleted. Use this after invoking DeleteStreamingImage - * @param params - Waiter configuration options. - * @param input - The input to GetStreamingImageCommand for polling. - */ -export const waitUntilStreamingImageDeleted = async ( - params: WaiterConfiguration, - input: GetStreamingImageCommandInput -): Promise => { - const serviceDefaults = { minDelay: 2, maxDelay: 120 }; - const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState); - return checkExceptions(result); -}; diff --git a/clients/client-nimble/src/waiters/waitForStreamingImageReady.ts b/clients/client-nimble/src/waiters/waitForStreamingImageReady.ts deleted file mode 100644 index fc977606c442..000000000000 --- a/clients/client-nimble/src/waiters/waitForStreamingImageReady.ts +++ /dev/null @@ -1,64 +0,0 @@ -// smithy-typescript generated code -import { checkExceptions, createWaiter, WaiterConfiguration, WaiterResult, WaiterState } from "@smithy/util-waiter"; - -import { GetStreamingImageCommand, GetStreamingImageCommandInput } from "../commands/GetStreamingImageCommand"; -import { NimbleClient } from "../NimbleClient"; - -const checkState = async (client: NimbleClient, input: GetStreamingImageCommandInput): Promise => { - let reason; - try { - const result: any = await client.send(new GetStreamingImageCommand(input)); - reason = result; - try { - const returnComparator = () => { - return result.streamingImage.state; - }; - if (returnComparator() === "READY") { - return { state: WaiterState.SUCCESS, reason }; - } - } catch (e) {} - try { - const returnComparator = () => { - return result.streamingImage.state; - }; - if (returnComparator() === "CREATE_FAILED") { - return { state: WaiterState.FAILURE, reason }; - } - } catch (e) {} - try { - const returnComparator = () => { - return result.streamingImage.state; - }; - if (returnComparator() === "UPDATE_FAILED") { - return { state: WaiterState.FAILURE, reason }; - } - } catch (e) {} - } catch (exception) { - reason = exception; - } - return { state: WaiterState.RETRY, reason }; -}; -/** - * Wait until a StreamingImage is Ready. Use this after invoking CreateStreamingImage or UpdateStreamingImage - * @deprecated Use waitUntilStreamingImageReady instead. waitForStreamingImageReady does not throw error in non-success cases. - */ -export const waitForStreamingImageReady = async ( - params: WaiterConfiguration, - input: GetStreamingImageCommandInput -): Promise => { - const serviceDefaults = { minDelay: 2, maxDelay: 120 }; - return createWaiter({ ...serviceDefaults, ...params }, input, checkState); -}; -/** - * Wait until a StreamingImage is Ready. Use this after invoking CreateStreamingImage or UpdateStreamingImage - * @param params - Waiter configuration options. - * @param input - The input to GetStreamingImageCommand for polling. - */ -export const waitUntilStreamingImageReady = async ( - params: WaiterConfiguration, - input: GetStreamingImageCommandInput -): Promise => { - const serviceDefaults = { minDelay: 2, maxDelay: 120 }; - const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState); - return checkExceptions(result); -}; diff --git a/clients/client-nimble/src/waiters/waitForStreamingSessionDeleted.ts b/clients/client-nimble/src/waiters/waitForStreamingSessionDeleted.ts deleted file mode 100644 index f0d348b4110c..000000000000 --- a/clients/client-nimble/src/waiters/waitForStreamingSessionDeleted.ts +++ /dev/null @@ -1,56 +0,0 @@ -// smithy-typescript generated code -import { checkExceptions, createWaiter, WaiterConfiguration, WaiterResult, WaiterState } from "@smithy/util-waiter"; - -import { GetStreamingSessionCommand, GetStreamingSessionCommandInput } from "../commands/GetStreamingSessionCommand"; -import { NimbleClient } from "../NimbleClient"; - -const checkState = async (client: NimbleClient, input: GetStreamingSessionCommandInput): Promise => { - let reason; - try { - const result: any = await client.send(new GetStreamingSessionCommand(input)); - reason = result; - try { - const returnComparator = () => { - return result.session.state; - }; - if (returnComparator() === "DELETED") { - return { state: WaiterState.SUCCESS, reason }; - } - } catch (e) {} - try { - const returnComparator = () => { - return result.session.state; - }; - if (returnComparator() === "DELETE_FAILED") { - return { state: WaiterState.FAILURE, reason }; - } - } catch (e) {} - } catch (exception) { - reason = exception; - } - return { state: WaiterState.RETRY, reason }; -}; -/** - * Wait until a StreamingSessionDeleted. Use this after invoking DeleteStreamingSession - * @deprecated Use waitUntilStreamingSessionDeleted instead. waitForStreamingSessionDeleted does not throw error in non-success cases. - */ -export const waitForStreamingSessionDeleted = async ( - params: WaiterConfiguration, - input: GetStreamingSessionCommandInput -): Promise => { - const serviceDefaults = { minDelay: 5, maxDelay: 900 }; - return createWaiter({ ...serviceDefaults, ...params }, input, checkState); -}; -/** - * Wait until a StreamingSessionDeleted. Use this after invoking DeleteStreamingSession - * @param params - Waiter configuration options. - * @param input - The input to GetStreamingSessionCommand for polling. - */ -export const waitUntilStreamingSessionDeleted = async ( - params: WaiterConfiguration, - input: GetStreamingSessionCommandInput -): Promise => { - const serviceDefaults = { minDelay: 5, maxDelay: 900 }; - const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState); - return checkExceptions(result); -}; diff --git a/clients/client-nimble/src/waiters/waitForStreamingSessionReady.ts b/clients/client-nimble/src/waiters/waitForStreamingSessionReady.ts deleted file mode 100644 index 57aa85d49571..000000000000 --- a/clients/client-nimble/src/waiters/waitForStreamingSessionReady.ts +++ /dev/null @@ -1,64 +0,0 @@ -// smithy-typescript generated code -import { checkExceptions, createWaiter, WaiterConfiguration, WaiterResult, WaiterState } from "@smithy/util-waiter"; - -import { GetStreamingSessionCommand, GetStreamingSessionCommandInput } from "../commands/GetStreamingSessionCommand"; -import { NimbleClient } from "../NimbleClient"; - -const checkState = async (client: NimbleClient, input: GetStreamingSessionCommandInput): Promise => { - let reason; - try { - const result: any = await client.send(new GetStreamingSessionCommand(input)); - reason = result; - try { - const returnComparator = () => { - return result.session.state; - }; - if (returnComparator() === "READY") { - return { state: WaiterState.SUCCESS, reason }; - } - } catch (e) {} - try { - const returnComparator = () => { - return result.session.state; - }; - if (returnComparator() === "CREATE_FAILED") { - return { state: WaiterState.FAILURE, reason }; - } - } catch (e) {} - try { - const returnComparator = () => { - return result.session.state; - }; - if (returnComparator() === "START_FAILED") { - return { state: WaiterState.FAILURE, reason }; - } - } catch (e) {} - } catch (exception) { - reason = exception; - } - return { state: WaiterState.RETRY, reason }; -}; -/** - * Wait until a StreamingSession is ready. Use this after invoking CreateStreamingSession, StartStreamingSession - * @deprecated Use waitUntilStreamingSessionReady instead. waitForStreamingSessionReady does not throw error in non-success cases. - */ -export const waitForStreamingSessionReady = async ( - params: WaiterConfiguration, - input: GetStreamingSessionCommandInput -): Promise => { - const serviceDefaults = { minDelay: 10, maxDelay: 1800 }; - return createWaiter({ ...serviceDefaults, ...params }, input, checkState); -}; -/** - * Wait until a StreamingSession is ready. Use this after invoking CreateStreamingSession, StartStreamingSession - * @param params - Waiter configuration options. - * @param input - The input to GetStreamingSessionCommand for polling. - */ -export const waitUntilStreamingSessionReady = async ( - params: WaiterConfiguration, - input: GetStreamingSessionCommandInput -): Promise => { - const serviceDefaults = { minDelay: 10, maxDelay: 1800 }; - const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState); - return checkExceptions(result); -}; diff --git a/clients/client-nimble/src/waiters/waitForStreamingSessionStopped.ts b/clients/client-nimble/src/waiters/waitForStreamingSessionStopped.ts deleted file mode 100644 index d48e517dafed..000000000000 --- a/clients/client-nimble/src/waiters/waitForStreamingSessionStopped.ts +++ /dev/null @@ -1,56 +0,0 @@ -// smithy-typescript generated code -import { checkExceptions, createWaiter, WaiterConfiguration, WaiterResult, WaiterState } from "@smithy/util-waiter"; - -import { GetStreamingSessionCommand, GetStreamingSessionCommandInput } from "../commands/GetStreamingSessionCommand"; -import { NimbleClient } from "../NimbleClient"; - -const checkState = async (client: NimbleClient, input: GetStreamingSessionCommandInput): Promise => { - let reason; - try { - const result: any = await client.send(new GetStreamingSessionCommand(input)); - reason = result; - try { - const returnComparator = () => { - return result.session.state; - }; - if (returnComparator() === "STOPPED") { - return { state: WaiterState.SUCCESS, reason }; - } - } catch (e) {} - try { - const returnComparator = () => { - return result.session.state; - }; - if (returnComparator() === "STOP_FAILED") { - return { state: WaiterState.FAILURE, reason }; - } - } catch (e) {} - } catch (exception) { - reason = exception; - } - return { state: WaiterState.RETRY, reason }; -}; -/** - * Wait until a StreamingSessionStopped. Use this after invoking StopStreamingSession - * @deprecated Use waitUntilStreamingSessionStopped instead. waitForStreamingSessionStopped does not throw error in non-success cases. - */ -export const waitForStreamingSessionStopped = async ( - params: WaiterConfiguration, - input: GetStreamingSessionCommandInput -): Promise => { - const serviceDefaults = { minDelay: 5, maxDelay: 900 }; - return createWaiter({ ...serviceDefaults, ...params }, input, checkState); -}; -/** - * Wait until a StreamingSessionStopped. Use this after invoking StopStreamingSession - * @param params - Waiter configuration options. - * @param input - The input to GetStreamingSessionCommand for polling. - */ -export const waitUntilStreamingSessionStopped = async ( - params: WaiterConfiguration, - input: GetStreamingSessionCommandInput -): Promise => { - const serviceDefaults = { minDelay: 5, maxDelay: 900 }; - const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState); - return checkExceptions(result); -}; diff --git a/clients/client-nimble/src/waiters/waitForStreamingSessionStreamReady.ts b/clients/client-nimble/src/waiters/waitForStreamingSessionStreamReady.ts deleted file mode 100644 index 48347d2826e4..000000000000 --- a/clients/client-nimble/src/waiters/waitForStreamingSessionStreamReady.ts +++ /dev/null @@ -1,62 +0,0 @@ -// smithy-typescript generated code -import { checkExceptions, createWaiter, WaiterConfiguration, WaiterResult, WaiterState } from "@smithy/util-waiter"; - -import { - GetStreamingSessionStreamCommand, - GetStreamingSessionStreamCommandInput, -} from "../commands/GetStreamingSessionStreamCommand"; -import { NimbleClient } from "../NimbleClient"; - -const checkState = async ( - client: NimbleClient, - input: GetStreamingSessionStreamCommandInput -): Promise => { - let reason; - try { - const result: any = await client.send(new GetStreamingSessionStreamCommand(input)); - reason = result; - try { - const returnComparator = () => { - return result.stream.state; - }; - if (returnComparator() === "READY") { - return { state: WaiterState.SUCCESS, reason }; - } - } catch (e) {} - try { - const returnComparator = () => { - return result.stream.state; - }; - if (returnComparator() === "CREATE_FAILED") { - return { state: WaiterState.FAILURE, reason }; - } - } catch (e) {} - } catch (exception) { - reason = exception; - } - return { state: WaiterState.RETRY, reason }; -}; -/** - * Wait until a StreamingSessionStream is ready. Use this after invoking CreateStreamingSessionStream - * @deprecated Use waitUntilStreamingSessionStreamReady instead. waitForStreamingSessionStreamReady does not throw error in non-success cases. - */ -export const waitForStreamingSessionStreamReady = async ( - params: WaiterConfiguration, - input: GetStreamingSessionStreamCommandInput -): Promise => { - const serviceDefaults = { minDelay: 5, maxDelay: 150 }; - return createWaiter({ ...serviceDefaults, ...params }, input, checkState); -}; -/** - * Wait until a StreamingSessionStream is ready. Use this after invoking CreateStreamingSessionStream - * @param params - Waiter configuration options. - * @param input - The input to GetStreamingSessionStreamCommand for polling. - */ -export const waitUntilStreamingSessionStreamReady = async ( - params: WaiterConfiguration, - input: GetStreamingSessionStreamCommandInput -): Promise => { - const serviceDefaults = { minDelay: 5, maxDelay: 150 }; - const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState); - return checkExceptions(result); -}; diff --git a/clients/client-nimble/src/waiters/waitForStudioComponentDeleted.ts b/clients/client-nimble/src/waiters/waitForStudioComponentDeleted.ts deleted file mode 100644 index 1a923648ab76..000000000000 --- a/clients/client-nimble/src/waiters/waitForStudioComponentDeleted.ts +++ /dev/null @@ -1,56 +0,0 @@ -// smithy-typescript generated code -import { checkExceptions, createWaiter, WaiterConfiguration, WaiterResult, WaiterState } from "@smithy/util-waiter"; - -import { GetStudioComponentCommand, GetStudioComponentCommandInput } from "../commands/GetStudioComponentCommand"; -import { NimbleClient } from "../NimbleClient"; - -const checkState = async (client: NimbleClient, input: GetStudioComponentCommandInput): Promise => { - let reason; - try { - const result: any = await client.send(new GetStudioComponentCommand(input)); - reason = result; - try { - const returnComparator = () => { - return result.studioComponent.state; - }; - if (returnComparator() === "DELETED") { - return { state: WaiterState.SUCCESS, reason }; - } - } catch (e) {} - try { - const returnComparator = () => { - return result.studioComponent.state; - }; - if (returnComparator() === "DELETE_FAILED") { - return { state: WaiterState.FAILURE, reason }; - } - } catch (e) {} - } catch (exception) { - reason = exception; - } - return { state: WaiterState.RETRY, reason }; -}; -/** - * Wait until a StudioComponent Deleted. Use this after invoking DeleteStudioComponent - * @deprecated Use waitUntilStudioComponentDeleted instead. waitForStudioComponentDeleted does not throw error in non-success cases. - */ -export const waitForStudioComponentDeleted = async ( - params: WaiterConfiguration, - input: GetStudioComponentCommandInput -): Promise => { - const serviceDefaults = { minDelay: 1, maxDelay: 120 }; - return createWaiter({ ...serviceDefaults, ...params }, input, checkState); -}; -/** - * Wait until a StudioComponent Deleted. Use this after invoking DeleteStudioComponent - * @param params - Waiter configuration options. - * @param input - The input to GetStudioComponentCommand for polling. - */ -export const waitUntilStudioComponentDeleted = async ( - params: WaiterConfiguration, - input: GetStudioComponentCommandInput -): Promise => { - const serviceDefaults = { minDelay: 1, maxDelay: 120 }; - const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState); - return checkExceptions(result); -}; diff --git a/clients/client-nimble/src/waiters/waitForStudioComponentReady.ts b/clients/client-nimble/src/waiters/waitForStudioComponentReady.ts deleted file mode 100644 index ffc685de1da5..000000000000 --- a/clients/client-nimble/src/waiters/waitForStudioComponentReady.ts +++ /dev/null @@ -1,64 +0,0 @@ -// smithy-typescript generated code -import { checkExceptions, createWaiter, WaiterConfiguration, WaiterResult, WaiterState } from "@smithy/util-waiter"; - -import { GetStudioComponentCommand, GetStudioComponentCommandInput } from "../commands/GetStudioComponentCommand"; -import { NimbleClient } from "../NimbleClient"; - -const checkState = async (client: NimbleClient, input: GetStudioComponentCommandInput): Promise => { - let reason; - try { - const result: any = await client.send(new GetStudioComponentCommand(input)); - reason = result; - try { - const returnComparator = () => { - return result.studioComponent.state; - }; - if (returnComparator() === "READY") { - return { state: WaiterState.SUCCESS, reason }; - } - } catch (e) {} - try { - const returnComparator = () => { - return result.studioComponent.state; - }; - if (returnComparator() === "CREATE_FAILED") { - return { state: WaiterState.FAILURE, reason }; - } - } catch (e) {} - try { - const returnComparator = () => { - return result.studioComponent.state; - }; - if (returnComparator() === "UPDATE_FAILED") { - return { state: WaiterState.FAILURE, reason }; - } - } catch (e) {} - } catch (exception) { - reason = exception; - } - return { state: WaiterState.RETRY, reason }; -}; -/** - * Wait until a StudioComponent is Ready. Use this after invoking CreateStudioComponent or UpdateStudioComponent - * @deprecated Use waitUntilStudioComponentReady instead. waitForStudioComponentReady does not throw error in non-success cases. - */ -export const waitForStudioComponentReady = async ( - params: WaiterConfiguration, - input: GetStudioComponentCommandInput -): Promise => { - const serviceDefaults = { minDelay: 2, maxDelay: 120 }; - return createWaiter({ ...serviceDefaults, ...params }, input, checkState); -}; -/** - * Wait until a StudioComponent is Ready. Use this after invoking CreateStudioComponent or UpdateStudioComponent - * @param params - Waiter configuration options. - * @param input - The input to GetStudioComponentCommand for polling. - */ -export const waitUntilStudioComponentReady = async ( - params: WaiterConfiguration, - input: GetStudioComponentCommandInput -): Promise => { - const serviceDefaults = { minDelay: 2, maxDelay: 120 }; - const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState); - return checkExceptions(result); -}; diff --git a/clients/client-nimble/src/waiters/waitForStudioDeleted.ts b/clients/client-nimble/src/waiters/waitForStudioDeleted.ts deleted file mode 100644 index 5605b54b23f9..000000000000 --- a/clients/client-nimble/src/waiters/waitForStudioDeleted.ts +++ /dev/null @@ -1,56 +0,0 @@ -// smithy-typescript generated code -import { checkExceptions, createWaiter, WaiterConfiguration, WaiterResult, WaiterState } from "@smithy/util-waiter"; - -import { GetStudioCommand, GetStudioCommandInput } from "../commands/GetStudioCommand"; -import { NimbleClient } from "../NimbleClient"; - -const checkState = async (client: NimbleClient, input: GetStudioCommandInput): Promise => { - let reason; - try { - const result: any = await client.send(new GetStudioCommand(input)); - reason = result; - try { - const returnComparator = () => { - return result.studio.state; - }; - if (returnComparator() === "DELETED") { - return { state: WaiterState.SUCCESS, reason }; - } - } catch (e) {} - try { - const returnComparator = () => { - return result.studio.state; - }; - if (returnComparator() === "DELETE_FAILED") { - return { state: WaiterState.FAILURE, reason }; - } - } catch (e) {} - } catch (exception) { - reason = exception; - } - return { state: WaiterState.RETRY, reason }; -}; -/** - * Wait until a Studio is Deleted. Use this after invoking DeleteStudio. - * @deprecated Use waitUntilStudioDeleted instead. waitForStudioDeleted does not throw error in non-success cases. - */ -export const waitForStudioDeleted = async ( - params: WaiterConfiguration, - input: GetStudioCommandInput -): Promise => { - const serviceDefaults = { minDelay: 2, maxDelay: 120 }; - return createWaiter({ ...serviceDefaults, ...params }, input, checkState); -}; -/** - * Wait until a Studio is Deleted. Use this after invoking DeleteStudio. - * @param params - Waiter configuration options. - * @param input - The input to GetStudioCommand for polling. - */ -export const waitUntilStudioDeleted = async ( - params: WaiterConfiguration, - input: GetStudioCommandInput -): Promise => { - const serviceDefaults = { minDelay: 2, maxDelay: 120 }; - const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState); - return checkExceptions(result); -}; diff --git a/clients/client-nimble/src/waiters/waitForStudioReady.ts b/clients/client-nimble/src/waiters/waitForStudioReady.ts deleted file mode 100644 index 27974b5c73a4..000000000000 --- a/clients/client-nimble/src/waiters/waitForStudioReady.ts +++ /dev/null @@ -1,64 +0,0 @@ -// smithy-typescript generated code -import { checkExceptions, createWaiter, WaiterConfiguration, WaiterResult, WaiterState } from "@smithy/util-waiter"; - -import { GetStudioCommand, GetStudioCommandInput } from "../commands/GetStudioCommand"; -import { NimbleClient } from "../NimbleClient"; - -const checkState = async (client: NimbleClient, input: GetStudioCommandInput): Promise => { - let reason; - try { - const result: any = await client.send(new GetStudioCommand(input)); - reason = result; - try { - const returnComparator = () => { - return result.studio.state; - }; - if (returnComparator() === "READY") { - return { state: WaiterState.SUCCESS, reason }; - } - } catch (e) {} - try { - const returnComparator = () => { - return result.studio.state; - }; - if (returnComparator() === "CREATE_FAILED") { - return { state: WaiterState.FAILURE, reason }; - } - } catch (e) {} - try { - const returnComparator = () => { - return result.studio.state; - }; - if (returnComparator() === "UPDATE_FAILED") { - return { state: WaiterState.FAILURE, reason }; - } - } catch (e) {} - } catch (exception) { - reason = exception; - } - return { state: WaiterState.RETRY, reason }; -}; -/** - * Wait until a Studio is Ready. Use this after invoking CreateStudio, UpdateStudio, or StartStudioSSOConfigurationRepair - * @deprecated Use waitUntilStudioReady instead. waitForStudioReady does not throw error in non-success cases. - */ -export const waitForStudioReady = async ( - params: WaiterConfiguration, - input: GetStudioCommandInput -): Promise => { - const serviceDefaults = { minDelay: 2, maxDelay: 120 }; - return createWaiter({ ...serviceDefaults, ...params }, input, checkState); -}; -/** - * Wait until a Studio is Ready. Use this after invoking CreateStudio, UpdateStudio, or StartStudioSSOConfigurationRepair - * @param params - Waiter configuration options. - * @param input - The input to GetStudioCommand for polling. - */ -export const waitUntilStudioReady = async ( - params: WaiterConfiguration, - input: GetStudioCommandInput -): Promise => { - const serviceDefaults = { minDelay: 2, maxDelay: 120 }; - const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState); - return checkExceptions(result); -}; diff --git a/clients/client-nimble/tsconfig.cjs.json b/clients/client-nimble/tsconfig.cjs.json deleted file mode 100644 index 3567d85ba846..000000000000 --- a/clients/client-nimble/tsconfig.cjs.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig", - "compilerOptions": { - "outDir": "dist-cjs" - } -} diff --git a/clients/client-nimble/tsconfig.es.json b/clients/client-nimble/tsconfig.es.json deleted file mode 100644 index 809f57bde65e..000000000000 --- a/clients/client-nimble/tsconfig.es.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig", - "compilerOptions": { - "lib": ["dom"], - "module": "esnext", - "outDir": "dist-es" - } -} diff --git a/clients/client-nimble/tsconfig.json b/clients/client-nimble/tsconfig.json deleted file mode 100644 index e7f5ec56b742..000000000000 --- a/clients/client-nimble/tsconfig.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "extends": "@tsconfig/node16/tsconfig.json", - "compilerOptions": { - "downlevelIteration": true, - "importHelpers": true, - "incremental": true, - "removeComments": true, - "resolveJsonModule": true, - "rootDir": "src", - "useUnknownInCatchVariables": false - }, - "exclude": ["test/"] -} diff --git a/clients/client-nimble/tsconfig.types.json b/clients/client-nimble/tsconfig.types.json deleted file mode 100644 index 4c3dfa7b3d25..000000000000 --- a/clients/client-nimble/tsconfig.types.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "extends": "./tsconfig", - "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true - }, - "exclude": ["test/**/*", "dist-types/**/*"] -} diff --git a/codegen/sdk-codegen/aws-models/nimble.json b/codegen/sdk-codegen/aws-models/nimble.json deleted file mode 100644 index 6b8b48f3e1a7..000000000000 --- a/codegen/sdk-codegen/aws-models/nimble.json +++ /dev/null @@ -1,10261 +0,0 @@ -{ - "smithy": "2.0", - "shapes": { - "com.amazonaws.nimble#AcceptEulas": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#AcceptEulasRequest" - }, - "output": { - "target": "com.amazonaws.nimble#AcceptEulasResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to accept EULAs", - "smithy.api#documentation": "

Accept EULAs.

", - "smithy.api#http": { - "method": "POST", - "uri": "/2020-08-01/studios/{studioId}/eula-acceptances", - "code": 200 - } - } - }, - "com.amazonaws.nimble#AcceptEulasRequest": { - "type": "structure", - "members": { - "clientToken": { - "target": "com.amazonaws.nimble#ClientToken", - "traits": { - "smithy.api#documentation": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request. If you don’t specify a client token, the Amazon Web Services SDK automatically\n generates a client token and uses it for the request to ensure idempotency.

", - "smithy.api#httpHeader": "X-Amz-Client-Token", - "smithy.api#idempotencyToken": {} - } - }, - "eulaIds": { - "target": "com.amazonaws.nimble#EulaIdList", - "traits": { - "smithy.api#documentation": "

The EULA ID.

" - } - }, - "studioId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The studio ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.nimble#AcceptEulasResponse": { - "type": "structure", - "members": { - "eulaAcceptances": { - "target": "com.amazonaws.nimble#EulaAcceptanceList", - "traits": { - "smithy.api#documentation": "

A collection of EULA acceptances.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#AccessDeniedException": { - "type": "structure", - "members": { - "code": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

A more specific error code.

" - } - }, - "context": { - "target": "com.amazonaws.nimble#ExceptionContext", - "traits": { - "smithy.api#documentation": "

The exception context.

" - } - }, - "message": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

A human-readable description of the error.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

You are not authorized to perform this operation. Check your IAM\n policies, and ensure that you are using the correct access keys.

", - "smithy.api#error": "client", - "smithy.api#httpError": 403 - } - }, - "com.amazonaws.nimble#ActiveDirectoryComputerAttribute": { - "type": "structure", - "members": { - "name": { - "target": "com.amazonaws.nimble#ActiveDirectoryComputerAttributeName", - "traits": { - "smithy.api#documentation": "

The name for the LDAP attribute.

" - } - }, - "value": { - "target": "com.amazonaws.nimble#ActiveDirectoryComputerAttributeValue", - "traits": { - "smithy.api#documentation": "

The value for the LDAP attribute.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

An LDAP attribute of an Active Directory computer account, in the form of a name:value\n pair.

" - } - }, - "com.amazonaws.nimble#ActiveDirectoryComputerAttributeList": { - "type": "list", - "member": { - "target": "com.amazonaws.nimble#ActiveDirectoryComputerAttribute" - }, - "traits": { - "smithy.api#documentation": "

A collection of LDAP attributes to apply to Active Directory computer accounts that\n are created for streaming sessions.

", - "smithy.api#length": { - "min": 0, - "max": 50 - }, - "smithy.api#sensitive": {} - } - }, - "com.amazonaws.nimble#ActiveDirectoryComputerAttributeName": { - "type": "string", - "traits": { - "smithy.api#documentation": "

The name for the LDAP attribute.

", - "smithy.api#length": { - "min": 1, - "max": 40 - } - } - }, - "com.amazonaws.nimble#ActiveDirectoryComputerAttributeValue": { - "type": "string", - "traits": { - "smithy.api#documentation": "

The value for the LDAP attribute.

", - "smithy.api#length": { - "min": 1, - "max": 64 - } - } - }, - "com.amazonaws.nimble#ActiveDirectoryConfiguration": { - "type": "structure", - "members": { - "computerAttributes": { - "target": "com.amazonaws.nimble#ActiveDirectoryComputerAttributeList", - "traits": { - "smithy.api#documentation": "

A collection of custom attributes for an Active Directory computer.

" - } - }, - "directoryId": { - "target": "com.amazonaws.nimble#DirectoryId", - "traits": { - "smithy.api#documentation": "

The directory ID of the Directory Service for Microsoft Active Directory to access using this studio\n component.

" - } - }, - "organizationalUnitDistinguishedName": { - "target": "com.amazonaws.nimble#ActiveDirectoryOrganizationalUnitDistinguishedName", - "traits": { - "smithy.api#documentation": "

The distinguished name (DN) and organizational unit (OU) of an Active Directory\n computer.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The configuration for a Directory Service for Microsoft Active Directory studio resource.

" - } - }, - "com.amazonaws.nimble#ActiveDirectoryDnsIpAddress": { - "type": "string" - }, - "com.amazonaws.nimble#ActiveDirectoryDnsIpAddressList": { - "type": "list", - "member": { - "target": "com.amazonaws.nimble#ActiveDirectoryDnsIpAddress" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 10 - } - } - }, - "com.amazonaws.nimble#ActiveDirectoryOrganizationalUnitDistinguishedName": { - "type": "string", - "traits": { - "smithy.api#documentation": "

The fully-qualified distinguished name of the organizational unit to place the\n computer account in.

", - "smithy.api#length": { - "min": 1, - "max": 2000 - } - } - }, - "com.amazonaws.nimble#AutomaticTerminationMode": { - "type": "enum", - "members": { - "DEACTIVATED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DEACTIVATED" - } - }, - "ACTIVATED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ACTIVATED" - } - } - } - }, - "com.amazonaws.nimble#ClientToken": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 64 - } - } - }, - "com.amazonaws.nimble#ComputeFarmConfiguration": { - "type": "structure", - "members": { - "activeDirectoryUser": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The name of an Active Directory user that is used on ComputeFarm worker\n instances.

" - } - }, - "endpoint": { - "target": "com.amazonaws.nimble#SensitiveString", - "traits": { - "smithy.api#documentation": "

The endpoint of the ComputeFarm that is accessed by the studio component\n resource.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The configuration for a render farm that is associated with a studio resource.

" - } - }, - "com.amazonaws.nimble#ConflictException": { - "type": "structure", - "members": { - "code": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

A more specific error code.

" - } - }, - "context": { - "target": "com.amazonaws.nimble#ExceptionContext", - "traits": { - "smithy.api#documentation": "

The exception context.

" - } - }, - "message": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

A human-readable description of the error.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Another operation is in progress.

", - "smithy.api#error": "client", - "smithy.api#httpError": 409 - } - }, - "com.amazonaws.nimble#CreateLaunchProfile": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#CreateLaunchProfileRequest" - }, - "output": { - "target": "com.amazonaws.nimble#CreateLaunchProfileResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to create a launch profile", - "aws.iam#conditionKeys": ["aws:TagKeys", "aws:RequestTag/${TagKey}"], - "aws.iam#requiredActions": [ - "ec2:CreateNetworkInterface", - "ec2:RunInstances", - "ec2:DescribeSubnets", - "ec2:DescribeRouteTables", - "ec2:DescribeNetworkAcls", - "ec2:DescribeVpcEndpoints", - "ec2:DescribeNatGateways" - ], - "smithy.api#documentation": "

Create a launch profile.

", - "smithy.api#http": { - "method": "POST", - "uri": "/2020-08-01/studios/{studioId}/launch-profiles", - "code": 200 - } - } - }, - "com.amazonaws.nimble#CreateLaunchProfileRequest": { - "type": "structure", - "members": { - "clientToken": { - "target": "com.amazonaws.nimble#ClientToken", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request. If you don’t specify a client token, the Amazon Web Services SDK automatically\n generates a client token and uses it for the request to ensure idempotency.

", - "smithy.api#httpHeader": "X-Amz-Client-Token", - "smithy.api#idempotencyToken": {} - } - }, - "description": { - "target": "com.amazonaws.nimble#LaunchProfileDescription", - "traits": { - "smithy.api#documentation": "

The description.

" - } - }, - "ec2SubnetIds": { - "target": "com.amazonaws.nimble#EC2SubnetIdList", - "traits": { - "aws.cloudformation#cfnMutability": "create-and-read", - "smithy.api#documentation": "

Specifies the IDs of the EC2 subnets where streaming sessions will be accessible from.\n These subnets must support the specified instance types.

", - "smithy.api#required": {} - } - }, - "launchProfileProtocolVersions": { - "target": "com.amazonaws.nimble#LaunchProfileProtocolVersionList", - "traits": { - "smithy.api#documentation": "

The version number of the protocol that is used by the launch profile. The only valid\n version is \"2021-03-31\".

", - "smithy.api#required": {} - } - }, - "name": { - "target": "com.amazonaws.nimble#LaunchProfileName", - "traits": { - "smithy.api#documentation": "

The name for the launch profile.

", - "smithy.api#required": {} - } - }, - "streamConfiguration": { - "target": "com.amazonaws.nimble#StreamConfigurationCreate", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

A configuration for a streaming session.

", - "smithy.api#required": {} - } - }, - "studioComponentIds": { - "target": "com.amazonaws.nimble#LaunchProfileStudioComponentIdList", - "traits": { - "smithy.api#documentation": "

Unique identifiers for a collection of studio components that can be used with this\n launch profile.

", - "smithy.api#required": {} - } - }, - "studioId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "aws.cloudformation#cfnMutability": "create-and-read", - "smithy.api#documentation": "

The studio ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "tags": { - "target": "com.amazonaws.nimble#Tags", - "traits": { - "smithy.api#documentation": "

A collection of labels, in the form of key-value pairs, that apply to this\n resource.

" - } - } - }, - "traits": { - "smithy.api#input": {}, - "smithy.api#references": [ - { - "resource": "com.amazonaws.nimble#StudioResource" - } - ] - } - }, - "com.amazonaws.nimble#CreateLaunchProfileResponse": { - "type": "structure", - "members": { - "launchProfile": { - "target": "com.amazonaws.nimble#LaunchProfile", - "traits": { - "smithy.api#documentation": "

The launch profile.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#CreateStreamingImage": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#CreateStreamingImageRequest" - }, - "output": { - "target": "com.amazonaws.nimble#CreateStreamingImageResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to create a streaming image", - "aws.iam#conditionKeys": ["aws:TagKeys", "aws:RequestTag/${TagKey}"], - "aws.iam#requiredActions": [ - "ec2:ModifyInstanceAttribute", - "ec2:ModifySnapshotAttribute", - "ec2:RegisterImage", - "ec2:DescribeImages", - "ec2:DescribeSnapshots" - ], - "smithy.api#documentation": "

Creates a streaming image resource in a studio.

", - "smithy.api#http": { - "method": "POST", - "uri": "/2020-08-01/studios/{studioId}/streaming-images", - "code": 200 - } - } - }, - "com.amazonaws.nimble#CreateStreamingImageRequest": { - "type": "structure", - "members": { - "clientToken": { - "target": "com.amazonaws.nimble#ClientToken", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request. If you don’t specify a client token, the Amazon Web Services SDK automatically\n generates a client token and uses it for the request to ensure idempotency.

", - "smithy.api#httpHeader": "X-Amz-Client-Token", - "smithy.api#idempotencyToken": {} - } - }, - "description": { - "target": "com.amazonaws.nimble#StreamingImageDescription", - "traits": { - "smithy.api#documentation": "

A human-readable description of the streaming image.

" - } - }, - "ec2ImageId": { - "target": "com.amazonaws.nimble#EC2ImageId", - "traits": { - "smithy.api#documentation": "

The ID of an EC2 machine image with which to create this streaming image.

", - "smithy.api#required": {} - } - }, - "name": { - "target": "com.amazonaws.nimble#StreamingImageName", - "traits": { - "smithy.api#documentation": "

A friendly name for a streaming image resource.

", - "smithy.api#required": {} - } - }, - "studioId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "aws.cloudformation#cfnMutability": "create-and-read", - "smithy.api#documentation": "

The studio ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "tags": { - "target": "com.amazonaws.nimble#Tags", - "traits": { - "aws.cloudformation#cfnMutability": "create-and-read", - "smithy.api#documentation": "

A collection of labels, in the form of key-value pairs, that apply to this\n resource.

" - } - } - }, - "traits": { - "smithy.api#input": {}, - "smithy.api#references": [ - { - "resource": "com.amazonaws.nimble#StudioResource" - } - ] - } - }, - "com.amazonaws.nimble#CreateStreamingImageResponse": { - "type": "structure", - "members": { - "streamingImage": { - "target": "com.amazonaws.nimble#StreamingImage", - "traits": { - "smithy.api#documentation": "

The streaming image.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#CreateStreamingSession": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#CreateStreamingSessionRequest" - }, - "output": { - "target": "com.amazonaws.nimble#CreateStreamingSessionResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to create a streaming session", - "aws.iam#conditionKeys": ["aws:TagKeys", "aws:RequestTag/${TagKey}"], - "aws.iam#requiredActions": [ - "ec2:CreateNetworkInterface", - "ec2:CreateNetworkInterfacePermission", - "nimble:GetLaunchProfileInitialization", - "nimble:GetLaunchProfile", - "nimble:ListEulaAcceptances" - ], - "smithy.api#documentation": "

Creates a streaming session in a studio.

\n

After invoking this operation, you must poll GetStreamingSession until the streaming\n session is in the READY state.

", - "smithy.api#http": { - "method": "POST", - "uri": "/2020-08-01/studios/{studioId}/streaming-sessions", - "code": 200 - } - } - }, - "com.amazonaws.nimble#CreateStreamingSessionRequest": { - "type": "structure", - "members": { - "clientToken": { - "target": "com.amazonaws.nimble#ClientToken", - "traits": { - "smithy.api#documentation": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request. If you don’t specify a client token, the Amazon Web Services SDK automatically\n generates a client token and uses it for the request to ensure idempotency.

", - "smithy.api#httpHeader": "X-Amz-Client-Token", - "smithy.api#idempotencyToken": {} - } - }, - "ec2InstanceType": { - "target": "com.amazonaws.nimble#StreamingInstanceType", - "traits": { - "smithy.api#documentation": "

The EC2 Instance type used for the streaming session.

" - } - }, - "launchProfileId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The ID of the launch profile used to control access from the streaming session.

", - "smithy.api#required": {} - } - }, - "ownedBy": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The user ID of the user that owns the streaming session. The user that owns the\n session will be logging into the session and interacting with the virtual\n workstation.

" - } - }, - "streamingImageId": { - "target": "com.amazonaws.nimble#StreamingImageId", - "traits": { - "smithy.api#documentation": "

The ID of the streaming image.

" - } - }, - "studioId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The studio ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "tags": { - "target": "com.amazonaws.nimble#Tags", - "traits": { - "smithy.api#documentation": "

A collection of labels, in the form of key-value pairs, that apply to this\n resource.

" - } - } - }, - "traits": { - "smithy.api#input": {}, - "smithy.api#references": [ - { - "resource": "com.amazonaws.nimble#LaunchProfileResource" - } - ] - } - }, - "com.amazonaws.nimble#CreateStreamingSessionResponse": { - "type": "structure", - "members": { - "session": { - "target": "com.amazonaws.nimble#StreamingSession", - "traits": { - "smithy.api#documentation": "

The session.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#CreateStreamingSessionStream": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#CreateStreamingSessionStreamRequest" - }, - "output": { - "target": "com.amazonaws.nimble#CreateStreamingSessionStreamResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to create a streaming session stream", - "aws.iam#conditionKeys": ["nimble:requesterPrincipalId"], - "smithy.api#documentation": "

Creates a streaming session stream for a streaming session.

\n

After invoking this API, invoke GetStreamingSessionStream with the returned streamId\n to poll the resource until it is in the READY state.

", - "smithy.api#http": { - "method": "POST", - "uri": "/2020-08-01/studios/{studioId}/streaming-sessions/{sessionId}/streams", - "code": 200 - }, - "smithy.api#idempotent": {} - } - }, - "com.amazonaws.nimble#CreateStreamingSessionStreamRequest": { - "type": "structure", - "members": { - "clientToken": { - "target": "com.amazonaws.nimble#ClientToken", - "traits": { - "smithy.api#documentation": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request. If you don’t specify a client token, the Amazon Web Services SDK automatically\n generates a client token and uses it for the request to ensure idempotency.

", - "smithy.api#httpHeader": "X-Amz-Client-Token", - "smithy.api#idempotencyToken": {} - } - }, - "expirationInSeconds": { - "target": "com.amazonaws.nimble#StreamingSessionStreamExpirationInSeconds", - "traits": { - "smithy.api#default": 120, - "smithy.api#documentation": "

The expiration time in seconds.

" - } - }, - "sessionId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The streaming session ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "studioId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The studio ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {}, - "smithy.api#references": [ - { - "resource": "com.amazonaws.nimble#StreamingSessionResource" - } - ] - } - }, - "com.amazonaws.nimble#CreateStreamingSessionStreamResponse": { - "type": "structure", - "members": { - "stream": { - "target": "com.amazonaws.nimble#StreamingSessionStream", - "traits": { - "smithy.api#documentation": "

The stream.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#CreateStudio": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#CreateStudioRequest" - }, - "output": { - "target": "com.amazonaws.nimble#CreateStudioResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to create a studio", - "aws.iam#conditionKeys": ["aws:TagKeys", "aws:RequestTag/${TagKey}"], - "aws.iam#requiredActions": ["sso:CreateManagedApplicationInstance", "iam:PassRole"], - "smithy.api#documentation": "

Create a new studio.

\n

When creating a studio, two IAM roles must be provided: the admin role\n and the user role. These roles are assumed by your users when they log in to the Nimble Studio portal.

\n

The user role must have the AmazonNimbleStudio-StudioUser managed policy\n attached for the portal to function properly.

\n

The admin role must have the AmazonNimbleStudio-StudioAdmin managed\n policy attached for the portal to function properly.

\n

You may optionally specify a KMS key in the\n StudioEncryptionConfiguration.

\n

In Nimble Studio, resource names, descriptions, initialization scripts, and other\n data you provide are always encrypted at rest using an KMS key. By default, this key is\n owned by Amazon Web Services and managed on your behalf. You may provide your own KMS key\n when calling CreateStudio to encrypt this data using a key you own and\n manage.

\n

When providing an KMS key during studio creation, Nimble Studio creates KMS\n grants in your account to provide your studio user and admin roles access to these KMS\n keys.

\n

If you delete this grant, the studio will no longer be accessible to your portal\n users.

\n

If you delete the studio KMS key, your studio will no longer be accessible.

", - "smithy.api#http": { - "method": "POST", - "uri": "/2020-08-01/studios", - "code": 200 - } - } - }, - "com.amazonaws.nimble#CreateStudioComponent": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#CreateStudioComponentRequest" - }, - "output": { - "target": "com.amazonaws.nimble#CreateStudioComponentResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to create a studio component. A studio component designates a network resource to which a launch profile will provide access", - "aws.iam#conditionKeys": ["aws:TagKeys", "aws:RequestTag/${TagKey}"], - "aws.iam#requiredActions": [ - "ec2:DescribeSecurityGroups", - "fsx:DescribeFileSystems", - "ds:DescribeDirectories", - "iam:PassRole" - ], - "smithy.api#documentation": "

Creates a studio component resource.

", - "smithy.api#http": { - "method": "POST", - "uri": "/2020-08-01/studios/{studioId}/studio-components", - "code": 200 - } - } - }, - "com.amazonaws.nimble#CreateStudioComponentRequest": { - "type": "structure", - "members": { - "clientToken": { - "target": "com.amazonaws.nimble#ClientToken", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request. If you don’t specify a client token, the Amazon Web Services SDK automatically\n generates a client token and uses it for the request to ensure idempotency.

", - "smithy.api#httpHeader": "X-Amz-Client-Token", - "smithy.api#idempotencyToken": {} - } - }, - "configuration": { - "target": "com.amazonaws.nimble#StudioComponentConfiguration", - "traits": { - "smithy.api#documentation": "

The configuration of the studio component, based on component type.

" - } - }, - "description": { - "target": "com.amazonaws.nimble#StudioComponentDescription", - "traits": { - "smithy.api#documentation": "

The description.

" - } - }, - "ec2SecurityGroupIds": { - "target": "com.amazonaws.nimble#StudioComponentSecurityGroupIdList", - "traits": { - "smithy.api#documentation": "

The EC2 security groups that control access to the studio component.

" - } - }, - "initializationScripts": { - "target": "com.amazonaws.nimble#StudioComponentInitializationScriptList", - "traits": { - "smithy.api#documentation": "

Initialization scripts for studio components.

" - } - }, - "name": { - "target": "com.amazonaws.nimble#StudioComponentName", - "traits": { - "smithy.api#documentation": "

The name for the studio component.

", - "smithy.api#required": {} - } - }, - "scriptParameters": { - "target": "com.amazonaws.nimble#StudioComponentScriptParameterKeyValueList", - "traits": { - "smithy.api#documentation": "

Parameters for the studio component scripts.

" - } - }, - "studioId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "aws.cloudformation#cfnMutability": "create-and-read", - "smithy.api#documentation": "

The studio ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "subtype": { - "target": "com.amazonaws.nimble#StudioComponentSubtype", - "traits": { - "aws.cloudformation#cfnMutability": "create-and-read", - "smithy.api#documentation": "

The specific subtype of a studio component.

" - } - }, - "tags": { - "target": "com.amazonaws.nimble#Tags", - "traits": { - "aws.cloudformation#cfnMutability": "create-and-read", - "smithy.api#documentation": "

A collection of labels, in the form of key-value pairs, that apply to this\n resource.

" - } - }, - "type": { - "target": "com.amazonaws.nimble#StudioComponentType", - "traits": { - "smithy.api#documentation": "

The type of the studio component.

", - "smithy.api#required": {} - } - }, - "secureInitializationRoleArn": { - "target": "com.amazonaws.nimble#RoleArn", - "traits": { - "aws.cloudformation#cfnMutability": "full", - "smithy.api#documentation": "

An IAM role attached to Studio Component when the system initialization\n script runs which give the studio component access to Amazon Web Services resources when\n the system initialization script runs.

" - } - }, - "runtimeRoleArn": { - "target": "com.amazonaws.nimble#RoleArn", - "traits": { - "aws.cloudformation#cfnMutability": "full", - "smithy.api#documentation": "

An IAM role attached to a Studio Component that gives the studio\n component access to Amazon Web Services resources at anytime while the instance is\n running.

" - } - } - }, - "traits": { - "smithy.api#input": {}, - "smithy.api#references": [ - { - "resource": "com.amazonaws.nimble#StudioResource" - } - ] - } - }, - "com.amazonaws.nimble#CreateStudioComponentResponse": { - "type": "structure", - "members": { - "studioComponent": { - "target": "com.amazonaws.nimble#StudioComponent", - "traits": { - "smithy.api#documentation": "

Information about the studio component.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#CreateStudioRequest": { - "type": "structure", - "members": { - "adminRoleArn": { - "target": "com.amazonaws.nimble#RoleArn", - "traits": { - "smithy.api#documentation": "

The IAM role that studio admins will assume when logging in to the\n Nimble Studio portal.

", - "smithy.api#required": {} - } - }, - "clientToken": { - "target": "com.amazonaws.nimble#ClientToken", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request. If you don’t specify a client token, the Amazon Web Services SDK automatically\n generates a client token and uses it for the request to ensure idempotency.

", - "smithy.api#httpHeader": "X-Amz-Client-Token", - "smithy.api#idempotencyToken": {} - } - }, - "displayName": { - "target": "com.amazonaws.nimble#StudioDisplayName", - "traits": { - "aws.cloudformation#cfnMutability": "full", - "smithy.api#documentation": "

A friendly name for the studio.

", - "smithy.api#required": {} - } - }, - "studioEncryptionConfiguration": { - "target": "com.amazonaws.nimble#StudioEncryptionConfiguration", - "traits": { - "smithy.api#documentation": "

The studio encryption configuration.

" - } - }, - "studioName": { - "target": "com.amazonaws.nimble#StudioName", - "traits": { - "aws.cloudformation#cfnMutability": "create-and-read", - "smithy.api#documentation": "

The studio name that is used in the URL of the Nimble Studio portal when accessed\n by Nimble Studio users.

", - "smithy.api#required": {} - } - }, - "tags": { - "target": "com.amazonaws.nimble#Tags", - "traits": { - "smithy.api#documentation": "

A collection of labels, in the form of key-value pairs, that apply to this\n resource.

" - } - }, - "userRoleArn": { - "target": "com.amazonaws.nimble#RoleArn", - "traits": { - "aws.cloudformation#cfnMutability": "full", - "smithy.api#documentation": "

The IAM role that studio users will assume when logging in to the\n Nimble Studio portal.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.nimble#CreateStudioResponse": { - "type": "structure", - "members": { - "studio": { - "target": "com.amazonaws.nimble#Studio", - "traits": { - "smithy.api#documentation": "

Information about a studio.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#DeleteLaunchProfile": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#DeleteLaunchProfileRequest" - }, - "output": { - "target": "com.amazonaws.nimble#DeleteLaunchProfileResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to delete a launch profile", - "smithy.api#documentation": "

Permanently delete a launch profile.

", - "smithy.api#http": { - "method": "DELETE", - "uri": "/2020-08-01/studios/{studioId}/launch-profiles/{launchProfileId}", - "code": 200 - }, - "smithy.api#idempotent": {} - } - }, - "com.amazonaws.nimble#DeleteLaunchProfileMember": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#DeleteLaunchProfileMemberRequest" - }, - "output": { - "target": "com.amazonaws.nimble#DeleteLaunchProfileMemberResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to delete a launch profile member", - "smithy.api#documentation": "

Delete a user from launch profile membership.

", - "smithy.api#http": { - "method": "DELETE", - "uri": "/2020-08-01/studios/{studioId}/launch-profiles/{launchProfileId}/membership/{principalId}", - "code": 200 - }, - "smithy.api#idempotent": {} - } - }, - "com.amazonaws.nimble#DeleteLaunchProfileMemberRequest": { - "type": "structure", - "members": { - "clientToken": { - "target": "com.amazonaws.nimble#ClientToken", - "traits": { - "smithy.api#documentation": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request. If you don’t specify a client token, the Amazon Web Services SDK automatically\n generates a client token and uses it for the request to ensure idempotency.

", - "smithy.api#httpHeader": "X-Amz-Client-Token", - "smithy.api#idempotencyToken": {} - } - }, - "launchProfileId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The ID of the launch profile used to control access from the streaming session.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "principalId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The principal ID. This currently supports a IAM Identity Center UserId.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "studioId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The studio ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.nimble#DeleteLaunchProfileMemberResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#DeleteLaunchProfileRequest": { - "type": "structure", - "members": { - "clientToken": { - "target": "com.amazonaws.nimble#ClientToken", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request. If you don’t specify a client token, the Amazon Web Services SDK automatically\n generates a client token and uses it for the request to ensure idempotency.

", - "smithy.api#httpHeader": "X-Amz-Client-Token", - "smithy.api#idempotencyToken": {} - } - }, - "launchProfileId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The ID of the launch profile used to control access from the streaming session.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "studioId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The studio ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.nimble#DeleteLaunchProfileResponse": { - "type": "structure", - "members": { - "launchProfile": { - "target": "com.amazonaws.nimble#LaunchProfile", - "traits": { - "smithy.api#documentation": "

The launch profile.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#DeleteStreamingImage": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#DeleteStreamingImageRequest" - }, - "output": { - "target": "com.amazonaws.nimble#DeleteStreamingImageResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to delete a streaming image", - "aws.iam#requiredActions": [ - "ec2:ModifyInstanceAttribute", - "ec2:ModifySnapshotAttribute", - "ec2:DeregisterImage", - "ec2:DeleteSnapshot" - ], - "smithy.api#documentation": "

Delete streaming image.

", - "smithy.api#http": { - "method": "DELETE", - "uri": "/2020-08-01/studios/{studioId}/streaming-images/{streamingImageId}", - "code": 200 - }, - "smithy.api#idempotent": {} - } - }, - "com.amazonaws.nimble#DeleteStreamingImageRequest": { - "type": "structure", - "members": { - "clientToken": { - "target": "com.amazonaws.nimble#ClientToken", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request. If you don’t specify a client token, the Amazon Web Services SDK automatically\n generates a client token and uses it for the request to ensure idempotency.

", - "smithy.api#httpHeader": "X-Amz-Client-Token", - "smithy.api#idempotencyToken": {} - } - }, - "streamingImageId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The streaming image ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "studioId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The studio ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.nimble#DeleteStreamingImageResponse": { - "type": "structure", - "members": { - "streamingImage": { - "target": "com.amazonaws.nimble#StreamingImage", - "traits": { - "smithy.api#documentation": "

The streaming image.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#DeleteStreamingSession": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#DeleteStreamingSessionRequest" - }, - "output": { - "target": "com.amazonaws.nimble#DeleteStreamingSessionResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to delete a streaming session", - "aws.iam#conditionKeys": ["nimble:requesterPrincipalId"], - "aws.iam#requiredActions": ["ec2:DeleteNetworkInterface"], - "smithy.api#documentation": "

Deletes streaming session resource.

\n

After invoking this operation, use GetStreamingSession to poll the resource until it\n transitions to a DELETED state.

\n

A streaming session will count against your streaming session quota until it is marked\n DELETED.

", - "smithy.api#http": { - "method": "DELETE", - "uri": "/2020-08-01/studios/{studioId}/streaming-sessions/{sessionId}", - "code": 200 - }, - "smithy.api#idempotent": {} - } - }, - "com.amazonaws.nimble#DeleteStreamingSessionRequest": { - "type": "structure", - "members": { - "clientToken": { - "target": "com.amazonaws.nimble#ClientToken", - "traits": { - "smithy.api#documentation": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request. If you don’t specify a client token, the Amazon Web Services SDK automatically\n generates a client token and uses it for the request to ensure idempotency.

", - "smithy.api#httpHeader": "X-Amz-Client-Token", - "smithy.api#idempotencyToken": {} - } - }, - "sessionId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The streaming session ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "studioId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The studio ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.nimble#DeleteStreamingSessionResponse": { - "type": "structure", - "members": { - "session": { - "target": "com.amazonaws.nimble#StreamingSession", - "traits": { - "smithy.api#documentation": "

The session.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#DeleteStudio": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#DeleteStudioRequest" - }, - "output": { - "target": "com.amazonaws.nimble#DeleteStudioResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to delete a studio", - "aws.iam#requiredActions": ["sso:DeleteManagedApplicationInstance"], - "smithy.api#documentation": "

Delete a studio resource.

", - "smithy.api#http": { - "method": "DELETE", - "uri": "/2020-08-01/studios/{studioId}", - "code": 200 - }, - "smithy.api#idempotent": {} - } - }, - "com.amazonaws.nimble#DeleteStudioComponent": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#DeleteStudioComponentRequest" - }, - "output": { - "target": "com.amazonaws.nimble#DeleteStudioComponentResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to delete a studio component", - "smithy.api#documentation": "

Deletes a studio component resource.

", - "smithy.api#http": { - "method": "DELETE", - "uri": "/2020-08-01/studios/{studioId}/studio-components/{studioComponentId}", - "code": 200 - }, - "smithy.api#idempotent": {} - } - }, - "com.amazonaws.nimble#DeleteStudioComponentRequest": { - "type": "structure", - "members": { - "clientToken": { - "target": "com.amazonaws.nimble#ClientToken", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request. If you don’t specify a client token, the Amazon Web Services SDK automatically\n generates a client token and uses it for the request to ensure idempotency.

", - "smithy.api#httpHeader": "X-Amz-Client-Token", - "smithy.api#idempotencyToken": {} - } - }, - "studioComponentId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The studio component ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "studioId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The studio ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.nimble#DeleteStudioComponentResponse": { - "type": "structure", - "members": { - "studioComponent": { - "target": "com.amazonaws.nimble#StudioComponent", - "traits": { - "smithy.api#documentation": "

Information about the studio component.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#DeleteStudioMember": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#DeleteStudioMemberRequest" - }, - "output": { - "target": "com.amazonaws.nimble#DeleteStudioMemberResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to delete a studio member", - "smithy.api#documentation": "

Delete a user from studio membership.

", - "smithy.api#http": { - "method": "DELETE", - "uri": "/2020-08-01/studios/{studioId}/membership/{principalId}", - "code": 200 - }, - "smithy.api#idempotent": {} - } - }, - "com.amazonaws.nimble#DeleteStudioMemberRequest": { - "type": "structure", - "members": { - "clientToken": { - "target": "com.amazonaws.nimble#ClientToken", - "traits": { - "smithy.api#documentation": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request. If you don’t specify a client token, the Amazon Web Services SDK automatically\n generates a client token and uses it for the request to ensure idempotency.

", - "smithy.api#httpHeader": "X-Amz-Client-Token", - "smithy.api#idempotencyToken": {} - } - }, - "principalId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The principal ID. This currently supports a IAM Identity Center UserId.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "studioId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The studio ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.nimble#DeleteStudioMemberResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#DeleteStudioRequest": { - "type": "structure", - "members": { - "clientToken": { - "target": "com.amazonaws.nimble#ClientToken", - "traits": { - "smithy.api#documentation": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request. If you don’t specify a client token, the Amazon Web Services SDK automatically\n generates a client token and uses it for the request to ensure idempotency.

", - "smithy.api#httpHeader": "X-Amz-Client-Token", - "smithy.api#idempotencyToken": {} - } - }, - "studioId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The studio ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.nimble#DeleteStudioResponse": { - "type": "structure", - "members": { - "studio": { - "target": "com.amazonaws.nimble#Studio", - "traits": { - "smithy.api#documentation": "

Information about a studio.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#DirectoryId": { - "type": "string" - }, - "com.amazonaws.nimble#EC2ImageId": { - "type": "string", - "traits": { - "smithy.api#pattern": "^ami-[0-9A-z]+$" - } - }, - "com.amazonaws.nimble#EC2SubnetId": { - "type": "string" - }, - "com.amazonaws.nimble#EC2SubnetIdList": { - "type": "list", - "member": { - "target": "com.amazonaws.nimble#EC2SubnetId" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 6 - } - } - }, - "com.amazonaws.nimble#Eula": { - "type": "structure", - "members": { - "content": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The EULA content.

" - } - }, - "createdAt": { - "target": "com.amazonaws.nimble#Timestamp", - "traits": { - "smithy.api#documentation": "

The ISO timestamp in seconds for when the resource was created.

" - } - }, - "eulaId": { - "target": "com.amazonaws.nimble#EulaId", - "traits": { - "smithy.api#documentation": "

The EULA ID.

" - } - }, - "name": { - "target": "com.amazonaws.nimble#EulaName", - "traits": { - "smithy.api#documentation": "

The name for the EULA.

" - } - }, - "updatedAt": { - "target": "com.amazonaws.nimble#Timestamp", - "traits": { - "smithy.api#documentation": "

The ISO timestamp in seconds for when the resource was updated.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Represents a EULA resource.

" - } - }, - "com.amazonaws.nimble#EulaAcceptance": { - "type": "structure", - "members": { - "acceptedAt": { - "target": "com.amazonaws.nimble#Timestamp", - "traits": { - "smithy.api#documentation": "

The ISO timestamp in seconds for when the EULA was accepted.

" - } - }, - "acceptedBy": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The ID of the person who accepted the EULA.

" - } - }, - "accepteeId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The ID of the acceptee.

" - } - }, - "eulaAcceptanceId": { - "target": "com.amazonaws.nimble#EulaAcceptanceId", - "traits": { - "smithy.api#documentation": "

The EULA acceptance ID.

" - } - }, - "eulaId": { - "target": "com.amazonaws.nimble#EulaId", - "traits": { - "smithy.api#documentation": "

The EULA ID.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The acceptance of a EULA, required to use Amazon-provided streaming images.

" - } - }, - "com.amazonaws.nimble#EulaAcceptanceId": { - "type": "string", - "traits": { - "smithy.api#documentation": "

The EULA acceptance ID.

", - "smithy.api#length": { - "min": 0, - "max": 22 - }, - "smithy.api#pattern": "^[a-zA-Z0-9-_]*$" - } - }, - "com.amazonaws.nimble#EulaAcceptanceList": { - "type": "list", - "member": { - "target": "com.amazonaws.nimble#EulaAcceptance" - } - }, - "com.amazonaws.nimble#EulaAcceptanceResource": { - "type": "resource", - "identifiers": { - "eulaAcceptanceId": { - "target": "com.amazonaws.nimble#EulaAcceptanceId" - } - }, - "create": { - "target": "com.amazonaws.nimble#AcceptEulas" - }, - "list": { - "target": "com.amazonaws.nimble#ListEulaAcceptances" - }, - "traits": { - "aws.api#arn": { - "template": "eula-acceptance/{eulaAcceptanceId}" - }, - "aws.iam#conditionKeys": [ - "aws:ResourceTag/${TagKey}", - "aws:RequestTag/${TagKey}", - "aws:TagKeys", - "nimble:studioId" - ], - "aws.iam#disableConditionKeyInference": {}, - "aws.iam#iamResource": { - "name": "eula-acceptance" - }, - "smithy.api#documentation": "Represents the acceptance of a EULA, specific to a studio" - } - }, - "com.amazonaws.nimble#EulaId": { - "type": "string", - "traits": { - "smithy.api#documentation": "

Represents a EULA resource.

", - "smithy.api#length": { - "min": 0, - "max": 22 - }, - "smithy.api#pattern": "^[a-zA-Z0-9-_]*$" - } - }, - "com.amazonaws.nimble#EulaIdList": { - "type": "list", - "member": { - "target": "com.amazonaws.nimble#String" - } - }, - "com.amazonaws.nimble#EulaList": { - "type": "list", - "member": { - "target": "com.amazonaws.nimble#Eula" - } - }, - "com.amazonaws.nimble#EulaName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 64 - } - } - }, - "com.amazonaws.nimble#EulaResource": { - "type": "resource", - "identifiers": { - "eulaId": { - "target": "com.amazonaws.nimble#String" - } - }, - "read": { - "target": "com.amazonaws.nimble#GetEula" - }, - "list": { - "target": "com.amazonaws.nimble#ListEulas" - }, - "traits": { - "aws.api#arn": { - "template": "eula/{eulaId}" - }, - "aws.iam#conditionKeys": ["aws:ResourceTag/${TagKey}", "aws:RequestTag/${TagKey}", "aws:TagKeys"], - "aws.iam#disableConditionKeyInference": {}, - "aws.iam#iamResource": { - "name": "eula" - }, - "smithy.api#documentation": "Represents a EULA that is required to be accepted before the use of certain streaming images" - } - }, - "com.amazonaws.nimble#ExceptionContext": { - "type": "map", - "key": { - "target": "com.amazonaws.nimble#String" - }, - "value": { - "target": "com.amazonaws.nimble#String" - }, - "traits": { - "smithy.api#documentation": "

ExceptionContext is a set of key-value pairs that provide you with more information\n about the error that occurred. For example, when the service returns a 404\n ResourceNotFound error, ExceptionContext will contain the key `resourceId` with the\n value of resource that was not found.

\n

\n ExceptionContext allows scripts and other programmatic clients to provide\n better error handling.

" - } - }, - "com.amazonaws.nimble#GetEula": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#GetEulaRequest" - }, - "output": { - "target": "com.amazonaws.nimble#GetEulaResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to get a EULA", - "smithy.api#documentation": "

Get EULA.

", - "smithy.api#http": { - "method": "GET", - "uri": "/2020-08-01/eulas/{eulaId}", - "code": 200 - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.nimble#GetEulaRequest": { - "type": "structure", - "members": { - "eulaId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The EULA ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.nimble#GetEulaResponse": { - "type": "structure", - "members": { - "eula": { - "target": "com.amazonaws.nimble#Eula", - "traits": { - "smithy.api#documentation": "

The EULA.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#GetLaunchProfile": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#GetLaunchProfileRequest" - }, - "output": { - "target": "com.amazonaws.nimble#GetLaunchProfileResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to get a launch profile", - "smithy.api#documentation": "

Get a launch profile.

", - "smithy.api#http": { - "method": "GET", - "uri": "/2020-08-01/studios/{studioId}/launch-profiles/{launchProfileId}", - "code": 200 - }, - "smithy.api#readonly": {}, - "smithy.waiters#waitable": { - "LaunchProfileReady": { - "documentation": "Wait until a LaunchProfile is Ready. Use this after invoking CreateLaunchProfile or UpdateLaunchProfile", - "minDelay": 5, - "maxDelay": 750, - "acceptors": [ - { - "state": "success", - "matcher": { - "output": { - "path": "launchProfile.state", - "expected": "READY", - "comparator": "stringEquals" - } - } - }, - { - "state": "failure", - "matcher": { - "output": { - "path": "launchProfile.state", - "expected": "CREATE_FAILED", - "comparator": "stringEquals" - } - } - }, - { - "state": "failure", - "matcher": { - "output": { - "path": "launchProfile.state", - "expected": "UPDATE_FAILED", - "comparator": "stringEquals" - } - } - } - ] - }, - "LaunchProfileDeleted": { - "documentation": "Wait until a LaunchProfile is Deleted. Use this after invoking DeleteLaunchProfile", - "minDelay": 5, - "maxDelay": 750, - "acceptors": [ - { - "state": "success", - "matcher": { - "output": { - "path": "launchProfile.state", - "expected": "DELETED", - "comparator": "stringEquals" - } - } - }, - { - "state": "failure", - "matcher": { - "output": { - "path": "launchProfile.state", - "expected": "DELETE_FAILED", - "comparator": "stringEquals" - } - } - } - ] - } - } - } - }, - "com.amazonaws.nimble#GetLaunchProfileDetails": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#GetLaunchProfileDetailsRequest" - }, - "output": { - "target": "com.amazonaws.nimble#GetLaunchProfileDetailsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to get a launch profile's details, which includes the summary of studio components and streaming images used by the launch profile", - "smithy.api#documentation": "

Launch profile details include the launch profile resource and summary information of\n resources that are used by, or available to, the launch profile. This includes the name\n and description of all studio components used by the launch profiles, and the name and\n description of streaming images that can be used with this launch profile.

", - "smithy.api#http": { - "method": "GET", - "uri": "/2020-08-01/studios/{studioId}/launch-profiles/{launchProfileId}/details", - "code": 200 - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.nimble#GetLaunchProfileDetailsRequest": { - "type": "structure", - "members": { - "launchProfileId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The ID of the launch profile used to control access from the streaming session.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "studioId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The studio ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.nimble#GetLaunchProfileDetailsResponse": { - "type": "structure", - "members": { - "launchProfile": { - "target": "com.amazonaws.nimble#LaunchProfile", - "traits": { - "smithy.api#documentation": "

The launch profile.

" - } - }, - "streamingImages": { - "target": "com.amazonaws.nimble#StreamingImageList", - "traits": { - "smithy.api#documentation": "

A collection of streaming images.

" - } - }, - "studioComponentSummaries": { - "target": "com.amazonaws.nimble#StudioComponentSummaryList", - "traits": { - "smithy.api#documentation": "

A collection of studio component summaries.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#GetLaunchProfileInitialization": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#GetLaunchProfileInitializationRequest" - }, - "output": { - "target": "com.amazonaws.nimble#GetLaunchProfileInitializationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to get a launch profile initialization. A launch profile initialization is a dereferenced version of a launch profile, including attached studio component connection information", - "aws.iam#requiredActions": ["ec2:DescribeSecurityGroups", "fsx:DescribeFileSystems", "ds:DescribeDirectories"], - "smithy.api#documentation": "

Get a launch profile initialization.

", - "smithy.api#http": { - "method": "GET", - "uri": "/2020-08-01/studios/{studioId}/launch-profiles/{launchProfileId}/init", - "code": 200 - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.nimble#GetLaunchProfileInitializationRequest": { - "type": "structure", - "members": { - "launchProfileId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The ID of the launch profile used to control access from the streaming session.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "launchProfileProtocolVersions": { - "target": "com.amazonaws.nimble#StringList", - "traits": { - "smithy.api#documentation": "

The launch profile protocol versions supported by the client.

", - "smithy.api#httpQuery": "launchProfileProtocolVersions", - "smithy.api#required": {} - } - }, - "launchPurpose": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The launch purpose.

", - "smithy.api#httpQuery": "launchPurpose", - "smithy.api#required": {} - } - }, - "platform": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The platform where this Launch Profile will be used, either Windows or Linux.

", - "smithy.api#httpQuery": "platform", - "smithy.api#required": {} - } - }, - "studioId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The studio ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.nimble#GetLaunchProfileInitializationResponse": { - "type": "structure", - "members": { - "launchProfileInitialization": { - "target": "com.amazonaws.nimble#LaunchProfileInitialization", - "traits": { - "smithy.api#documentation": "

The launch profile initialization.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#GetLaunchProfileMember": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#GetLaunchProfileMemberRequest" - }, - "output": { - "target": "com.amazonaws.nimble#GetLaunchProfileMemberResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to get a launch profile member", - "smithy.api#documentation": "

Get a user persona in launch profile membership.

", - "smithy.api#http": { - "method": "GET", - "uri": "/2020-08-01/studios/{studioId}/launch-profiles/{launchProfileId}/membership/{principalId}", - "code": 200 - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.nimble#GetLaunchProfileMemberRequest": { - "type": "structure", - "members": { - "launchProfileId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The ID of the launch profile used to control access from the streaming session.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "principalId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The principal ID. This currently supports a IAM Identity Center UserId.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "studioId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The studio ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.nimble#GetLaunchProfileMemberResponse": { - "type": "structure", - "members": { - "member": { - "target": "com.amazonaws.nimble#LaunchProfileMembership", - "traits": { - "smithy.api#documentation": "

The member.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#GetLaunchProfileRequest": { - "type": "structure", - "members": { - "launchProfileId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The ID of the launch profile used to control access from the streaming session.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "studioId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The studio ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.nimble#GetLaunchProfileResponse": { - "type": "structure", - "members": { - "launchProfile": { - "target": "com.amazonaws.nimble#LaunchProfile", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

The launch profile.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#GetStreamingImage": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#GetStreamingImageRequest" - }, - "output": { - "target": "com.amazonaws.nimble#GetStreamingImageResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to get a streaming image", - "smithy.api#documentation": "

Get streaming image.

", - "smithy.api#http": { - "method": "GET", - "uri": "/2020-08-01/studios/{studioId}/streaming-images/{streamingImageId}", - "code": 200 - }, - "smithy.api#readonly": {}, - "smithy.waiters#waitable": { - "StreamingImageReady": { - "documentation": "Wait until a StreamingImage is Ready. Use this after invoking CreateStreamingImage or UpdateStreamingImage", - "acceptors": [ - { - "state": "success", - "matcher": { - "output": { - "path": "streamingImage.state", - "expected": "READY", - "comparator": "stringEquals" - } - } - }, - { - "state": "failure", - "matcher": { - "output": { - "path": "streamingImage.state", - "expected": "CREATE_FAILED", - "comparator": "stringEquals" - } - } - }, - { - "state": "failure", - "matcher": { - "output": { - "path": "streamingImage.state", - "expected": "UPDATE_FAILED", - "comparator": "stringEquals" - } - } - } - ] - }, - "StreamingImageDeleted": { - "documentation": "Wait until a StreamingImage Deleted. Use this after invoking DeleteStreamingImage", - "acceptors": [ - { - "state": "success", - "matcher": { - "output": { - "path": "streamingImage.state", - "expected": "DELETED", - "comparator": "stringEquals" - } - } - }, - { - "state": "failure", - "matcher": { - "output": { - "path": "streamingImage.state", - "expected": "DELETE_FAILED", - "comparator": "stringEquals" - } - } - } - ] - } - } - } - }, - "com.amazonaws.nimble#GetStreamingImageRequest": { - "type": "structure", - "members": { - "streamingImageId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The streaming image ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "studioId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The studio ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.nimble#GetStreamingImageResponse": { - "type": "structure", - "members": { - "streamingImage": { - "target": "com.amazonaws.nimble#StreamingImage", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

The streaming image.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#GetStreamingSession": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#GetStreamingSessionRequest" - }, - "output": { - "target": "com.amazonaws.nimble#GetStreamingSessionResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to get a streaming session", - "aws.iam#conditionKeys": ["nimble:requesterPrincipalId"], - "smithy.api#documentation": "

Gets StreamingSession resource.

\n

Invoke this operation to poll for a streaming session state while creating or deleting\n a session.

", - "smithy.api#http": { - "method": "GET", - "uri": "/2020-08-01/studios/{studioId}/streaming-sessions/{sessionId}", - "code": 200 - }, - "smithy.api#readonly": {}, - "smithy.waiters#waitable": { - "StreamingSessionReady": { - "minDelay": 10, - "maxDelay": 1800, - "documentation": "Wait until a StreamingSession is ready. Use this after invoking CreateStreamingSession, StartStreamingSession", - "acceptors": [ - { - "state": "success", - "matcher": { - "output": { - "path": "session.state", - "expected": "READY", - "comparator": "stringEquals" - } - } - }, - { - "state": "failure", - "matcher": { - "output": { - "path": "session.state", - "expected": "CREATE_FAILED", - "comparator": "stringEquals" - } - } - }, - { - "state": "failure", - "matcher": { - "output": { - "path": "session.state", - "expected": "START_FAILED", - "comparator": "stringEquals" - } - } - } - ] - }, - "StreamingSessionStopped": { - "minDelay": 5, - "maxDelay": 900, - "documentation": "Wait until a StreamingSessionStopped. Use this after invoking StopStreamingSession", - "acceptors": [ - { - "state": "success", - "matcher": { - "output": { - "path": "session.state", - "expected": "STOPPED", - "comparator": "stringEquals" - } - } - }, - { - "state": "failure", - "matcher": { - "output": { - "path": "session.state", - "expected": "STOP_FAILED", - "comparator": "stringEquals" - } - } - } - ] - }, - "StreamingSessionDeleted": { - "minDelay": 5, - "maxDelay": 900, - "documentation": "Wait until a StreamingSessionDeleted. Use this after invoking DeleteStreamingSession", - "acceptors": [ - { - "state": "success", - "matcher": { - "output": { - "path": "session.state", - "expected": "DELETED", - "comparator": "stringEquals" - } - } - }, - { - "state": "failure", - "matcher": { - "output": { - "path": "session.state", - "expected": "DELETE_FAILED", - "comparator": "stringEquals" - } - } - } - ] - } - } - } - }, - "com.amazonaws.nimble#GetStreamingSessionBackup": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#GetStreamingSessionBackupRequest" - }, - "output": { - "target": "com.amazonaws.nimble#GetStreamingSessionBackupResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to get a streaming session backup", - "aws.iam#conditionKeys": ["nimble:requesterPrincipalId"], - "smithy.api#documentation": "

Gets StreamingSessionBackup resource.

\n

Invoke this operation to poll for a streaming session backup while stopping a\n streaming session.

", - "smithy.api#http": { - "method": "GET", - "uri": "/2020-08-01/studios/{studioId}/streaming-session-backups/{backupId}", - "code": 200 - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.nimble#GetStreamingSessionBackupRequest": { - "type": "structure", - "members": { - "backupId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The ID of the backup.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "studioId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The studio ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.nimble#GetStreamingSessionBackupResponse": { - "type": "structure", - "members": { - "streamingSessionBackup": { - "target": "com.amazonaws.nimble#StreamingSessionBackup", - "traits": { - "smithy.api#documentation": "

Information about the streaming session backup.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#GetStreamingSessionRequest": { - "type": "structure", - "members": { - "sessionId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The streaming session ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "studioId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The studio ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.nimble#GetStreamingSessionResponse": { - "type": "structure", - "members": { - "session": { - "target": "com.amazonaws.nimble#StreamingSession", - "traits": { - "smithy.api#documentation": "

The session.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#GetStreamingSessionStream": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#GetStreamingSessionStreamRequest" - }, - "output": { - "target": "com.amazonaws.nimble#GetStreamingSessionStreamResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to get a streaming session", - "aws.iam#conditionKeys": ["nimble:requesterPrincipalId"], - "smithy.api#documentation": "

Gets a StreamingSessionStream for a streaming session.

\n

Invoke this operation to poll the resource after invoking\n CreateStreamingSessionStream.

\n

After the StreamingSessionStream changes to the READY state,\n the url property will contain a stream to be used with the DCV streaming client.

", - "smithy.api#http": { - "method": "GET", - "uri": "/2020-08-01/studios/{studioId}/streaming-sessions/{sessionId}/streams/{streamId}", - "code": 200 - }, - "smithy.api#readonly": {}, - "smithy.waiters#waitable": { - "StreamingSessionStreamReady": { - "minDelay": 5, - "maxDelay": 150, - "documentation": "Wait until a StreamingSessionStream is ready. Use this after invoking CreateStreamingSessionStream", - "acceptors": [ - { - "state": "success", - "matcher": { - "output": { - "path": "stream.state", - "expected": "READY", - "comparator": "stringEquals" - } - } - }, - { - "state": "failure", - "matcher": { - "output": { - "path": "stream.state", - "expected": "CREATE_FAILED", - "comparator": "stringEquals" - } - } - } - ] - } - } - } - }, - "com.amazonaws.nimble#GetStreamingSessionStreamRequest": { - "type": "structure", - "members": { - "sessionId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The streaming session ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "streamId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The streaming session stream ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "studioId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The studio ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.nimble#GetStreamingSessionStreamResponse": { - "type": "structure", - "members": { - "stream": { - "target": "com.amazonaws.nimble#StreamingSessionStream", - "traits": { - "smithy.api#documentation": "

The stream.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#GetStudio": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#GetStudioRequest" - }, - "output": { - "target": "com.amazonaws.nimble#GetStudioResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to get a studio", - "smithy.api#documentation": "

Get a studio resource.

", - "smithy.api#http": { - "method": "GET", - "uri": "/2020-08-01/studios/{studioId}", - "code": 200 - }, - "smithy.api#readonly": {}, - "smithy.waiters#waitable": { - "StudioReady": { - "documentation": "Wait until a Studio is Ready. Use this after invoking CreateStudio, UpdateStudio, or StartStudioSSOConfigurationRepair", - "acceptors": [ - { - "state": "success", - "matcher": { - "output": { - "path": "studio.state", - "expected": "READY", - "comparator": "stringEquals" - } - } - }, - { - "state": "failure", - "matcher": { - "output": { - "path": "studio.state", - "expected": "CREATE_FAILED", - "comparator": "stringEquals" - } - } - }, - { - "state": "failure", - "matcher": { - "output": { - "path": "studio.state", - "expected": "UPDATE_FAILED", - "comparator": "stringEquals" - } - } - } - ] - }, - "StudioDeleted": { - "documentation": "Wait until a Studio is Deleted. Use this after invoking DeleteStudio.", - "acceptors": [ - { - "state": "success", - "matcher": { - "output": { - "path": "studio.state", - "expected": "DELETED", - "comparator": "stringEquals" - } - } - }, - { - "state": "failure", - "matcher": { - "output": { - "path": "studio.state", - "expected": "DELETE_FAILED", - "comparator": "stringEquals" - } - } - } - ] - } - } - } - }, - "com.amazonaws.nimble#GetStudioComponent": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#GetStudioComponentRequest" - }, - "output": { - "target": "com.amazonaws.nimble#GetStudioComponentResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to get a studio component", - "smithy.api#documentation": "

Gets a studio component resource.

", - "smithy.api#http": { - "method": "GET", - "uri": "/2020-08-01/studios/{studioId}/studio-components/{studioComponentId}", - "code": 200 - }, - "smithy.api#readonly": {}, - "smithy.waiters#waitable": { - "StudioComponentReady": { - "documentation": "Wait until a StudioComponent is Ready. Use this after invoking CreateStudioComponent or UpdateStudioComponent", - "acceptors": [ - { - "state": "success", - "matcher": { - "output": { - "path": "studioComponent.state", - "expected": "READY", - "comparator": "stringEquals" - } - } - }, - { - "state": "failure", - "matcher": { - "output": { - "path": "studioComponent.state", - "expected": "CREATE_FAILED", - "comparator": "stringEquals" - } - } - }, - { - "state": "failure", - "matcher": { - "output": { - "path": "studioComponent.state", - "expected": "UPDATE_FAILED", - "comparator": "stringEquals" - } - } - } - ] - }, - "StudioComponentDeleted": { - "minDelay": 1, - "maxDelay": 120, - "documentation": "Wait until a StudioComponent Deleted. Use this after invoking DeleteStudioComponent", - "acceptors": [ - { - "state": "success", - "matcher": { - "output": { - "path": "studioComponent.state", - "expected": "DELETED", - "comparator": "stringEquals" - } - } - }, - { - "state": "failure", - "matcher": { - "output": { - "path": "studioComponent.state", - "expected": "DELETE_FAILED", - "comparator": "stringEquals" - } - } - } - ] - } - } - } - }, - "com.amazonaws.nimble#GetStudioComponentRequest": { - "type": "structure", - "members": { - "studioComponentId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The studio component ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "studioId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The studio ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.nimble#GetStudioComponentResponse": { - "type": "structure", - "members": { - "studioComponent": { - "target": "com.amazonaws.nimble#StudioComponent", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

Information about the studio component.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#GetStudioMember": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#GetStudioMemberRequest" - }, - "output": { - "target": "com.amazonaws.nimble#GetStudioMemberResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to delete a studio member", - "smithy.api#documentation": "

Get a user's membership in a studio.

", - "smithy.api#http": { - "method": "GET", - "uri": "/2020-08-01/studios/{studioId}/membership/{principalId}", - "code": 200 - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.nimble#GetStudioMemberRequest": { - "type": "structure", - "members": { - "principalId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The principal ID. This currently supports a IAM Identity Center UserId.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "studioId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The studio ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.nimble#GetStudioMemberResponse": { - "type": "structure", - "members": { - "member": { - "target": "com.amazonaws.nimble#StudioMembership", - "traits": { - "smithy.api#documentation": "

The member.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#GetStudioRequest": { - "type": "structure", - "members": { - "studioId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The studio ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.nimble#GetStudioResponse": { - "type": "structure", - "members": { - "studio": { - "target": "com.amazonaws.nimble#Studio", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

Information about a studio.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#InternalServerErrorException": { - "type": "structure", - "members": { - "code": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

A more specific error code.

" - } - }, - "context": { - "target": "com.amazonaws.nimble#ExceptionContext", - "traits": { - "smithy.api#documentation": "

The exception context.

" - } - }, - "message": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

A human-readable description of the error.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

An internal error has occurred. Please retry your request.

", - "smithy.api#error": "server", - "smithy.api#httpError": 500, - "smithy.api#retryable": {} - } - }, - "com.amazonaws.nimble#LaunchProfile": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.nimble#String", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

The Amazon Resource Name (ARN) that is assigned to a studio resource and uniquely\n identifies it. ARNs are unique across all Regions.

" - } - }, - "createdAt": { - "target": "com.amazonaws.nimble#Timestamp", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

The ISO timestamp in seconds for when the resource was created.

" - } - }, - "createdBy": { - "target": "com.amazonaws.nimble#String", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

The user ID of the user that created the launch profile.

" - } - }, - "description": { - "target": "com.amazonaws.nimble#LaunchProfileDescription", - "traits": { - "aws.cloudformation#cfnMutability": "full", - "smithy.api#documentation": "

A human-readable description of the launch profile.

" - } - }, - "ec2SubnetIds": { - "target": "com.amazonaws.nimble#EC2SubnetIdList", - "traits": { - "aws.cloudformation#cfnMutability": "full", - "smithy.api#documentation": "

Unique identifiers for a collection of EC2 subnets.

" - } - }, - "launchProfileId": { - "target": "com.amazonaws.nimble#LaunchProfileId", - "traits": { - "smithy.api#documentation": "

The ID of the launch profile used to control access from the streaming session.

" - } - }, - "launchProfileProtocolVersions": { - "target": "com.amazonaws.nimble#LaunchProfileProtocolVersionList", - "traits": { - "aws.cloudformation#cfnMutability": "full", - "smithy.api#documentation": "

The version number of the protocol that is used by the launch profile. The only valid\n version is \"2021-03-31\".

" - } - }, - "name": { - "target": "com.amazonaws.nimble#LaunchProfileName", - "traits": { - "aws.cloudformation#cfnMutability": "full", - "smithy.api#documentation": "

A friendly name for the launch profile.

" - } - }, - "state": { - "target": "com.amazonaws.nimble#LaunchProfileState", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

The current state.

" - } - }, - "statusCode": { - "target": "com.amazonaws.nimble#LaunchProfileStatusCode", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

The status code.

" - } - }, - "statusMessage": { - "target": "com.amazonaws.nimble#String", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

The status message for the launch profile.

" - } - }, - "streamConfiguration": { - "target": "com.amazonaws.nimble#StreamConfiguration", - "traits": { - "aws.cloudformation#cfnMutability": "full", - "smithy.api#documentation": "

A configuration for a streaming session.

" - } - }, - "studioComponentIds": { - "target": "com.amazonaws.nimble#LaunchProfileStudioComponentIdList", - "traits": { - "aws.cloudformation#cfnMutability": "full", - "smithy.api#documentation": "

Unique identifiers for a collection of studio components that can be used with this\n launch profile.

" - } - }, - "tags": { - "target": "com.amazonaws.nimble#Tags", - "traits": { - "aws.cloudformation#cfnMutability": "create-and-read", - "smithy.api#documentation": "

A collection of labels, in the form of key-value pairs, that apply to this\n resource.

" - } - }, - "updatedAt": { - "target": "com.amazonaws.nimble#Timestamp", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

The ISO timestamp in seconds for when the resource was updated.

" - } - }, - "updatedBy": { - "target": "com.amazonaws.nimble#String", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

The user ID of the user that most recently updated the resource.

" - } - }, - "validationResults": { - "target": "com.amazonaws.nimble#ValidationResults", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

The list of the latest validation results.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

A launch profile controls your artist workforce’s access to studio components, like\n compute farms, shared file systems, managed file systems, and license server\n configurations, as well as instance types and Amazon Machine Images (AMIs).

\n

Studio administrators create launch profiles in the Nimble Studio console.\n Artists can use their launch profiles to launch an instance from the Nimble Studio\n portal. Each user’s launch profile defines how they can launch a streaming session. By\n default, studio admins can use all launch profiles.

" - } - }, - "com.amazonaws.nimble#LaunchProfileDescription": { - "type": "string", - "traits": { - "smithy.api#documentation": "

A human-readable description of the launch profile.

", - "smithy.api#length": { - "min": 0, - "max": 256 - }, - "smithy.api#sensitive": {} - } - }, - "com.amazonaws.nimble#LaunchProfileId": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 22 - }, - "smithy.api#pattern": "^[a-zA-Z0-9-_]*$" - } - }, - "com.amazonaws.nimble#LaunchProfileInitialization": { - "type": "structure", - "members": { - "activeDirectory": { - "target": "com.amazonaws.nimble#LaunchProfileInitializationActiveDirectory", - "traits": { - "smithy.api#documentation": "

A LaunchProfileInitializationActiveDirectory resource.

" - } - }, - "ec2SecurityGroupIds": { - "target": "com.amazonaws.nimble#LaunchProfileSecurityGroupIdList", - "traits": { - "smithy.api#documentation": "

The EC2 security groups that control access to the studio component.

" - } - }, - "launchProfileId": { - "target": "com.amazonaws.nimble#LaunchProfileId", - "traits": { - "smithy.api#documentation": "

The ID of the launch profile used to control access from the streaming session.

" - } - }, - "launchProfileProtocolVersion": { - "target": "com.amazonaws.nimble#LaunchProfileProtocolVersion", - "traits": { - "smithy.api#documentation": "

The version number of the protocol that is used by the launch profile. The only valid\n version is \"2021-03-31\".

" - } - }, - "launchPurpose": { - "target": "com.amazonaws.nimble#LaunchPurpose", - "traits": { - "smithy.api#documentation": "

The launch purpose.

" - } - }, - "name": { - "target": "com.amazonaws.nimble#LaunchProfileName", - "traits": { - "smithy.api#documentation": "

The name for the launch profile.

" - } - }, - "platform": { - "target": "com.amazonaws.nimble#LaunchProfilePlatform", - "traits": { - "smithy.api#documentation": "

The platform of the launch platform, either Windows or Linux.

" - } - }, - "systemInitializationScripts": { - "target": "com.amazonaws.nimble#LaunchProfileInitializationScriptList", - "traits": { - "smithy.api#documentation": "

The system initializtion scripts.

" - } - }, - "userInitializationScripts": { - "target": "com.amazonaws.nimble#LaunchProfileInitializationScriptList", - "traits": { - "smithy.api#documentation": "

The user initializtion scripts.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

A launch profile initialization contains information required for a workstation or\n server to connect to a launch profile.

\n

This includes scripts, endpoints, security groups, subnets, and other\n configuration.

" - } - }, - "com.amazonaws.nimble#LaunchProfileInitializationActiveDirectory": { - "type": "structure", - "members": { - "computerAttributes": { - "target": "com.amazonaws.nimble#ActiveDirectoryComputerAttributeList", - "traits": { - "smithy.api#documentation": "

A collection of custom attributes for an Active Directory computer.

" - } - }, - "directoryId": { - "target": "com.amazonaws.nimble#DirectoryId", - "traits": { - "smithy.api#documentation": "

The directory ID of the Directory Service for Microsoft Active Directory to access using this launch\n profile.

" - } - }, - "directoryName": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The directory name.

" - } - }, - "dnsIpAddresses": { - "target": "com.amazonaws.nimble#ActiveDirectoryDnsIpAddressList", - "traits": { - "smithy.api#documentation": "

The DNS IP address.

" - } - }, - "organizationalUnitDistinguishedName": { - "target": "com.amazonaws.nimble#ActiveDirectoryOrganizationalUnitDistinguishedName", - "traits": { - "smithy.api#documentation": "

The name for the organizational unit distinguished name.

" - } - }, - "studioComponentId": { - "target": "com.amazonaws.nimble#StudioComponentId", - "traits": { - "smithy.api#documentation": "

The unique identifier for a studio component resource.

" - } - }, - "studioComponentName": { - "target": "com.amazonaws.nimble#StudioComponentName", - "traits": { - "smithy.api#documentation": "

The name for the studio component.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The launch profile initialization Active Directory contains information required for\n the launch profile to connect to the Active Directory.

" - } - }, - "com.amazonaws.nimble#LaunchProfileInitializationScript": { - "type": "structure", - "members": { - "script": { - "target": "com.amazonaws.nimble#StudioComponentInitializationScriptContent", - "traits": { - "smithy.api#documentation": "

The initialization script.

" - } - }, - "studioComponentId": { - "target": "com.amazonaws.nimble#StudioComponentId", - "traits": { - "smithy.api#documentation": "

The unique identifier for a studio component resource.

" - } - }, - "studioComponentName": { - "target": "com.amazonaws.nimble#StudioComponentName", - "traits": { - "smithy.api#documentation": "

The name for the studio component.

" - } - }, - "secureInitializationRoleArn": { - "target": "com.amazonaws.nimble#RoleArn", - "traits": { - "smithy.api#documentation": "

An IAM role attached to Studio Component when the system initialization\n script runs which give the studio component access to Amazon Web Services resources when\n the system initialization script runs.

" - } - }, - "runtimeRoleArn": { - "target": "com.amazonaws.nimble#RoleArn", - "traits": { - "smithy.api#documentation": "

An IAM role attached to a Studio Component that gives the studio\n component access to Amazon Web Services resources at anytime while the instance is\n running.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The launch profile initialization script is used when start streaming session\n runs.

" - } - }, - "com.amazonaws.nimble#LaunchProfileInitializationScriptList": { - "type": "list", - "member": { - "target": "com.amazonaws.nimble#LaunchProfileInitializationScript" - } - }, - "com.amazonaws.nimble#LaunchProfileList": { - "type": "list", - "member": { - "target": "com.amazonaws.nimble#LaunchProfile" - } - }, - "com.amazonaws.nimble#LaunchProfileMembership": { - "type": "structure", - "members": { - "identityStoreId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The ID of the identity store.

" - } - }, - "persona": { - "target": "com.amazonaws.nimble#LaunchProfilePersona", - "traits": { - "smithy.api#documentation": "

The persona.

" - } - }, - "principalId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The principal ID.

" - } - }, - "sid": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The Active Directory Security Identifier for this user, if available.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Studio admins can use launch profile membership to delegate launch profile access to\n studio users in the Nimble Studio portal without writing or maintaining complex\n IAM policies. A launch profile member is a user association from your\n studio identity source who is granted permissions to a launch profile.

\n

A launch profile member (type USER) provides the following permissions to that launch\n profile:

\n
    \n
  • \n

    GetLaunchProfile

    \n
  • \n
  • \n

    GetLaunchProfileInitialization

    \n
  • \n
  • \n

    GetLaunchProfileMembers

    \n
  • \n
  • \n

    GetLaunchProfileMember

    \n
  • \n
  • \n

    CreateStreamingSession

    \n
  • \n
  • \n

    GetLaunchProfileDetails

    \n
  • \n
" - } - }, - "com.amazonaws.nimble#LaunchProfileMembershipList": { - "type": "list", - "member": { - "target": "com.amazonaws.nimble#LaunchProfileMembership" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 20 - } - } - }, - "com.amazonaws.nimble#LaunchProfileName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 64 - }, - "smithy.api#sensitive": {} - } - }, - "com.amazonaws.nimble#LaunchProfilePersona": { - "type": "enum", - "members": { - "USER": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "USER" - } - } - } - }, - "com.amazonaws.nimble#LaunchProfilePlatform": { - "type": "enum", - "members": { - "LINUX": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "LINUX" - } - }, - "WINDOWS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "WINDOWS" - } - } - } - }, - "com.amazonaws.nimble#LaunchProfileProtocolVersion": { - "type": "string", - "traits": { - "smithy.api#documentation": "

The version number of the protocol that is used by the launch profile. The only valid\n version is \"2021-03-31\".

", - "smithy.api#length": { - "min": 0, - "max": 10 - }, - "smithy.api#pattern": "^2021\\-03\\-31$" - } - }, - "com.amazonaws.nimble#LaunchProfileProtocolVersionList": { - "type": "list", - "member": { - "target": "com.amazonaws.nimble#LaunchProfileProtocolVersion" - } - }, - "com.amazonaws.nimble#LaunchProfileResource": { - "type": "resource", - "identifiers": { - "launchProfileId": { - "target": "com.amazonaws.nimble#String" - } - }, - "create": { - "target": "com.amazonaws.nimble#CreateLaunchProfile" - }, - "read": { - "target": "com.amazonaws.nimble#GetLaunchProfile" - }, - "update": { - "target": "com.amazonaws.nimble#UpdateLaunchProfile" - }, - "delete": { - "target": "com.amazonaws.nimble#DeleteLaunchProfile" - }, - "list": { - "target": "com.amazonaws.nimble#ListLaunchProfiles" - }, - "operations": [ - { - "target": "com.amazonaws.nimble#DeleteLaunchProfileMember" - }, - { - "target": "com.amazonaws.nimble#GetLaunchProfileDetails" - }, - { - "target": "com.amazonaws.nimble#GetLaunchProfileInitialization" - }, - { - "target": "com.amazonaws.nimble#GetLaunchProfileMember" - }, - { - "target": "com.amazonaws.nimble#ListLaunchProfileMembers" - }, - { - "target": "com.amazonaws.nimble#PutLaunchProfileMembers" - }, - { - "target": "com.amazonaws.nimble#UpdateLaunchProfileMember" - } - ], - "traits": { - "aws.api#arn": { - "template": "launch-profile/{launchProfileId}" - }, - "aws.cloudformation#cfnResource": { - "name": "LaunchProfile", - "additionalSchemas": ["com.amazonaws.nimble#LaunchProfile"] - }, - "aws.iam#conditionKeys": [ - "aws:ResourceTag/${TagKey}", - "aws:RequestTag/${TagKey}", - "aws:TagKeys", - "nimble:studioId" - ], - "aws.iam#disableConditionKeyInference": {}, - "aws.iam#iamResource": { - "name": "launch-profile" - }, - "smithy.api#documentation": "Represents a launch profile which delegates access to a collection of studio components to studio users", - "smithy.api#externalDocumentation": { - "CFNSourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-nimblestudio" - } - } - }, - "com.amazonaws.nimble#LaunchProfileSecurityGroupIdList": { - "type": "list", - "member": { - "target": "com.amazonaws.nimble#SecurityGroupId" - }, - "traits": { - "smithy.api#length": { - "min": 1 - } - } - }, - "com.amazonaws.nimble#LaunchProfileState": { - "type": "enum", - "members": { - "CREATE_IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CREATE_IN_PROGRESS" - } - }, - "READY": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "READY" - } - }, - "UPDATE_IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "UPDATE_IN_PROGRESS" - } - }, - "DELETE_IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DELETE_IN_PROGRESS" - } - }, - "DELETED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DELETED" - } - }, - "DELETE_FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DELETE_FAILED" - } - }, - "CREATE_FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CREATE_FAILED" - } - }, - "UPDATE_FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "UPDATE_FAILED" - } - } - } - }, - "com.amazonaws.nimble#LaunchProfileStateList": { - "type": "list", - "member": { - "target": "com.amazonaws.nimble#LaunchProfileState" - } - }, - "com.amazonaws.nimble#LaunchProfileStatusCode": { - "type": "enum", - "members": { - "LAUNCH_PROFILE_CREATED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "LAUNCH_PROFILE_CREATED" - } - }, - "LAUNCH_PROFILE_UPDATED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "LAUNCH_PROFILE_UPDATED" - } - }, - "LAUNCH_PROFILE_DELETED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "LAUNCH_PROFILE_DELETED" - } - }, - "LAUNCH_PROFILE_CREATE_IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "LAUNCH_PROFILE_CREATE_IN_PROGRESS" - } - }, - "LAUNCH_PROFILE_UPDATE_IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "LAUNCH_PROFILE_UPDATE_IN_PROGRESS" - } - }, - "LAUNCH_PROFILE_DELETE_IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "LAUNCH_PROFILE_DELETE_IN_PROGRESS" - } - }, - "INTERNAL_ERROR": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "INTERNAL_ERROR" - } - }, - "STREAMING_IMAGE_NOT_FOUND": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "STREAMING_IMAGE_NOT_FOUND" - } - }, - "STREAMING_IMAGE_NOT_READY": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "STREAMING_IMAGE_NOT_READY" - } - }, - "LAUNCH_PROFILE_WITH_STREAM_SESSIONS_NOT_DELETED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "LAUNCH_PROFILE_WITH_STREAM_SESSIONS_NOT_DELETED" - } - }, - "ENCRYPTION_KEY_ACCESS_DENIED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ENCRYPTION_KEY_ACCESS_DENIED" - } - }, - "ENCRYPTION_KEY_NOT_FOUND": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ENCRYPTION_KEY_NOT_FOUND" - } - }, - "INVALID_SUBNETS_PROVIDED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "INVALID_SUBNETS_PROVIDED" - } - }, - "INVALID_INSTANCE_TYPES_PROVIDED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "INVALID_INSTANCE_TYPES_PROVIDED" - } - }, - "INVALID_SUBNETS_COMBINATION": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "INVALID_SUBNETS_COMBINATION" - } - } - } - }, - "com.amazonaws.nimble#LaunchProfileStudioComponentIdList": { - "type": "list", - "member": { - "target": "com.amazonaws.nimble#String" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 100 - } - } - }, - "com.amazonaws.nimble#LaunchProfileValidationState": { - "type": "enum", - "members": { - "VALIDATION_NOT_STARTED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "VALIDATION_NOT_STARTED" - } - }, - "VALIDATION_IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "VALIDATION_IN_PROGRESS" - } - }, - "VALIDATION_SUCCESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "VALIDATION_SUCCESS" - } - }, - "VALIDATION_FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "VALIDATION_FAILED" - } - }, - "VALIDATION_FAILED_INTERNAL_SERVER_ERROR": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "VALIDATION_FAILED_INTERNAL_SERVER_ERROR" - } - } - } - }, - "com.amazonaws.nimble#LaunchProfileValidationStatusCode": { - "type": "enum", - "members": { - "VALIDATION_NOT_STARTED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "VALIDATION_NOT_STARTED" - } - }, - "VALIDATION_IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "VALIDATION_IN_PROGRESS" - } - }, - "VALIDATION_SUCCESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "VALIDATION_SUCCESS" - } - }, - "VALIDATION_FAILED_INVALID_SUBNET_ROUTE_TABLE_ASSOCIATION": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "VALIDATION_FAILED_INVALID_SUBNET_ROUTE_TABLE_ASSOCIATION" - } - }, - "VALIDATION_FAILED_SUBNET_NOT_FOUND": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "VALIDATION_FAILED_SUBNET_NOT_FOUND" - } - }, - "VALIDATION_FAILED_INVALID_SECURITY_GROUP_ASSOCIATION": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "VALIDATION_FAILED_INVALID_SECURITY_GROUP_ASSOCIATION" - } - }, - "VALIDATION_FAILED_INVALID_ACTIVE_DIRECTORY": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "VALIDATION_FAILED_INVALID_ACTIVE_DIRECTORY" - } - }, - "VALIDATION_FAILED_UNAUTHORIZED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "VALIDATION_FAILED_UNAUTHORIZED" - } - }, - "VALIDATION_FAILED_INTERNAL_SERVER_ERROR": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "VALIDATION_FAILED_INTERNAL_SERVER_ERROR" - } - } - } - }, - "com.amazonaws.nimble#LaunchProfileValidationStatusMessage": { - "type": "string" - }, - "com.amazonaws.nimble#LaunchProfileValidationType": { - "type": "enum", - "members": { - "VALIDATE_ACTIVE_DIRECTORY_STUDIO_COMPONENT": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "VALIDATE_ACTIVE_DIRECTORY_STUDIO_COMPONENT" - } - }, - "VALIDATE_SUBNET_ASSOCIATION": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "VALIDATE_SUBNET_ASSOCIATION" - } - }, - "VALIDATE_NETWORK_ACL_ASSOCIATION": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "VALIDATE_NETWORK_ACL_ASSOCIATION" - } - }, - "VALIDATE_SECURITY_GROUP_ASSOCIATION": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "VALIDATE_SECURITY_GROUP_ASSOCIATION" - } - } - } - }, - "com.amazonaws.nimble#LaunchPurpose": { - "type": "string", - "traits": { - "smithy.api#documentation": "

The launch purpose.

", - "smithy.api#length": { - "min": 0, - "max": 64 - }, - "smithy.api#pattern": "^[A-Z0-9_]+$" - } - }, - "com.amazonaws.nimble#LicenseServiceConfiguration": { - "type": "structure", - "members": { - "endpoint": { - "target": "com.amazonaws.nimble#SensitiveString", - "traits": { - "smithy.api#documentation": "

The endpoint of the license service that is accessed by the studio component\n resource.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The configuration for a license service that is associated with a studio\n resource.

" - } - }, - "com.amazonaws.nimble#LinuxMountPoint": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 128 - }, - "smithy.api#pattern": "^(/?|(\\$HOME)?(/[^/\\n\\s\\\\]+)*)$", - "smithy.api#sensitive": {} - } - }, - "com.amazonaws.nimble#ListEulaAcceptances": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#ListEulaAcceptancesRequest" - }, - "output": { - "target": "com.amazonaws.nimble#ListEulaAcceptancesResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to list EULA acceptances", - "smithy.api#documentation": "

List EULA acceptances.

", - "smithy.api#http": { - "method": "GET", - "uri": "/2020-08-01/studios/{studioId}/eula-acceptances", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "items": "eulaAcceptances" - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.nimble#ListEulaAcceptancesRequest": { - "type": "structure", - "members": { - "eulaIds": { - "target": "com.amazonaws.nimble#StringList", - "traits": { - "smithy.api#documentation": "

The list of EULA IDs that have been previously accepted.

", - "smithy.api#httpQuery": "eulaIds" - } - }, - "nextToken": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The token for the next set of results, or null if there are no more results.

", - "smithy.api#httpQuery": "nextToken" - } - }, - "studioId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The studio ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.nimble#ListEulaAcceptancesResponse": { - "type": "structure", - "members": { - "eulaAcceptances": { - "target": "com.amazonaws.nimble#EulaAcceptanceList", - "traits": { - "smithy.api#documentation": "

A collection of EULA acceptances.

" - } - }, - "nextToken": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The token for the next set of results, or null if there are no more results.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#ListEulas": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#ListEulasRequest" - }, - "output": { - "target": "com.amazonaws.nimble#ListEulasResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to list EULAs", - "smithy.api#documentation": "

List EULAs.

", - "smithy.api#http": { - "method": "GET", - "uri": "/2020-08-01/eulas", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "items": "eulas" - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.nimble#ListEulasRequest": { - "type": "structure", - "members": { - "eulaIds": { - "target": "com.amazonaws.nimble#StringList", - "traits": { - "smithy.api#documentation": "

The list of EULA IDs that should be returned

", - "smithy.api#httpQuery": "eulaIds" - } - }, - "nextToken": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The token for the next set of results, or null if there are no more results.

", - "smithy.api#httpQuery": "nextToken" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.nimble#ListEulasResponse": { - "type": "structure", - "members": { - "eulas": { - "target": "com.amazonaws.nimble#EulaList", - "traits": { - "smithy.api#documentation": "

A collection of EULA resources.

" - } - }, - "nextToken": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The token for the next set of results, or null if there are no more results.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#ListLaunchProfileMembers": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#ListLaunchProfileMembersRequest" - }, - "output": { - "target": "com.amazonaws.nimble#ListLaunchProfileMembersResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to list launch profile members", - "smithy.api#documentation": "

Get all users in a given launch profile membership.

", - "smithy.api#http": { - "method": "GET", - "uri": "/2020-08-01/studios/{studioId}/launch-profiles/{launchProfileId}/membership", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "pageSize": "maxResults", - "items": "members" - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.nimble#ListLaunchProfileMembersRequest": { - "type": "structure", - "members": { - "launchProfileId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The ID of the launch profile used to control access from the streaming session.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "maxResults": { - "target": "com.amazonaws.nimble#MaxResults", - "traits": { - "smithy.api#default": 100, - "smithy.api#documentation": "

The max number of results to return in the response.

", - "smithy.api#httpQuery": "maxResults" - } - }, - "nextToken": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The token for the next set of results, or null if there are no more results.

", - "smithy.api#httpQuery": "nextToken" - } - }, - "studioId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The studio ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.nimble#ListLaunchProfileMembersResponse": { - "type": "structure", - "members": { - "members": { - "target": "com.amazonaws.nimble#LaunchProfileMembershipList", - "traits": { - "smithy.api#documentation": "

A list of members.

" - } - }, - "nextToken": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The token for the next set of results, or null if there are no more results.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#ListLaunchProfiles": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#ListLaunchProfilesRequest" - }, - "output": { - "target": "com.amazonaws.nimble#ListLaunchProfilesResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to list launch profiles", - "aws.iam#conditionKeys": ["nimble:principalId", "nimble:requesterPrincipalId"], - "smithy.api#documentation": "

List all the launch profiles a studio.

", - "smithy.api#http": { - "method": "GET", - "uri": "/2020-08-01/studios/{studioId}/launch-profiles", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "pageSize": "maxResults", - "items": "launchProfiles" - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.nimble#ListLaunchProfilesRequest": { - "type": "structure", - "members": { - "maxResults": { - "target": "com.amazonaws.nimble#MaxResults", - "traits": { - "smithy.api#default": 100, - "smithy.api#documentation": "

The max number of results to return in the response.

", - "smithy.api#httpQuery": "maxResults" - } - }, - "nextToken": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The token for the next set of results, or null if there are no more results.

", - "smithy.api#httpQuery": "nextToken" - } - }, - "principalId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The principal ID. This currently supports a IAM Identity Center UserId.

", - "smithy.api#httpQuery": "principalId" - } - }, - "states": { - "target": "com.amazonaws.nimble#LaunchProfileStateList", - "traits": { - "smithy.api#documentation": "

Filter this request to launch profiles in any of the given states.

", - "smithy.api#httpQuery": "states" - } - }, - "studioId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The studio ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.nimble#ListLaunchProfilesResponse": { - "type": "structure", - "members": { - "launchProfiles": { - "target": "com.amazonaws.nimble#LaunchProfileList", - "traits": { - "smithy.api#documentation": "

A collection of launch profiles.

" - } - }, - "nextToken": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The token for the next set of results, or null if there are no more results.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#ListStreamingImages": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#ListStreamingImagesRequest" - }, - "output": { - "target": "com.amazonaws.nimble#ListStreamingImagesResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to list streaming images", - "smithy.api#documentation": "

List the streaming image resources available to this studio.

\n

This list will contain both images provided by Amazon Web Services, as well as\n streaming images that you have created in your studio.

", - "smithy.api#http": { - "method": "GET", - "uri": "/2020-08-01/studios/{studioId}/streaming-images", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "items": "streamingImages" - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.nimble#ListStreamingImagesRequest": { - "type": "structure", - "members": { - "nextToken": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The token for the next set of results, or null if there are no more results.

", - "smithy.api#httpQuery": "nextToken" - } - }, - "owner": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

Filter this request to streaming images with the given owner

", - "smithy.api#httpQuery": "owner" - } - }, - "studioId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The studio ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.nimble#ListStreamingImagesResponse": { - "type": "structure", - "members": { - "nextToken": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The token for the next set of results, or null if there are no more results.

" - } - }, - "streamingImages": { - "target": "com.amazonaws.nimble#StreamingImageList", - "traits": { - "smithy.api#documentation": "

A collection of streaming images.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#ListStreamingSessionBackups": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#ListStreamingSessionBackupsRequest" - }, - "output": { - "target": "com.amazonaws.nimble#ListStreamingSessionBackupsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to list streaming session backups", - "aws.iam#conditionKeys": ["nimble:ownedBy", "nimble:requesterPrincipalId"], - "smithy.api#documentation": "

Lists the backups of a streaming session in a studio.

", - "smithy.api#http": { - "method": "GET", - "uri": "/2020-08-01/studios/{studioId}/streaming-session-backups", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "items": "streamingSessionBackups" - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.nimble#ListStreamingSessionBackupsRequest": { - "type": "structure", - "members": { - "nextToken": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The token for the next set of results, or null if there are no more results.

", - "smithy.api#httpQuery": "nextToken" - } - }, - "ownedBy": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The user ID of the user that owns the streaming session.

", - "smithy.api#httpQuery": "ownedBy" - } - }, - "studioId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The studio ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.nimble#ListStreamingSessionBackupsResponse": { - "type": "structure", - "members": { - "nextToken": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The token for the next set of results, or null if there are no more results.

" - } - }, - "streamingSessionBackups": { - "target": "com.amazonaws.nimble#StreamingSessionBackupList", - "traits": { - "smithy.api#documentation": "

Information about the streaming session backups.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#ListStreamingSessions": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#ListStreamingSessionsRequest" - }, - "output": { - "target": "com.amazonaws.nimble#ListStreamingSessionsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to list streaming sessions", - "aws.iam#conditionKeys": ["nimble:createdBy", "nimble:ownedBy", "nimble:requesterPrincipalId"], - "smithy.api#documentation": "

Lists the streaming sessions in a studio.

", - "smithy.api#http": { - "method": "GET", - "uri": "/2020-08-01/studios/{studioId}/streaming-sessions", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "items": "sessions" - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.nimble#ListStreamingSessionsRequest": { - "type": "structure", - "members": { - "createdBy": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

Filters the request to streaming sessions created by the given user.

", - "smithy.api#httpQuery": "createdBy" - } - }, - "nextToken": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The token for the next set of results, or null if there are no more results.

", - "smithy.api#httpQuery": "nextToken" - } - }, - "ownedBy": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

Filters the request to streaming session owned by the given user

", - "smithy.api#httpQuery": "ownedBy" - } - }, - "sessionIds": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

Filters the request to only the provided session IDs.

", - "smithy.api#httpQuery": "sessionIds" - } - }, - "studioId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The studio ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.nimble#ListStreamingSessionsResponse": { - "type": "structure", - "members": { - "nextToken": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The token for the next set of results, or null if there are no more results.

" - } - }, - "sessions": { - "target": "com.amazonaws.nimble#StreamingSessionList", - "traits": { - "smithy.api#documentation": "

A collection of streaming sessions.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#ListStudioComponents": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#ListStudioComponentsRequest" - }, - "output": { - "target": "com.amazonaws.nimble#ListStudioComponentsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to list studio components", - "smithy.api#documentation": "

Lists the StudioComponents in a studio.

", - "smithy.api#http": { - "method": "GET", - "uri": "/2020-08-01/studios/{studioId}/studio-components", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "pageSize": "maxResults", - "items": "studioComponents" - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.nimble#ListStudioComponentsRequest": { - "type": "structure", - "members": { - "maxResults": { - "target": "com.amazonaws.nimble#MaxResults", - "traits": { - "smithy.api#default": 100, - "smithy.api#documentation": "

The max number of results to return in the response.

", - "smithy.api#httpQuery": "maxResults" - } - }, - "nextToken": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The token for the next set of results, or null if there are no more results.

", - "smithy.api#httpQuery": "nextToken" - } - }, - "states": { - "target": "com.amazonaws.nimble#StudioComponentStateList", - "traits": { - "smithy.api#documentation": "

Filters the request to studio components that are in one of the given states.

", - "smithy.api#httpQuery": "states" - } - }, - "studioId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The studio ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "types": { - "target": "com.amazonaws.nimble#StudioComponentTypeList", - "traits": { - "smithy.api#documentation": "

Filters the request to studio components that are of one of the given types.

", - "smithy.api#httpQuery": "types" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.nimble#ListStudioComponentsResponse": { - "type": "structure", - "members": { - "nextToken": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The token for the next set of results, or null if there are no more results.

" - } - }, - "studioComponents": { - "target": "com.amazonaws.nimble#StudioComponentList", - "traits": { - "smithy.api#documentation": "

A collection of studio components.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#ListStudioMembers": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#ListStudioMembersRequest" - }, - "output": { - "target": "com.amazonaws.nimble#ListStudioMembersResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to list studio members", - "smithy.api#documentation": "

Get all users in a given studio membership.

\n \n

\n ListStudioMembers only returns admin members.

\n
", - "smithy.api#http": { - "method": "GET", - "uri": "/2020-08-01/studios/{studioId}/membership", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "pageSize": "maxResults", - "items": "members" - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.nimble#ListStudioMembersRequest": { - "type": "structure", - "members": { - "maxResults": { - "target": "com.amazonaws.nimble#MaxResults", - "traits": { - "smithy.api#default": 100, - "smithy.api#documentation": "

The max number of results to return in the response.

", - "smithy.api#httpQuery": "maxResults" - } - }, - "nextToken": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The token for the next set of results, or null if there are no more results.

", - "smithy.api#httpQuery": "nextToken" - } - }, - "studioId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The studio ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.nimble#ListStudioMembersResponse": { - "type": "structure", - "members": { - "members": { - "target": "com.amazonaws.nimble#StudioMembershipList", - "traits": { - "smithy.api#documentation": "

A list of admin members.

" - } - }, - "nextToken": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The token for the next set of results, or null if there are no more results.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#ListStudios": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#ListStudiosRequest" - }, - "output": { - "target": "com.amazonaws.nimble#ListStudiosResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to list studios", - "smithy.api#documentation": "

List studios in your Amazon Web Services accounts in the requested Amazon Web Services Region.

", - "smithy.api#http": { - "method": "GET", - "uri": "/2020-08-01/studios", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "items": "studios" - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.nimble#ListStudiosRequest": { - "type": "structure", - "members": { - "nextToken": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The token for the next set of results, or null if there are no more results.

", - "smithy.api#httpQuery": "nextToken" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.nimble#ListStudiosResponse": { - "type": "structure", - "members": { - "nextToken": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The token for the next set of results, or null if there are no more results.

" - } - }, - "studios": { - "target": "com.amazonaws.nimble#StudioList", - "traits": { - "smithy.api#documentation": "

A collection of studios.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#ListTagsForResource": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#ListTagsForResourceRequest" - }, - "output": { - "target": "com.amazonaws.nimble#ListTagsForResourceResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to list all tags on a Nimble Studio resource", - "smithy.api#documentation": "

Gets the tags for a resource, given its Amazon Resource Names (ARN).

\n

This operation supports ARNs for all resource types in Nimble Studio that support\n tags, including studio, studio component, launch profile, streaming image, and streaming\n session. All resources that can be tagged will contain an ARN property, so you do not\n have to create this ARN yourself.

", - "smithy.api#http": { - "method": "GET", - "uri": "/2020-08-01/tags/{resourceArn}", - "code": 200 - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.nimble#ListTagsForResourceRequest": { - "type": "structure", - "members": { - "resourceArn": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource for which you want to list tags.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {}, - "smithy.api#references": [ - { - "resource": "com.amazonaws.nimble#StudioResource", - "ids": { - "studioId": "resourceArn" - } - }, - { - "resource": "com.amazonaws.nimble#StudioComponentResource", - "ids": { - "studioComponentId": "resourceArn" - } - }, - { - "resource": "com.amazonaws.nimble#LaunchProfileResource", - "ids": { - "launchProfileId": "resourceArn" - } - }, - { - "resource": "com.amazonaws.nimble#StreamingSessionResource", - "ids": { - "sessionId": "resourceArn" - } - }, - { - "resource": "com.amazonaws.nimble#StreamingImageResource", - "ids": { - "streamingImageId": "resourceArn" - } - } - ] - } - }, - "com.amazonaws.nimble#ListTagsForResourceResponse": { - "type": "structure", - "members": { - "tags": { - "target": "com.amazonaws.nimble#Tags", - "traits": { - "smithy.api#documentation": "

A collection of labels, in the form of key-value pairs, that apply to this\n resource.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#MaxResults": { - "type": "integer", - "traits": { - "smithy.api#default": 100, - "smithy.api#range": { - "min": 1, - "max": 100 - } - } - }, - "com.amazonaws.nimble#NewLaunchProfileMember": { - "type": "structure", - "members": { - "persona": { - "target": "com.amazonaws.nimble#LaunchProfilePersona", - "traits": { - "smithy.api#documentation": "

The persona.

", - "smithy.api#required": {} - } - }, - "principalId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The principal ID.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

A new member that is added to a launch profile.

" - } - }, - "com.amazonaws.nimble#NewLaunchProfileMemberList": { - "type": "list", - "member": { - "target": "com.amazonaws.nimble#NewLaunchProfileMember" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 20 - } - } - }, - "com.amazonaws.nimble#NewStudioMember": { - "type": "structure", - "members": { - "persona": { - "target": "com.amazonaws.nimble#StudioPersona", - "traits": { - "smithy.api#documentation": "

The persona.

", - "smithy.api#required": {} - } - }, - "principalId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The principal ID.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

A new studio user's membership.

" - } - }, - "com.amazonaws.nimble#NewStudioMemberList": { - "type": "list", - "member": { - "target": "com.amazonaws.nimble#NewStudioMember" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 20 - } - } - }, - "com.amazonaws.nimble#PutLaunchProfileMembers": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#PutLaunchProfileMembersRequest" - }, - "output": { - "target": "com.amazonaws.nimble#PutLaunchProfileMembersResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to add/update launch profile members", - "aws.iam#requiredActions": ["sso-directory:DescribeUsers"], - "smithy.api#documentation": "

Add/update users with given persona to launch profile membership.

", - "smithy.api#http": { - "method": "POST", - "uri": "/2020-08-01/studios/{studioId}/launch-profiles/{launchProfileId}/membership", - "code": 200 - } - } - }, - "com.amazonaws.nimble#PutLaunchProfileMembersRequest": { - "type": "structure", - "members": { - "clientToken": { - "target": "com.amazonaws.nimble#ClientToken", - "traits": { - "smithy.api#documentation": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request. If you don’t specify a client token, the Amazon Web Services SDK automatically\n generates a client token and uses it for the request to ensure idempotency.

", - "smithy.api#httpHeader": "X-Amz-Client-Token", - "smithy.api#idempotencyToken": {} - } - }, - "identityStoreId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The ID of the identity store.

", - "smithy.api#required": {} - } - }, - "launchProfileId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The ID of the launch profile used to control access from the streaming session.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "members": { - "target": "com.amazonaws.nimble#NewLaunchProfileMemberList", - "traits": { - "smithy.api#documentation": "

A list of members.

", - "smithy.api#required": {} - } - }, - "studioId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The studio ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.nimble#PutLaunchProfileMembersResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#PutStudioMembers": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#PutStudioMembersRequest" - }, - "output": { - "target": "com.amazonaws.nimble#PutStudioMembersResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to add/update studio members", - "aws.iam#requiredActions": ["sso-directory:DescribeUsers"], - "smithy.api#documentation": "

Add/update users with given persona to studio membership.

", - "smithy.api#http": { - "method": "POST", - "uri": "/2020-08-01/studios/{studioId}/membership", - "code": 200 - } - } - }, - "com.amazonaws.nimble#PutStudioMembersRequest": { - "type": "structure", - "members": { - "clientToken": { - "target": "com.amazonaws.nimble#ClientToken", - "traits": { - "smithy.api#documentation": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request. If you don’t specify a client token, the Amazon Web Services SDK automatically\n generates a client token and uses it for the request to ensure idempotency.

", - "smithy.api#httpHeader": "X-Amz-Client-Token", - "smithy.api#idempotencyToken": {} - } - }, - "identityStoreId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The ID of the identity store.

", - "smithy.api#required": {} - } - }, - "members": { - "target": "com.amazonaws.nimble#NewStudioMemberList", - "traits": { - "smithy.api#documentation": "

A list of members.

", - "smithy.api#required": {} - } - }, - "studioId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The studio ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.nimble#PutStudioMembersResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#Region": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 50 - }, - "smithy.api#pattern": "[a-z]{2}-?(iso|gov)?-{1}[a-z]*-{1}[0-9]" - } - }, - "com.amazonaws.nimble#ResourceNotFoundException": { - "type": "structure", - "members": { - "code": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

A more specific error code.

" - } - }, - "context": { - "target": "com.amazonaws.nimble#ExceptionContext", - "traits": { - "smithy.api#documentation": "

The exception context.

" - } - }, - "message": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

A human-readable description of the error.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The specified resource could not be found.

", - "smithy.api#error": "client", - "smithy.api#httpError": 404 - } - }, - "com.amazonaws.nimble#RoleArn": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 2048 - } - } - }, - "com.amazonaws.nimble#ScriptParameterKey": { - "type": "string", - "traits": { - "smithy.api#documentation": "

A script parameter key.

", - "smithy.api#length": { - "min": 1, - "max": 64 - }, - "smithy.api#pattern": "^[a-zA-Z_][a-zA-Z0-9_]+$" - } - }, - "com.amazonaws.nimble#ScriptParameterKeyValue": { - "type": "structure", - "members": { - "key": { - "target": "com.amazonaws.nimble#ScriptParameterKey", - "traits": { - "smithy.api#documentation": "

A script parameter key.

" - } - }, - "value": { - "target": "com.amazonaws.nimble#ScriptParameterValue", - "traits": { - "smithy.api#documentation": "

A script parameter value.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

A parameter for a studio component script, in the form of a key-value pair.

" - } - }, - "com.amazonaws.nimble#ScriptParameterValue": { - "type": "string", - "traits": { - "smithy.api#documentation": "

A script parameter value.

", - "smithy.api#length": { - "min": 1, - "max": 256 - } - } - }, - "com.amazonaws.nimble#SecurityGroupId": { - "type": "string" - }, - "com.amazonaws.nimble#SensitiveString": { - "type": "string", - "traits": { - "smithy.api#sensitive": {} - } - }, - "com.amazonaws.nimble#ServiceQuotaExceededException": { - "type": "structure", - "members": { - "code": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

A more specific error code.

" - } - }, - "context": { - "target": "com.amazonaws.nimble#ExceptionContext", - "traits": { - "smithy.api#documentation": "

The exception context.

" - } - }, - "message": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

A human-readable description of the error.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Your current quota does not allow you to perform the request action. You can request\n increases for some quotas, and other quotas cannot be increased.

\n

Please use Amazon Web Services Service Quotas to request an increase.

", - "smithy.api#error": "client", - "smithy.api#httpError": 402 - } - }, - "com.amazonaws.nimble#SessionBackupMode": { - "type": "enum", - "members": { - "AUTOMATIC": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "AUTOMATIC" - } - }, - "DEACTIVATED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DEACTIVATED" - } - } - } - }, - "com.amazonaws.nimble#SessionPersistenceMode": { - "type": "enum", - "members": { - "DEACTIVATED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DEACTIVATED" - } - }, - "ACTIVATED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ACTIVATED" - } - } - } - }, - "com.amazonaws.nimble#SharedFileSystemConfiguration": { - "type": "structure", - "members": { - "endpoint": { - "target": "com.amazonaws.nimble#SensitiveString", - "traits": { - "smithy.api#documentation": "

The endpoint of the shared file system that is accessed by the studio component\n resource.

" - } - }, - "fileSystemId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The unique identifier for a file system.

" - } - }, - "linuxMountPoint": { - "target": "com.amazonaws.nimble#LinuxMountPoint", - "traits": { - "smithy.api#documentation": "

The mount location for a shared file system on a Linux virtual workstation.

" - } - }, - "shareName": { - "target": "com.amazonaws.nimble#SensitiveString", - "traits": { - "smithy.api#documentation": "

The name of the file share.

" - } - }, - "windowsMountDrive": { - "target": "com.amazonaws.nimble#WindowsMountDrive", - "traits": { - "smithy.api#documentation": "

The mount location for a shared file system on a Windows virtual workstation.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The configuration for a shared file storage system that is associated with a studio\n resource.

" - } - }, - "com.amazonaws.nimble#StartStreamingSession": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#StartStreamingSessionRequest" - }, - "output": { - "target": "com.amazonaws.nimble#StartStreamingSessionResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to start a streaming session", - "aws.iam#conditionKeys": ["nimble:requesterPrincipalId"], - "aws.iam#requiredActions": ["nimble:GetLaunchProfile", "nimble:GetLaunchProfileMember"], - "smithy.api#documentation": "

Transitions sessions from the STOPPED state into the READY\n state. The START_IN_PROGRESS state is the intermediate state between the\n STOPPED and READY states.

", - "smithy.api#http": { - "method": "POST", - "uri": "/2020-08-01/studios/{studioId}/streaming-sessions/{sessionId}/start", - "code": 200 - }, - "smithy.api#idempotent": {} - } - }, - "com.amazonaws.nimble#StartStreamingSessionRequest": { - "type": "structure", - "members": { - "clientToken": { - "target": "com.amazonaws.nimble#ClientToken", - "traits": { - "smithy.api#documentation": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request. If you don’t specify a client token, the Amazon Web Services SDK automatically\n generates a client token and uses it for the request to ensure idempotency.

", - "smithy.api#httpHeader": "X-Amz-Client-Token", - "smithy.api#idempotencyToken": {} - } - }, - "sessionId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The streaming session ID for the StartStreamingSessionRequest.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "studioId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The studio ID for the StartStreamingSessionRequest.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "backupId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The ID of the backup.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.nimble#StartStreamingSessionResponse": { - "type": "structure", - "members": { - "session": { - "target": "com.amazonaws.nimble#StreamingSession" - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#StartStudioSSOConfigurationRepair": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#StartStudioSSOConfigurationRepairRequest" - }, - "output": { - "target": "com.amazonaws.nimble#StartStudioSSOConfigurationRepairResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to repair the studio's AWS SSO configuration", - "aws.iam#requiredActions": ["sso:CreateManagedApplicationInstance", "sso:GetManagedApplicationInstance"], - "smithy.api#documentation": "

Repairs the IAM Identity Center configuration for a given studio.

\n

If the studio has a valid IAM Identity Center configuration currently associated with\n it, this operation will fail with a validation error.

\n

If the studio does not have a valid IAM Identity Center configuration currently\n associated with it, then a new IAM Identity Center application is created for the studio\n and the studio is changed to the READY state.

\n

After the IAM Identity Center application is repaired, you must use the Amazon Nimble Studio console to add administrators and users to your studio.

", - "smithy.api#http": { - "method": "PUT", - "uri": "/2020-08-01/studios/{studioId}/sso-configuration", - "code": 200 - }, - "smithy.api#idempotent": {} - } - }, - "com.amazonaws.nimble#StartStudioSSOConfigurationRepairRequest": { - "type": "structure", - "members": { - "clientToken": { - "target": "com.amazonaws.nimble#ClientToken", - "traits": { - "smithy.api#documentation": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request. If you don’t specify a client token, the Amazon Web Services SDK automatically\n generates a client token and uses it for the request to ensure idempotency.

", - "smithy.api#httpHeader": "X-Amz-Client-Token", - "smithy.api#idempotencyToken": {} - } - }, - "studioId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The studio ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.nimble#StartStudioSSOConfigurationRepairResponse": { - "type": "structure", - "members": { - "studio": { - "target": "com.amazonaws.nimble#Studio", - "traits": { - "smithy.api#documentation": "

Information about a studio.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#StopStreamingSession": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#StopStreamingSessionRequest" - }, - "output": { - "target": "com.amazonaws.nimble#StopStreamingSessionResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to stop a streaming session", - "aws.iam#conditionKeys": ["nimble:requesterPrincipalId"], - "aws.iam#requiredActions": ["nimble:GetLaunchProfile"], - "smithy.api#documentation": "

Transitions sessions from the READY state into the STOPPED\n state. The STOP_IN_PROGRESS state is the intermediate state between the\n READY and STOPPED states.

", - "smithy.api#http": { - "method": "POST", - "uri": "/2020-08-01/studios/{studioId}/streaming-sessions/{sessionId}/stop", - "code": 200 - }, - "smithy.api#idempotent": {} - } - }, - "com.amazonaws.nimble#StopStreamingSessionRequest": { - "type": "structure", - "members": { - "clientToken": { - "target": "com.amazonaws.nimble#ClientToken", - "traits": { - "smithy.api#documentation": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request. If you don’t specify a client token, the Amazon Web Services SDK automatically\n generates a client token and uses it for the request to ensure idempotency.

", - "smithy.api#httpHeader": "X-Amz-Client-Token", - "smithy.api#idempotencyToken": {} - } - }, - "sessionId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The streaming session ID for the StopStreamingSessionRequest.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "studioId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The studioId for the StopStreamingSessionRequest.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "volumeRetentionMode": { - "target": "com.amazonaws.nimble#VolumeRetentionMode", - "traits": { - "smithy.api#documentation": "

Adds additional instructions to a streaming session stop action to either retain the\n EBS volumes or delete the EBS volumes.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.nimble#StopStreamingSessionResponse": { - "type": "structure", - "members": { - "session": { - "target": "com.amazonaws.nimble#StreamingSession" - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#StreamConfiguration": { - "type": "structure", - "members": { - "clipboardMode": { - "target": "com.amazonaws.nimble#StreamingClipboardMode", - "traits": { - "smithy.api#documentation": "

Allows or deactivates the use of the system clipboard to copy and paste between the\n streaming session and streaming client.

", - "smithy.api#required": {} - } - }, - "ec2InstanceTypes": { - "target": "com.amazonaws.nimble#StreamingInstanceTypeList", - "traits": { - "smithy.api#documentation": "

The EC2 instance types that users can select from when launching a streaming session\n with this launch profile.

", - "smithy.api#required": {} - } - }, - "maxSessionLengthInMinutes": { - "target": "com.amazonaws.nimble#StreamConfigurationMaxSessionLengthInMinutes", - "traits": { - "smithy.api#default": 690, - "smithy.api#documentation": "

The length of time, in minutes, that a streaming session can be active before it is\n stopped or terminated. After this point, Nimble Studio automatically terminates or\n stops the session. The default length of time is 690 minutes, and the maximum length of\n time is 30 days.

" - } - }, - "streamingImageIds": { - "target": "com.amazonaws.nimble#StreamingImageIdList", - "traits": { - "smithy.api#documentation": "

The streaming images that users can select from when launching a streaming session\n with this launch profile.

", - "smithy.api#required": {} - } - }, - "maxStoppedSessionLengthInMinutes": { - "target": "com.amazonaws.nimble#StreamConfigurationMaxStoppedSessionLengthInMinutes", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

Integer that determines if you can start and stop your sessions and how long a session\n can stay in the STOPPED state. The default value is 0. The maximum value is\n 5760.

\n

This field is allowed only when sessionPersistenceMode is\n ACTIVATED and automaticTerminationMode is\n ACTIVATED.

\n

If the value is set to 0, your sessions can’t be STOPPED. If you then\n call StopStreamingSession, the session fails. If the time that a session\n stays in the READY state exceeds the maxSessionLengthInMinutes\n value, the session will automatically be terminated (instead of\n STOPPED).

\n

If the value is set to a positive number, the session can be stopped. You can call\n StopStreamingSession to stop sessions in the READY state.\n If the time that a session stays in the READY state exceeds the\n maxSessionLengthInMinutes value, the session will automatically be\n stopped (instead of terminated).

" - } - }, - "sessionStorage": { - "target": "com.amazonaws.nimble#StreamConfigurationSessionStorage", - "traits": { - "smithy.api#documentation": "

The upload storage for a streaming session.

" - } - }, - "sessionBackup": { - "target": "com.amazonaws.nimble#StreamConfigurationSessionBackup", - "traits": { - "smithy.api#documentation": "

Information about the streaming session backup.

" - } - }, - "sessionPersistenceMode": { - "target": "com.amazonaws.nimble#SessionPersistenceMode", - "traits": { - "smithy.api#documentation": "

Determine if a streaming session created from this launch profile can configure\n persistent storage. This means that volumeConfiguration and\n automaticTerminationMode are configured.

" - } - }, - "volumeConfiguration": { - "target": "com.amazonaws.nimble#VolumeConfiguration", - "traits": { - "smithy.api#documentation": "

Custom volume configuration for the root volumes that are attached to streaming\n sessions.

\n

This parameter is only allowed when sessionPersistenceMode is\n ACTIVATED.

" - } - }, - "automaticTerminationMode": { - "target": "com.amazonaws.nimble#AutomaticTerminationMode", - "traits": { - "smithy.api#documentation": "

Indicates if a streaming session created from this launch profile should be terminated\n automatically or retained without termination after being in a STOPPED\n state.

\n
    \n
  • \n

    When ACTIVATED, the streaming session is scheduled for\n termination after being in the STOPPED state for the time specified\n in maxStoppedSessionLengthInMinutes.

    \n
  • \n
  • \n

    When DEACTIVATED, the streaming session can remain in the\n STOPPED state indefinitely.

    \n
  • \n
\n

This parameter is only allowed when sessionPersistenceMode is\n ACTIVATED. When allowed, the default value for this parameter is\n DEACTIVATED.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

A configuration for a streaming session.

" - } - }, - "com.amazonaws.nimble#StreamConfigurationCreate": { - "type": "structure", - "members": { - "clipboardMode": { - "target": "com.amazonaws.nimble#StreamingClipboardMode", - "traits": { - "smithy.api#documentation": "

Allows or deactivates the use of the system clipboard to copy and paste between the\n streaming session and streaming client.

", - "smithy.api#required": {} - } - }, - "ec2InstanceTypes": { - "target": "com.amazonaws.nimble#StreamingInstanceTypeList", - "traits": { - "smithy.api#documentation": "

The EC2 instance types that users can select from when launching a streaming session\n with this launch profile.

", - "smithy.api#required": {} - } - }, - "maxSessionLengthInMinutes": { - "target": "com.amazonaws.nimble#StreamConfigurationMaxSessionLengthInMinutes", - "traits": { - "smithy.api#default": 690, - "smithy.api#documentation": "

The length of time, in minutes, that a streaming session can be active before it is\n stopped or terminated. After this point, Nimble Studio automatically terminates or\n stops the session. The default length of time is 690 minutes, and the maximum length of\n time is 30 days.

" - } - }, - "streamingImageIds": { - "target": "com.amazonaws.nimble#StreamingImageIdList", - "traits": { - "smithy.api#documentation": "

The streaming images that users can select from when launching a streaming session\n with this launch profile.

", - "smithy.api#required": {} - } - }, - "maxStoppedSessionLengthInMinutes": { - "target": "com.amazonaws.nimble#StreamConfigurationMaxStoppedSessionLengthInMinutes", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

Integer that determines if you can start and stop your sessions and how long a session\n can stay in the STOPPED state. The default value is 0. The maximum value is\n 5760.

\n

This field is allowed only when sessionPersistenceMode is\n ACTIVATED and automaticTerminationMode is\n ACTIVATED.

\n

If the value is set to 0, your sessions can’t be STOPPED. If you then\n call StopStreamingSession, the session fails. If the time that a session\n stays in the READY state exceeds the maxSessionLengthInMinutes\n value, the session will automatically be terminated (instead of\n STOPPED).

\n

If the value is set to a positive number, the session can be stopped. You can call\n StopStreamingSession to stop sessions in the READY state.\n If the time that a session stays in the READY state exceeds the\n maxSessionLengthInMinutes value, the session will automatically be\n stopped (instead of terminated).

" - } - }, - "sessionStorage": { - "target": "com.amazonaws.nimble#StreamConfigurationSessionStorage", - "traits": { - "smithy.api#documentation": "

The upload storage for a streaming workstation that is created using this launch\n profile.

" - } - }, - "sessionBackup": { - "target": "com.amazonaws.nimble#StreamConfigurationSessionBackup", - "traits": { - "smithy.api#documentation": "

Configures how streaming sessions are backed up when launched from this launch\n profile.

" - } - }, - "sessionPersistenceMode": { - "target": "com.amazonaws.nimble#SessionPersistenceMode", - "traits": { - "smithy.api#documentation": "

Determine if a streaming session created from this launch profile can configure\n persistent storage. This means that volumeConfiguration and\n automaticTerminationMode are configured.

" - } - }, - "volumeConfiguration": { - "target": "com.amazonaws.nimble#VolumeConfiguration", - "traits": { - "smithy.api#documentation": "

Custom volume configuration for the root volumes that are attached to streaming\n sessions.

\n

This parameter is only allowed when sessionPersistenceMode is\n ACTIVATED.

" - } - }, - "automaticTerminationMode": { - "target": "com.amazonaws.nimble#AutomaticTerminationMode", - "traits": { - "smithy.api#documentation": "

Indicates if a streaming session created from this launch profile should be terminated\n automatically or retained without termination after being in a STOPPED\n state.

\n
    \n
  • \n

    When ACTIVATED, the streaming session is scheduled for\n termination after being in the STOPPED state for the time specified\n in maxStoppedSessionLengthInMinutes.

    \n
  • \n
  • \n

    When DEACTIVATED, the streaming session can remain in the\n STOPPED state indefinitely.

    \n
  • \n
\n

This parameter is only allowed when sessionPersistenceMode is\n ACTIVATED. When allowed, the default value for this parameter is\n DEACTIVATED.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Configuration for streaming workstations created using this launch profile.

" - } - }, - "com.amazonaws.nimble#StreamConfigurationMaxBackupsToRetain": { - "type": "integer", - "traits": { - "smithy.api#default": 0, - "smithy.api#range": { - "min": 0, - "max": 10 - } - } - }, - "com.amazonaws.nimble#StreamConfigurationMaxSessionLengthInMinutes": { - "type": "integer", - "traits": { - "smithy.api#default": 690, - "smithy.api#range": { - "min": 1, - "max": 43200 - } - } - }, - "com.amazonaws.nimble#StreamConfigurationMaxStoppedSessionLengthInMinutes": { - "type": "integer", - "traits": { - "smithy.api#default": 0, - "smithy.api#range": { - "min": 0, - "max": 5760 - } - } - }, - "com.amazonaws.nimble#StreamConfigurationSessionBackup": { - "type": "structure", - "members": { - "mode": { - "target": "com.amazonaws.nimble#SessionBackupMode", - "traits": { - "smithy.api#documentation": "

Specifies how artists sessions are backed up.

\n

Configures backups for streaming sessions launched with this launch profile. The\n default value is DEACTIVATED, which means that backups are deactivated. To\n allow backups, set this value to AUTOMATIC.

" - } - }, - "maxBackupsToRetain": { - "target": "com.amazonaws.nimble#StreamConfigurationMaxBackupsToRetain", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The maximum number of backups that each streaming session created from this launch\n profile can have.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Configures how streaming sessions are backed up when launched from this launch\n profile.

" - } - }, - "com.amazonaws.nimble#StreamConfigurationSessionStorage": { - "type": "structure", - "members": { - "root": { - "target": "com.amazonaws.nimble#StreamingSessionStorageRoot", - "traits": { - "smithy.api#documentation": "

The configuration for the upload storage root of the streaming session.

" - } - }, - "mode": { - "target": "com.amazonaws.nimble#StreamingSessionStorageModeList", - "traits": { - "smithy.api#documentation": "

Allows artists to upload files to their workstations. The only valid option is\n UPLOAD.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

The configuration for a streaming session’s upload storage.

" - } - }, - "com.amazonaws.nimble#StreamingClipboardMode": { - "type": "enum", - "members": { - "ENABLED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ENABLED" - } - }, - "DISABLED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DISABLED" - } - } - } - }, - "com.amazonaws.nimble#StreamingImage": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.nimble#String", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

The Amazon Resource Name (ARN) that is assigned to a studio resource and uniquely\n identifies it. ARNs are unique across all Regions.

" - } - }, - "description": { - "target": "com.amazonaws.nimble#StreamingImageDescription", - "traits": { - "aws.cloudformation#cfnMutability": "full", - "smithy.api#documentation": "

A human-readable description of the streaming image.

" - } - }, - "ec2ImageId": { - "target": "com.amazonaws.nimble#EC2ImageId", - "traits": { - "aws.cloudformation#cfnMutability": "create-and-read", - "smithy.api#documentation": "

The ID of an EC2 machine image with which to create the streaming image.

" - } - }, - "encryptionConfiguration": { - "target": "com.amazonaws.nimble#StreamingImageEncryptionConfiguration", - "traits": { - "aws.cloudformation#cfnMutability": "read", - "smithy.api#documentation": "

The encryption configuration.

" - } - }, - "eulaIds": { - "target": "com.amazonaws.nimble#EulaIdList", - "traits": { - "aws.cloudformation#cfnMutability": "read", - "smithy.api#documentation": "

The list of EULAs that must be accepted before a Streaming Session can be started\n using this streaming image.

" - } - }, - "name": { - "target": "com.amazonaws.nimble#StreamingImageName", - "traits": { - "aws.cloudformation#cfnMutability": "full", - "smithy.api#documentation": "

A friendly name for a streaming image resource.

" - } - }, - "owner": { - "target": "com.amazonaws.nimble#StreamingImageOwner", - "traits": { - "aws.cloudformation#cfnMutability": "read", - "smithy.api#documentation": "

The owner of the streaming image, either the studioId that contains the\n streaming image, or amazon for images that are provided by Amazon Nimble Studio.

" - } - }, - "platform": { - "target": "com.amazonaws.nimble#StreamingImagePlatform", - "traits": { - "aws.cloudformation#cfnMutability": "read", - "smithy.api#documentation": "

The platform of the streaming image, either Windows or Linux.

" - } - }, - "state": { - "target": "com.amazonaws.nimble#StreamingImageState", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

The current state.

" - } - }, - "statusCode": { - "target": "com.amazonaws.nimble#StreamingImageStatusCode", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

The status code.

" - } - }, - "statusMessage": { - "target": "com.amazonaws.nimble#String", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

The status message for the streaming image.

" - } - }, - "streamingImageId": { - "target": "com.amazonaws.nimble#StreamingImageId", - "traits": { - "aws.cloudformation#cfnMutability": "read", - "smithy.api#documentation": "

The ID of the streaming image.

" - } - }, - "tags": { - "target": "com.amazonaws.nimble#Tags", - "traits": { - "smithy.api#documentation": "

A collection of labels, in the form of key-value pairs, that apply to this\n resource.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Represents a streaming image resource.

\n

Streaming images are used by studio users to select which operating system and\n software they want to use in a Nimble Studio streaming session.

\n

Amazon provides a number of streaming images that include popular 3rd-party\n software.

\n

You can create your own streaming images using an Amazon EC2 machine image\n that you create for this purpose. You can also include software that your users\n require.

" - } - }, - "com.amazonaws.nimble#StreamingImageDescription": { - "type": "string", - "traits": { - "smithy.api#documentation": "

The description.

", - "smithy.api#length": { - "min": 0, - "max": 256 - }, - "smithy.api#sensitive": {} - } - }, - "com.amazonaws.nimble#StreamingImageEncryptionConfiguration": { - "type": "structure", - "members": { - "keyArn": { - "target": "com.amazonaws.nimble#StreamingImageEncryptionConfigurationKeyArn", - "traits": { - "smithy.api#documentation": "

The ARN for a KMS key that is used to encrypt studio data.

" - } - }, - "keyType": { - "target": "com.amazonaws.nimble#StreamingImageEncryptionConfigurationKeyType", - "traits": { - "smithy.api#documentation": "

The type of KMS key that is used to encrypt studio data.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies how a streaming image is encrypted.

" - } - }, - "com.amazonaws.nimble#StreamingImageEncryptionConfigurationKeyArn": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 4 - }, - "smithy.api#pattern": "^arn:.*" - } - }, - "com.amazonaws.nimble#StreamingImageEncryptionConfigurationKeyType": { - "type": "enum", - "members": { - "CUSTOMER_MANAGED_KEY": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CUSTOMER_MANAGED_KEY" - } - } - } - }, - "com.amazonaws.nimble#StreamingImageId": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 22 - }, - "smithy.api#pattern": "^[a-zA-Z0-9-_]*$" - } - }, - "com.amazonaws.nimble#StreamingImageIdList": { - "type": "list", - "member": { - "target": "com.amazonaws.nimble#StreamingImageId" - }, - "traits": { - "smithy.api#documentation": "

A list of streaming image IDs that users can select from when launching a streaming\n session with this launch profile.

", - "smithy.api#length": { - "min": 1, - "max": 20 - } - } - }, - "com.amazonaws.nimble#StreamingImageList": { - "type": "list", - "member": { - "target": "com.amazonaws.nimble#StreamingImage" - } - }, - "com.amazonaws.nimble#StreamingImageName": { - "type": "string", - "traits": { - "smithy.api#documentation": "

A friendly name for a streaming image resource.

", - "smithy.api#length": { - "min": 0, - "max": 64 - }, - "smithy.api#sensitive": {} - } - }, - "com.amazonaws.nimble#StreamingImageOwner": { - "type": "string", - "traits": { - "smithy.api#documentation": "

StreamingImageOwner is the owner of a particular streaming image.

\n

This string is either the studioId that contains the streaming image, or the word\n AMAZON for images provided by Nimble Studio.

" - } - }, - "com.amazonaws.nimble#StreamingImagePlatform": { - "type": "string", - "traits": { - "smithy.api#documentation": "

The platform of this streaming image, either Windows or Linux.

", - "smithy.api#pattern": "^[a-zA-Z]*$" - } - }, - "com.amazonaws.nimble#StreamingImageResource": { - "type": "resource", - "identifiers": { - "streamingImageId": { - "target": "com.amazonaws.nimble#String" - } - }, - "create": { - "target": "com.amazonaws.nimble#CreateStreamingImage" - }, - "read": { - "target": "com.amazonaws.nimble#GetStreamingImage" - }, - "update": { - "target": "com.amazonaws.nimble#UpdateStreamingImage" - }, - "delete": { - "target": "com.amazonaws.nimble#DeleteStreamingImage" - }, - "list": { - "target": "com.amazonaws.nimble#ListStreamingImages" - }, - "traits": { - "aws.api#arn": { - "template": "streaming-image/{streamingImageId}" - }, - "aws.cloudformation#cfnResource": { - "name": "StreamingImage", - "additionalSchemas": ["com.amazonaws.nimble#StreamingImage"] - }, - "aws.iam#conditionKeys": [ - "aws:ResourceTag/${TagKey}", - "aws:RequestTag/${TagKey}", - "aws:TagKeys", - "nimble:studioId" - ], - "aws.iam#disableConditionKeyInference": {}, - "aws.iam#iamResource": { - "name": "streaming-image" - }, - "smithy.api#documentation": "Represents a streaming session machine image that can be used to launch a streaming session", - "smithy.api#externalDocumentation": { - "CFNSourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-nimblestudio" - } - } - }, - "com.amazonaws.nimble#StreamingImageState": { - "type": "enum", - "members": { - "CREATE_IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CREATE_IN_PROGRESS" - } - }, - "READY": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "READY" - } - }, - "DELETE_IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DELETE_IN_PROGRESS" - } - }, - "DELETED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DELETED" - } - }, - "UPDATE_IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "UPDATE_IN_PROGRESS" - } - }, - "UPDATE_FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "UPDATE_FAILED" - } - }, - "CREATE_FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CREATE_FAILED" - } - }, - "DELETE_FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DELETE_FAILED" - } - } - } - }, - "com.amazonaws.nimble#StreamingImageStatusCode": { - "type": "enum", - "members": { - "STREAMING_IMAGE_CREATE_IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "STREAMING_IMAGE_CREATE_IN_PROGRESS" - } - }, - "STREAMING_IMAGE_READY": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "STREAMING_IMAGE_READY" - } - }, - "STREAMING_IMAGE_DELETE_IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "STREAMING_IMAGE_DELETE_IN_PROGRESS" - } - }, - "STREAMING_IMAGE_DELETED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "STREAMING_IMAGE_DELETED" - } - }, - "STREAMING_IMAGE_UPDATE_IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "STREAMING_IMAGE_UPDATE_IN_PROGRESS" - } - }, - "INTERNAL_ERROR": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "INTERNAL_ERROR" - } - }, - "ACCESS_DENIED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ACCESS_DENIED" - } - } - }, - "traits": { - "smithy.api#documentation": "

The status code.

" - } - }, - "com.amazonaws.nimble#StreamingInstanceType": { - "type": "enum", - "members": { - "g4dn_xlarge": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "g4dn.xlarge" - } - }, - "g4dn_2xlarge": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "g4dn.2xlarge" - } - }, - "g4dn_4xlarge": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "g4dn.4xlarge" - } - }, - "g4dn_8xlarge": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "g4dn.8xlarge" - } - }, - "g4dn_12xlarge": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "g4dn.12xlarge" - } - }, - "g4dn_16xlarge": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "g4dn.16xlarge" - } - }, - "g3_4xlarge": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "g3.4xlarge" - } - }, - "g3s_xlarge": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "g3s.xlarge" - } - }, - "g5_xlarge": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "g5.xlarge" - } - }, - "g5_2xlarge": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "g5.2xlarge" - } - }, - "g5_4xlarge": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "g5.4xlarge" - } - }, - "g5_8xlarge": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "g5.8xlarge" - } - }, - "g5_16xlarge": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "g5.16xlarge" - } - } - } - }, - "com.amazonaws.nimble#StreamingInstanceTypeList": { - "type": "list", - "member": { - "target": "com.amazonaws.nimble#StreamingInstanceType" - }, - "traits": { - "smithy.api#documentation": "

The EC2 instance types that users can select from when launching a streaming session\n with this launch profile.

", - "smithy.api#length": { - "min": 1, - "max": 30 - } - } - }, - "com.amazonaws.nimble#StreamingSession": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) that is assigned to a studio resource and uniquely\n identifies it. ARNs are unique across all Regions.

" - } - }, - "createdAt": { - "target": "com.amazonaws.nimble#Timestamp", - "traits": { - "smithy.api#documentation": "

The ISO timestamp in seconds for when the resource was created.

" - } - }, - "createdBy": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The user ID of the user that created the streaming session.

" - } - }, - "ec2InstanceType": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The EC2 Instance type used for the streaming session.

" - } - }, - "launchProfileId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The ID of the launch profile used to control access from the streaming session.

" - } - }, - "ownedBy": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The user ID of the user that owns the streaming session. The user that owns the\n session will be logging into the session and interacting with the virtual\n workstation.

" - } - }, - "sessionId": { - "target": "com.amazonaws.nimble#StreamingSessionId", - "traits": { - "smithy.api#documentation": "

The session ID.

" - } - }, - "state": { - "target": "com.amazonaws.nimble#StreamingSessionState", - "traits": { - "smithy.api#documentation": "

The current state.

" - } - }, - "statusCode": { - "target": "com.amazonaws.nimble#StreamingSessionStatusCode", - "traits": { - "smithy.api#documentation": "

The status code.

" - } - }, - "statusMessage": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The status message for the streaming session.

" - } - }, - "streamingImageId": { - "target": "com.amazonaws.nimble#StreamingImageId", - "traits": { - "smithy.api#documentation": "

The ID of the streaming image.

" - } - }, - "tags": { - "target": "com.amazonaws.nimble#Tags", - "traits": { - "smithy.api#documentation": "

A collection of labels, in the form of key-value pairs, that apply to this\n resource.

" - } - }, - "terminateAt": { - "target": "com.amazonaws.nimble#Timestamp", - "traits": { - "smithy.api#documentation": "

The time the streaming session will automatically terminate if not terminated by the\n user.

" - } - }, - "updatedAt": { - "target": "com.amazonaws.nimble#Timestamp", - "traits": { - "smithy.api#documentation": "

The ISO timestamp in seconds for when the resource was updated.

" - } - }, - "updatedBy": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The user ID of the user that most recently updated the resource.

" - } - }, - "stoppedAt": { - "target": "com.amazonaws.nimble#Timestamp", - "traits": { - "smithy.api#documentation": "

The time the session entered STOP_IN_PROGRESS state.

" - } - }, - "stoppedBy": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The user ID of the user that stopped the streaming session.

" - } - }, - "startedAt": { - "target": "com.amazonaws.nimble#Timestamp", - "traits": { - "smithy.api#documentation": "

The time the session entered START_IN_PROGRESS state.

" - } - }, - "startedBy": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The user ID of the user that started the streaming session.

" - } - }, - "stopAt": { - "target": "com.amazonaws.nimble#Timestamp", - "traits": { - "smithy.api#documentation": "

The time the streaming session will automatically be stopped if the user doesn’t stop\n the session themselves.

" - } - }, - "startedFromBackupId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The backup ID used to restore a streaming session.

" - } - }, - "backupMode": { - "target": "com.amazonaws.nimble#SessionBackupMode", - "traits": { - "smithy.api#documentation": "

Shows the current backup setting of the session.

" - } - }, - "maxBackupsToRetain": { - "target": "com.amazonaws.nimble#StreamConfigurationMaxBackupsToRetain", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The maximum number of backups of a streaming session that you can have. When the\n maximum number of backups is reached, the oldest backup is deleted.

" - } - }, - "volumeRetentionMode": { - "target": "com.amazonaws.nimble#VolumeRetentionMode", - "traits": { - "smithy.api#documentation": "

Determine if an EBS volume created from this streaming session will be backed\n up.

" - } - }, - "sessionPersistenceMode": { - "target": "com.amazonaws.nimble#SessionPersistenceMode", - "traits": { - "smithy.api#documentation": "

Determine if a streaming session created from this launch profile can configure\n persistent storage. This means that volumeConfiguration and\n automaticTerminationMode are configured.

" - } - }, - "volumeConfiguration": { - "target": "com.amazonaws.nimble#VolumeConfiguration", - "traits": { - "smithy.api#documentation": "

Custom volume configuration for the root volumes that are attached to streaming\n sessions.

\n

This parameter is only allowed when sessionPersistenceMode is\n ACTIVATED.

" - } - }, - "automaticTerminationMode": { - "target": "com.amazonaws.nimble#AutomaticTerminationMode", - "traits": { - "smithy.api#documentation": "

Indicates if a streaming session created from this launch profile should be terminated\n automatically or retained without termination after being in a STOPPED\n state.

\n
    \n
  • \n

    When ACTIVATED, the streaming session is scheduled for\n termination after being in the STOPPED state for the time specified\n in maxStoppedSessionLengthInMinutes.

    \n
  • \n
  • \n

    When DEACTIVATED, the streaming session can remain in the\n STOPPED state indefinitely.

    \n
  • \n
\n

This parameter is only allowed when sessionPersistenceMode is\n ACTIVATED. When allowed, the default value for this parameter is\n DEACTIVATED.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

A streaming session is a virtual workstation created using a particular launch\n profile.

" - } - }, - "com.amazonaws.nimble#StreamingSessionBackup": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) that is assigned to a studio resource and uniquely\n identifies it. ARNs are unique across all Regions.

" - } - }, - "createdAt": { - "target": "com.amazonaws.nimble#Timestamp", - "traits": { - "smithy.api#documentation": "

The ISO timestamp in for when the resource was created.

" - } - }, - "launchProfileId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The ID of the launch profile which allowed the backups for the streaming\n session.

" - } - }, - "ownedBy": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The user ID of the user that owns the streaming session.

" - } - }, - "sessionId": { - "target": "com.amazonaws.nimble#StreamingSessionId", - "traits": { - "smithy.api#documentation": "

The streaming session ID for the StreamingSessionBackup.

" - } - }, - "state": { - "target": "com.amazonaws.nimble#StreamingSessionState" - }, - "statusCode": { - "target": "com.amazonaws.nimble#StreamingSessionStatusCode", - "traits": { - "smithy.api#documentation": "

The status code.

" - } - }, - "statusMessage": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The status message for the streaming session backup.

" - } - }, - "backupId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The ID of the backup.

" - } - }, - "tags": { - "target": "com.amazonaws.nimble#Tags", - "traits": { - "smithy.api#documentation": "

A collection of labels, in the form of key-value pairs, that apply to this\n resource.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Information about the streaming session backup.

" - } - }, - "com.amazonaws.nimble#StreamingSessionBackupList": { - "type": "list", - "member": { - "target": "com.amazonaws.nimble#StreamingSessionBackup" - } - }, - "com.amazonaws.nimble#StreamingSessionBackupResource": { - "type": "resource", - "identifiers": { - "backupId": { - "target": "com.amazonaws.nimble#String" - } - }, - "read": { - "target": "com.amazonaws.nimble#GetStreamingSessionBackup" - }, - "list": { - "target": "com.amazonaws.nimble#ListStreamingSessionBackups" - }, - "traits": { - "aws.api#arn": { - "template": "streaming-session-backup/{backupId}" - }, - "aws.iam#conditionKeys": ["aws:ResourceTag/${TagKey}", "nimble:ownedBy"], - "aws.iam#disableConditionKeyInference": {}, - "smithy.api#documentation": "Represents a streaming session backup originated from a studio user launched streaming session" - } - }, - "com.amazonaws.nimble#StreamingSessionId": { - "type": "string" - }, - "com.amazonaws.nimble#StreamingSessionList": { - "type": "list", - "member": { - "target": "com.amazonaws.nimble#StreamingSession" - } - }, - "com.amazonaws.nimble#StreamingSessionResource": { - "type": "resource", - "identifiers": { - "sessionId": { - "target": "com.amazonaws.nimble#String" - } - }, - "create": { - "target": "com.amazonaws.nimble#CreateStreamingSession" - }, - "read": { - "target": "com.amazonaws.nimble#GetStreamingSession" - }, - "delete": { - "target": "com.amazonaws.nimble#DeleteStreamingSession" - }, - "list": { - "target": "com.amazonaws.nimble#ListStreamingSessions" - }, - "operations": [ - { - "target": "com.amazonaws.nimble#CreateStreamingSessionStream" - }, - { - "target": "com.amazonaws.nimble#GetStreamingSessionStream" - }, - { - "target": "com.amazonaws.nimble#StartStreamingSession" - }, - { - "target": "com.amazonaws.nimble#StopStreamingSession" - } - ], - "traits": { - "aws.api#arn": { - "template": "streaming-session/{sessionId}" - }, - "aws.iam#conditionKeys": [ - "aws:ResourceTag/${TagKey}", - "aws:RequestTag/${TagKey}", - "nimble:createdBy", - "nimble:ownedBy" - ], - "aws.iam#disableConditionKeyInference": {}, - "aws.iam#iamResource": { - "name": "streaming-session" - }, - "smithy.api#documentation": "Represents a streaming session that a studio user launches applications and connects to studio components within a studio" - } - }, - "com.amazonaws.nimble#StreamingSessionState": { - "type": "enum", - "members": { - "CREATE_IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CREATE_IN_PROGRESS" - } - }, - "DELETE_IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DELETE_IN_PROGRESS" - } - }, - "READY": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "READY" - } - }, - "DELETED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DELETED" - } - }, - "CREATE_FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CREATE_FAILED" - } - }, - "DELETE_FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DELETE_FAILED" - } - }, - "STOP_IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "STOP_IN_PROGRESS" - } - }, - "START_IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "START_IN_PROGRESS" - } - }, - "STOPPED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "STOPPED" - } - }, - "STOP_FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "STOP_FAILED" - } - }, - "START_FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "START_FAILED" - } - } - }, - "traits": { - "smithy.api#documentation": "

The streaming session state.

" - } - }, - "com.amazonaws.nimble#StreamingSessionStatusCode": { - "type": "enum", - "members": { - "STREAMING_SESSION_READY": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "STREAMING_SESSION_READY" - } - }, - "STREAMING_SESSION_DELETED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "STREAMING_SESSION_DELETED" - } - }, - "STREAMING_SESSION_CREATE_IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "STREAMING_SESSION_CREATE_IN_PROGRESS" - } - }, - "STREAMING_SESSION_DELETE_IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "STREAMING_SESSION_DELETE_IN_PROGRESS" - } - }, - "INTERNAL_ERROR": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "INTERNAL_ERROR" - } - }, - "INSUFFICIENT_CAPACITY": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "INSUFFICIENT_CAPACITY" - } - }, - "ACTIVE_DIRECTORY_DOMAIN_JOIN_ERROR": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ACTIVE_DIRECTORY_DOMAIN_JOIN_ERROR" - } - }, - "NETWORK_CONNECTION_ERROR": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "NETWORK_CONNECTION_ERROR" - } - }, - "INITIALIZATION_SCRIPT_ERROR": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "INITIALIZATION_SCRIPT_ERROR" - } - }, - "DECRYPT_STREAMING_IMAGE_ERROR": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DECRYPT_STREAMING_IMAGE_ERROR" - } - }, - "NETWORK_INTERFACE_ERROR": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "NETWORK_INTERFACE_ERROR" - } - }, - "STREAMING_SESSION_STOPPED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "STREAMING_SESSION_STOPPED" - } - }, - "STREAMING_SESSION_STARTED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "STREAMING_SESSION_STARTED" - } - }, - "STREAMING_SESSION_STOP_IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "STREAMING_SESSION_STOP_IN_PROGRESS" - } - }, - "STREAMING_SESSION_START_IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "STREAMING_SESSION_START_IN_PROGRESS" - } - }, - "AMI_VALIDATION_ERROR": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "AMI_VALIDATION_ERROR" - } - } - } - }, - "com.amazonaws.nimble#StreamingSessionStorageMode": { - "type": "enum", - "members": { - "UPLOAD": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "UPLOAD" - } - } - } - }, - "com.amazonaws.nimble#StreamingSessionStorageModeList": { - "type": "list", - "member": { - "target": "com.amazonaws.nimble#StreamingSessionStorageMode" - }, - "traits": { - "smithy.api#length": { - "min": 1 - } - } - }, - "com.amazonaws.nimble#StreamingSessionStorageRoot": { - "type": "structure", - "members": { - "linux": { - "target": "com.amazonaws.nimble#StreamingSessionStorageRootPathLinux", - "traits": { - "smithy.api#documentation": "

The folder path in Linux workstations where files are uploaded.

" - } - }, - "windows": { - "target": "com.amazonaws.nimble#StreamingSessionStorageRootPathWindows", - "traits": { - "smithy.api#documentation": "

The folder path in Windows workstations where files are uploaded.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The upload storage root location (folder) on streaming workstations where files are\n uploaded.

" - } - }, - "com.amazonaws.nimble#StreamingSessionStorageRootPathLinux": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 128 - }, - "smithy.api#pattern": "^(\\$HOME|/)[/]?([A-Za-z0-9-_]+/)*([A-Za-z0-9_-]+)$", - "smithy.api#sensitive": {} - } - }, - "com.amazonaws.nimble#StreamingSessionStorageRootPathWindows": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 128 - }, - "smithy.api#pattern": "^((\\%HOMEPATH\\%)|[a-zA-Z]:)[\\\\/](?:[a-zA-Z0-9_-]+[\\\\/])*[a-zA-Z0-9_-]+$", - "smithy.api#sensitive": {} - } - }, - "com.amazonaws.nimble#StreamingSessionStream": { - "type": "structure", - "members": { - "createdAt": { - "target": "com.amazonaws.nimble#Timestamp", - "traits": { - "smithy.api#documentation": "

The ISO timestamp in seconds for when the resource was created.

" - } - }, - "createdBy": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The user ID of the user that created the streaming session stream.

" - } - }, - "expiresAt": { - "target": "com.amazonaws.nimble#Timestamp", - "traits": { - "smithy.api#documentation": "

The ISO timestamp in seconds for when the resource expires.

" - } - }, - "ownedBy": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The user ID of the user that owns the streaming session. The user that owns the\n session will be logging into the session and interacting with the virtual\n workstation.

" - } - }, - "state": { - "target": "com.amazonaws.nimble#StreamingSessionStreamState", - "traits": { - "smithy.api#documentation": "

The current state.

" - } - }, - "statusCode": { - "target": "com.amazonaws.nimble#StreamingSessionStreamStatusCode", - "traits": { - "smithy.api#documentation": "

The streaming session stream status code.

" - } - }, - "streamId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The stream ID.

" - } - }, - "url": { - "target": "com.amazonaws.nimble#SensitiveString", - "traits": { - "smithy.api#documentation": "

The URL to connect to this stream using the DCV client.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

A stream is an active connection to a streaming session, enabling a studio user to\n control the streaming session using a compatible client. Streaming session streams are\n compatible with the NICE DCV web client, included in the Nimble Studio portal, or\n the NICE DCV desktop client.

" - } - }, - "com.amazonaws.nimble#StreamingSessionStreamExpirationInSeconds": { - "type": "integer", - "traits": { - "smithy.api#default": 120, - "smithy.api#range": { - "min": 60, - "max": 3600 - } - } - }, - "com.amazonaws.nimble#StreamingSessionStreamState": { - "type": "enum", - "members": { - "READY": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "READY" - } - }, - "CREATE_IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CREATE_IN_PROGRESS" - } - }, - "DELETE_IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DELETE_IN_PROGRESS" - } - }, - "DELETED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DELETED" - } - }, - "CREATE_FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CREATE_FAILED" - } - }, - "DELETE_FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DELETE_FAILED" - } - } - } - }, - "com.amazonaws.nimble#StreamingSessionStreamStatusCode": { - "type": "enum", - "members": { - "STREAM_CREATE_IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "STREAM_CREATE_IN_PROGRESS" - } - }, - "STREAM_READY": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "STREAM_READY" - } - }, - "STREAM_DELETE_IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "STREAM_DELETE_IN_PROGRESS" - } - }, - "STREAM_DELETED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "STREAM_DELETED" - } - }, - "INTERNAL_ERROR": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "INTERNAL_ERROR" - } - }, - "NETWORK_CONNECTION_ERROR": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "NETWORK_CONNECTION_ERROR" - } - } - } - }, - "com.amazonaws.nimble#String": { - "type": "string" - }, - "com.amazonaws.nimble#StringList": { - "type": "list", - "member": { - "target": "com.amazonaws.nimble#String" - } - }, - "com.amazonaws.nimble#Studio": { - "type": "structure", - "members": { - "adminRoleArn": { - "target": "com.amazonaws.nimble#RoleArn", - "traits": { - "aws.cloudformation#cfnMutability": "full", - "smithy.api#documentation": "

The IAM role that studio admins assume when logging in to the Nimble Studio portal.

" - } - }, - "arn": { - "target": "com.amazonaws.nimble#String", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

The Amazon Resource Name (ARN) that is assigned to a studio resource and uniquely\n identifies it. ARNs are unique across all Regions.

" - } - }, - "createdAt": { - "target": "com.amazonaws.nimble#Timestamp", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

The ISO timestamp in seconds for when the resource was created.

" - } - }, - "displayName": { - "target": "com.amazonaws.nimble#StudioDisplayName", - "traits": { - "smithy.api#documentation": "

A friendly name for the studio.

" - } - }, - "homeRegion": { - "target": "com.amazonaws.nimble#Region", - "traits": { - "aws.cloudformation#cfnMutability": "read", - "smithy.api#documentation": "

The Amazon Web Services Region where the studio resource is located.

" - } - }, - "ssoClientId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "aws.cloudformation#cfnMutability": "read", - "smithy.api#documentation": "

The IAM Identity Center application client ID used to integrate with IAM Identity Center. This ID allows IAM Identity Center users to log in to Nimble Studio\n portal.

" - } - }, - "state": { - "target": "com.amazonaws.nimble#StudioState", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

The current state of the studio resource.

" - } - }, - "statusCode": { - "target": "com.amazonaws.nimble#StudioStatusCode", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

Status codes that provide additional detail on the studio state.

" - } - }, - "statusMessage": { - "target": "com.amazonaws.nimble#String", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

Additional detail on the studio state.

" - } - }, - "studioEncryptionConfiguration": { - "target": "com.amazonaws.nimble#StudioEncryptionConfiguration", - "traits": { - "aws.cloudformation#cfnMutability": "full", - "smithy.api#documentation": "

Configuration of the encryption method that is used for the studio.

" - } - }, - "studioId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The unique identifier for a studio resource. In Nimble Studio, all other\n resources are contained in a studio resource.

" - } - }, - "studioName": { - "target": "com.amazonaws.nimble#StudioName", - "traits": { - "smithy.api#documentation": "

The name of the studio, as included in the URL when accessing it in the Nimble Studio portal.

" - } - }, - "studioUrl": { - "target": "com.amazonaws.nimble#String", - "traits": { - "aws.cloudformation#cfnMutability": "read", - "smithy.api#documentation": "

The address of the web page for the studio.

" - } - }, - "tags": { - "target": "com.amazonaws.nimble#Tags", - "traits": { - "aws.cloudformation#cfnMutability": "create-and-read", - "smithy.api#documentation": "

A collection of labels, in the form of key-value pairs, that apply to this\n resource.

" - } - }, - "updatedAt": { - "target": "com.amazonaws.nimble#Timestamp", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

The ISO timestamp in seconds for when the resource was updated.

" - } - }, - "userRoleArn": { - "target": "com.amazonaws.nimble#RoleArn", - "traits": { - "aws.cloudformation#cfnMutability": "full", - "smithy.api#documentation": "

The IAM role that studio users assume when logging in to the Nimble Studio portal.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Represents a studio resource.

\n

A studio is the core resource used with Nimble Studio. You must create a studio\n first, before any other resource type can be created. All other resources you create and\n manage in Nimble Studio are contained within a studio.

\n

When creating a studio, you must provides two IAM roles for use with\n the Nimble Studio portal. These roles are assumed by your users when they log in to\n the Nimble Studio portal via IAM Identity Center and your identity source.

\n

The user role must have the AmazonNimbleStudio-StudioUser managed policy\n attached for the portal to function properly.

\n

The admin role must have the AmazonNimbleStudio-StudioAdmin managed\n policy attached for the portal to function properly.

\n

Your studio roles must trust the identity.nimble.amazonaws.com service\n principal to function properly.

" - } - }, - "com.amazonaws.nimble#StudioComponent": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.nimble#String", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

The Amazon Resource Name (ARN) that is assigned to a studio resource and uniquely\n identifies it. ARNs are unique across all Regions.

" - } - }, - "configuration": { - "target": "com.amazonaws.nimble#StudioComponentConfiguration", - "traits": { - "aws.cloudformation#cfnMutability": "full", - "smithy.api#documentation": "

The configuration of the studio component, based on component type.

" - } - }, - "createdAt": { - "target": "com.amazonaws.nimble#Timestamp", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

The ISO timestamp in seconds for when the resource was created.

" - } - }, - "createdBy": { - "target": "com.amazonaws.nimble#String", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

The user ID of the user that created the studio component.

" - } - }, - "description": { - "target": "com.amazonaws.nimble#StudioComponentDescription", - "traits": { - "aws.cloudformation#cfnMutability": "full", - "smithy.api#documentation": "

A human-readable description for the studio component resource.

" - } - }, - "ec2SecurityGroupIds": { - "target": "com.amazonaws.nimble#StudioComponentSecurityGroupIdList", - "traits": { - "aws.cloudformation#cfnMutability": "full", - "smithy.api#documentation": "

The EC2 security groups that control access to the studio component.

" - } - }, - "initializationScripts": { - "target": "com.amazonaws.nimble#StudioComponentInitializationScriptList", - "traits": { - "aws.cloudformation#cfnMutability": "full", - "smithy.api#documentation": "

Initialization scripts for studio components.

" - } - }, - "name": { - "target": "com.amazonaws.nimble#StudioComponentName", - "traits": { - "aws.cloudformation#cfnMutability": "full", - "smithy.api#documentation": "

A friendly name for the studio component resource.

" - } - }, - "scriptParameters": { - "target": "com.amazonaws.nimble#StudioComponentScriptParameterKeyValueList", - "traits": { - "aws.cloudformation#cfnMutability": "full", - "smithy.api#documentation": "

Parameters for the studio component scripts.

" - } - }, - "state": { - "target": "com.amazonaws.nimble#StudioComponentState", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

The current state.

" - } - }, - "statusCode": { - "target": "com.amazonaws.nimble#StudioComponentStatusCode", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

The status code.

" - } - }, - "statusMessage": { - "target": "com.amazonaws.nimble#String", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

The status message for the studio component.

" - } - }, - "studioComponentId": { - "target": "com.amazonaws.nimble#StudioComponentId", - "traits": { - "smithy.api#documentation": "

The unique identifier for a studio component resource.

" - } - }, - "subtype": { - "target": "com.amazonaws.nimble#StudioComponentSubtype", - "traits": { - "aws.cloudformation#cfnMutability": "full", - "smithy.api#documentation": "

The specific subtype of a studio component.

" - } - }, - "tags": { - "target": "com.amazonaws.nimble#Tags", - "traits": { - "smithy.api#documentation": "

A collection of labels, in the form of key-value pairs, that apply to this\n resource.

" - } - }, - "type": { - "target": "com.amazonaws.nimble#StudioComponentType", - "traits": { - "aws.cloudformation#cfnMutability": "full", - "smithy.api#documentation": "

The type of the studio component.

" - } - }, - "updatedAt": { - "target": "com.amazonaws.nimble#Timestamp", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

The ISO timestamp in seconds for when the resource was updated.

" - } - }, - "updatedBy": { - "target": "com.amazonaws.nimble#String", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

The user ID of the user that most recently updated the resource.

" - } - }, - "secureInitializationRoleArn": { - "target": "com.amazonaws.nimble#RoleArn", - "traits": { - "aws.cloudformation#cfnMutability": "full", - "smithy.api#documentation": "

An IAM role attached to Studio Component when the system initialization\n script runs which give the studio component access to Amazon Web Services resources when\n the system initialization script runs.

" - } - }, - "runtimeRoleArn": { - "target": "com.amazonaws.nimble#RoleArn", - "traits": { - "aws.cloudformation#cfnMutability": "full", - "smithy.api#documentation": "

An IAM role attached to a Studio Component that gives the studio\n component access to Amazon Web Services resources at anytime while the instance is\n running.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

A studio component represents a network resource to be used by a studio's users and\n workflows. A typical studio contains studio components for each of the following: render\n farm, Active Directory, licensing, and file system.

\n

Access to a studio component is managed by specifying security groups for the\n resource, as well as its endpoint.

\n

A studio component also has a set of initialization scripts that are returned by\n GetLaunchProfileInitialization. These initialization scripts run on\n streaming sessions when they start. They provide users with flexibility in controlling\n how the studio resources are configured on a streaming session.

" - } - }, - "com.amazonaws.nimble#StudioComponentConfiguration": { - "type": "union", - "members": { - "activeDirectoryConfiguration": { - "target": "com.amazonaws.nimble#ActiveDirectoryConfiguration", - "traits": { - "smithy.api#documentation": "

The configuration for a Directory Service for Microsoft Active Directory studio resource.

" - } - }, - "computeFarmConfiguration": { - "target": "com.amazonaws.nimble#ComputeFarmConfiguration", - "traits": { - "smithy.api#documentation": "

The configuration for a render farm that is associated with a studio resource.

" - } - }, - "licenseServiceConfiguration": { - "target": "com.amazonaws.nimble#LicenseServiceConfiguration", - "traits": { - "smithy.api#documentation": "

The configuration for a license service that is associated with a studio\n resource.

" - } - }, - "sharedFileSystemConfiguration": { - "target": "com.amazonaws.nimble#SharedFileSystemConfiguration", - "traits": { - "smithy.api#documentation": "

The configuration for a shared file storage system that is associated with a studio\n resource.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The configuration of the studio component, based on component type.

" - } - }, - "com.amazonaws.nimble#StudioComponentDescription": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 256 - }, - "smithy.api#sensitive": {} - } - }, - "com.amazonaws.nimble#StudioComponentId": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 22 - }, - "smithy.api#pattern": "^[a-zA-Z0-9-_]*$" - } - }, - "com.amazonaws.nimble#StudioComponentInitializationScript": { - "type": "structure", - "members": { - "launchProfileProtocolVersion": { - "target": "com.amazonaws.nimble#LaunchProfileProtocolVersion", - "traits": { - "smithy.api#documentation": "

The version number of the protocol that is used by the launch profile. The only valid\n version is \"2021-03-31\".

" - } - }, - "platform": { - "target": "com.amazonaws.nimble#LaunchProfilePlatform", - "traits": { - "smithy.api#documentation": "

The platform of the initialization script, either Windows or Linux.

" - } - }, - "runContext": { - "target": "com.amazonaws.nimble#StudioComponentInitializationScriptRunContext", - "traits": { - "smithy.api#documentation": "

The method to use when running the initialization script.

" - } - }, - "script": { - "target": "com.amazonaws.nimble#StudioComponentInitializationScriptContent", - "traits": { - "smithy.api#documentation": "

The initialization script.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Initialization scripts for studio components.

" - } - }, - "com.amazonaws.nimble#StudioComponentInitializationScriptContent": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 5120 - }, - "smithy.api#sensitive": {} - } - }, - "com.amazonaws.nimble#StudioComponentInitializationScriptList": { - "type": "list", - "member": { - "target": "com.amazonaws.nimble#StudioComponentInitializationScript" - } - }, - "com.amazonaws.nimble#StudioComponentInitializationScriptRunContext": { - "type": "enum", - "members": { - "SYSTEM_INITIALIZATION": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "SYSTEM_INITIALIZATION" - } - }, - "USER_INITIALIZATION": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "USER_INITIALIZATION" - } - } - } - }, - "com.amazonaws.nimble#StudioComponentList": { - "type": "list", - "member": { - "target": "com.amazonaws.nimble#StudioComponent" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 50 - } - } - }, - "com.amazonaws.nimble#StudioComponentName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 64 - }, - "smithy.api#sensitive": {} - } - }, - "com.amazonaws.nimble#StudioComponentResource": { - "type": "resource", - "identifiers": { - "studioComponentId": { - "target": "com.amazonaws.nimble#String" - } - }, - "create": { - "target": "com.amazonaws.nimble#CreateStudioComponent" - }, - "read": { - "target": "com.amazonaws.nimble#GetStudioComponent" - }, - "update": { - "target": "com.amazonaws.nimble#UpdateStudioComponent" - }, - "delete": { - "target": "com.amazonaws.nimble#DeleteStudioComponent" - }, - "list": { - "target": "com.amazonaws.nimble#ListStudioComponents" - }, - "traits": { - "aws.api#arn": { - "template": "studio-component/{studioComponentId}" - }, - "aws.cloudformation#cfnResource": { - "name": "StudioComponent", - "additionalSchemas": ["com.amazonaws.nimble#StudioComponent"] - }, - "aws.iam#conditionKeys": [ - "aws:ResourceTag/${TagKey}", - "aws:RequestTag/${TagKey}", - "aws:TagKeys", - "nimble:studioId" - ], - "aws.iam#disableConditionKeyInference": {}, - "aws.iam#iamResource": { - "name": "studio-component" - }, - "smithy.api#documentation": "Represents a studio component that connects a non-Nimble Studio resource in your account to your studio", - "smithy.api#externalDocumentation": { - "CFNSourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-nimblestudio" - } - } - }, - "com.amazonaws.nimble#StudioComponentScriptParameterKeyValueList": { - "type": "list", - "member": { - "target": "com.amazonaws.nimble#ScriptParameterKeyValue" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 30 - }, - "smithy.api#sensitive": {} - } - }, - "com.amazonaws.nimble#StudioComponentSecurityGroupIdList": { - "type": "list", - "member": { - "target": "com.amazonaws.nimble#SecurityGroupId" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 30 - } - } - }, - "com.amazonaws.nimble#StudioComponentState": { - "type": "enum", - "members": { - "CREATE_IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CREATE_IN_PROGRESS" - } - }, - "READY": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "READY" - } - }, - "UPDATE_IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "UPDATE_IN_PROGRESS" - } - }, - "DELETE_IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DELETE_IN_PROGRESS" - } - }, - "DELETED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DELETED" - } - }, - "DELETE_FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DELETE_FAILED" - } - }, - "CREATE_FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CREATE_FAILED" - } - }, - "UPDATE_FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "UPDATE_FAILED" - } - } - }, - "traits": { - "smithy.api#documentation": "

The current state of the studio component resource.

\n

While a studio component is being created, modified, or deleted, its state will be\n CREATE_IN_PROGRESS, UPDATE_IN_PROGRESS, or\n DELETE_IN_PROGRESS.

\n

These are called transition states.

\n

No modifications may be made to the studio component while it is in a transition\n state.

\n

If creation of the resource fails, the state will change to\n CREATE_FAILED. The resource StatusCode and\n StatusMessage will provide more information of why creation failed. The\n resource in this state will automatically be deleted from your account after a period of\n time.

\n

If updating the resource fails, the state will change to UPDATE_FAILED.\n The resource StatusCode and StatusMessage will provide more\n information of why the update failed. The resource will be returned to the state it was\n in when the update request was invoked.

\n

If deleting the resource fails, the state will change to DELETE_FAILED.\n The resource StatusCode and StatusMessage will provide more\n information of why the update failed. The resource will be returned to the state it was\n in when the update request was invoked. After the resource is deleted successfully, it\n will change to the DELETED state. The resource will no longer count against\n service quotas and cannot be used or acted upon any futher. It will be removed from your\n account after a period of time.

" - } - }, - "com.amazonaws.nimble#StudioComponentStateList": { - "type": "list", - "member": { - "target": "com.amazonaws.nimble#StudioComponentState" - } - }, - "com.amazonaws.nimble#StudioComponentStatusCode": { - "type": "enum", - "members": { - "ACTIVE_DIRECTORY_ALREADY_EXISTS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ACTIVE_DIRECTORY_ALREADY_EXISTS" - } - }, - "STUDIO_COMPONENT_CREATED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "STUDIO_COMPONENT_CREATED" - } - }, - "STUDIO_COMPONENT_UPDATED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "STUDIO_COMPONENT_UPDATED" - } - }, - "STUDIO_COMPONENT_DELETED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "STUDIO_COMPONENT_DELETED" - } - }, - "ENCRYPTION_KEY_ACCESS_DENIED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ENCRYPTION_KEY_ACCESS_DENIED" - } - }, - "ENCRYPTION_KEY_NOT_FOUND": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ENCRYPTION_KEY_NOT_FOUND" - } - }, - "STUDIO_COMPONENT_CREATE_IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "STUDIO_COMPONENT_CREATE_IN_PROGRESS" - } - }, - "STUDIO_COMPONENT_UPDATE_IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "STUDIO_COMPONENT_UPDATE_IN_PROGRESS" - } - }, - "STUDIO_COMPONENT_DELETE_IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "STUDIO_COMPONENT_DELETE_IN_PROGRESS" - } - }, - "INTERNAL_ERROR": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "INTERNAL_ERROR" - } - } - }, - "traits": { - "smithy.api#documentation": "

The current status of the studio component resource.

\n

When the resource is in the READY state, the status code signals what the\n last mutation made to the resource was.

\n

When the resource is in a CREATE_FAILED, UPDATE_FAILED, or\n DELETE_FAILED state, the status code signals what went wrong and why\n the mutation failed.

" - } - }, - "com.amazonaws.nimble#StudioComponentSubtype": { - "type": "enum", - "members": { - "AWS_MANAGED_MICROSOFT_AD": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "AWS_MANAGED_MICROSOFT_AD" - } - }, - "AMAZON_FSX_FOR_WINDOWS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "AMAZON_FSX_FOR_WINDOWS" - } - }, - "AMAZON_FSX_FOR_LUSTRE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "AMAZON_FSX_FOR_LUSTRE" - } - }, - "CUSTOM": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CUSTOM" - } - } - } - }, - "com.amazonaws.nimble#StudioComponentSummary": { - "type": "structure", - "members": { - "createdAt": { - "target": "com.amazonaws.nimble#Timestamp", - "traits": { - "smithy.api#documentation": "

The ISO timestamp in seconds for when the resource was created.

" - } - }, - "createdBy": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The user ID of the user that created the studio component.

" - } - }, - "description": { - "target": "com.amazonaws.nimble#StudioComponentDescription", - "traits": { - "smithy.api#documentation": "

The description.

" - } - }, - "name": { - "target": "com.amazonaws.nimble#StudioComponentName", - "traits": { - "smithy.api#documentation": "

The name for the studio component.

" - } - }, - "studioComponentId": { - "target": "com.amazonaws.nimble#StudioComponentId", - "traits": { - "smithy.api#documentation": "

The unique identifier for a studio component resource.

" - } - }, - "subtype": { - "target": "com.amazonaws.nimble#StudioComponentSubtype", - "traits": { - "smithy.api#documentation": "

The specific subtype of a studio component.

" - } - }, - "type": { - "target": "com.amazonaws.nimble#StudioComponentType", - "traits": { - "smithy.api#documentation": "

The type of the studio component.

" - } - }, - "updatedAt": { - "target": "com.amazonaws.nimble#Timestamp", - "traits": { - "smithy.api#documentation": "

The ISO timestamp in seconds for when the resource was updated.

" - } - }, - "updatedBy": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The user ID of the user that most recently updated the resource.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The studio component's summary.

" - } - }, - "com.amazonaws.nimble#StudioComponentSummaryList": { - "type": "list", - "member": { - "target": "com.amazonaws.nimble#StudioComponentSummary" - } - }, - "com.amazonaws.nimble#StudioComponentType": { - "type": "enum", - "members": { - "ACTIVE_DIRECTORY": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ACTIVE_DIRECTORY" - } - }, - "SHARED_FILE_SYSTEM": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "SHARED_FILE_SYSTEM" - } - }, - "COMPUTE_FARM": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "COMPUTE_FARM" - } - }, - "LICENSE_SERVICE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "LICENSE_SERVICE" - } - }, - "CUSTOM": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CUSTOM" - } - } - } - }, - "com.amazonaws.nimble#StudioComponentTypeList": { - "type": "list", - "member": { - "target": "com.amazonaws.nimble#StudioComponentType" - } - }, - "com.amazonaws.nimble#StudioDisplayName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 64 - }, - "smithy.api#sensitive": {} - } - }, - "com.amazonaws.nimble#StudioEncryptionConfiguration": { - "type": "structure", - "members": { - "keyArn": { - "target": "com.amazonaws.nimble#StudioEncryptionConfigurationKeyArn", - "traits": { - "smithy.api#documentation": "

The ARN for a KMS key that is used to encrypt studio data.

" - } - }, - "keyType": { - "target": "com.amazonaws.nimble#StudioEncryptionConfigurationKeyType", - "traits": { - "smithy.api#documentation": "

The type of KMS key that is used to encrypt studio data.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Configuration of the encryption method that is used for the studio.

" - } - }, - "com.amazonaws.nimble#StudioEncryptionConfigurationKeyArn": { - "type": "string", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) for a KMS key that is used to encrypt studio\n data.

", - "smithy.api#length": { - "min": 4 - }, - "smithy.api#pattern": "^arn:.*" - } - }, - "com.amazonaws.nimble#StudioEncryptionConfigurationKeyType": { - "type": "enum", - "members": { - "AWS_OWNED_KEY": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "AWS_OWNED_KEY" - } - }, - "CUSTOMER_MANAGED_KEY": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CUSTOMER_MANAGED_KEY" - } - } - }, - "traits": { - "smithy.api#documentation": "

The type of KMS key that is used to encrypt studio data.

" - } - }, - "com.amazonaws.nimble#StudioList": { - "type": "list", - "member": { - "target": "com.amazonaws.nimble#Studio" - } - }, - "com.amazonaws.nimble#StudioMembership": { - "type": "structure", - "members": { - "identityStoreId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The ID of the identity store.

" - } - }, - "persona": { - "target": "com.amazonaws.nimble#StudioPersona", - "traits": { - "smithy.api#documentation": "

The persona.

" - } - }, - "principalId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The principal ID.

" - } - }, - "sid": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The Active Directory Security Identifier for this user, if available.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

A studio member is an association of a user from your studio identity source to\n elevated permissions that they are granted in the studio.

\n

When you add a user to your studio using the Nimble Studio console, they are\n given access to the studio's IAM Identity Center application and are given access to log\n in to the Nimble Studio portal. These users have the permissions provided by the\n studio's user IAM role and do not appear in the studio membership\n collection. Only studio admins appear in studio membership.

\n

When you add a user to studio membership with the ADMIN persona, upon logging in to\n the Nimble Studio portal, they are granted permissions specified by the Studio's\n Admin IAM role.

" - } - }, - "com.amazonaws.nimble#StudioMembershipList": { - "type": "list", - "member": { - "target": "com.amazonaws.nimble#StudioMembership" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 20 - } - } - }, - "com.amazonaws.nimble#StudioName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 3, - "max": 64 - }, - "smithy.api#pattern": "^[a-z0-9]*$" - } - }, - "com.amazonaws.nimble#StudioPersona": { - "type": "enum", - "members": { - "ADMINISTRATOR": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ADMINISTRATOR" - } - } - } - }, - "com.amazonaws.nimble#StudioResource": { - "type": "resource", - "identifiers": { - "studioId": { - "target": "com.amazonaws.nimble#String" - } - }, - "create": { - "target": "com.amazonaws.nimble#CreateStudio" - }, - "read": { - "target": "com.amazonaws.nimble#GetStudio" - }, - "update": { - "target": "com.amazonaws.nimble#UpdateStudio" - }, - "delete": { - "target": "com.amazonaws.nimble#DeleteStudio" - }, - "list": { - "target": "com.amazonaws.nimble#ListStudios" - }, - "operations": [ - { - "target": "com.amazonaws.nimble#DeleteStudioMember" - }, - { - "target": "com.amazonaws.nimble#GetStudioMember" - }, - { - "target": "com.amazonaws.nimble#ListStudioMembers" - }, - { - "target": "com.amazonaws.nimble#PutStudioMembers" - }, - { - "target": "com.amazonaws.nimble#StartStudioSSOConfigurationRepair" - } - ], - "traits": { - "aws.api#arn": { - "template": "studio/{studioId}" - }, - "aws.cloudformation#cfnResource": { - "name": "Studio", - "additionalSchemas": ["com.amazonaws.nimble#Studio"] - }, - "aws.iam#conditionKeys": [ - "aws:ResourceTag/${TagKey}", - "aws:RequestTag/${TagKey}", - "aws:TagKeys", - "nimble:studioId" - ], - "aws.iam#disableConditionKeyInference": {}, - "aws.iam#iamResource": { - "name": "studio" - }, - "smithy.api#documentation": "Represents a studio that contains other Nimble Studio resources", - "smithy.api#externalDocumentation": { - "CFNSourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-nimblestudio" - } - } - }, - "com.amazonaws.nimble#StudioState": { - "type": "enum", - "members": { - "CREATE_IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CREATE_IN_PROGRESS" - } - }, - "READY": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "READY" - } - }, - "UPDATE_IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "UPDATE_IN_PROGRESS" - } - }, - "DELETE_IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DELETE_IN_PROGRESS" - } - }, - "DELETED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DELETED" - } - }, - "DELETE_FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DELETE_FAILED" - } - }, - "CREATE_FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CREATE_FAILED" - } - }, - "UPDATE_FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "UPDATE_FAILED" - } - } - } - }, - "com.amazonaws.nimble#StudioStatusCode": { - "type": "enum", - "members": { - "STUDIO_CREATED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "STUDIO_CREATED" - } - }, - "STUDIO_DELETED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "STUDIO_DELETED" - } - }, - "STUDIO_UPDATED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "STUDIO_UPDATED" - } - }, - "STUDIO_CREATE_IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "STUDIO_CREATE_IN_PROGRESS" - } - }, - "STUDIO_UPDATE_IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "STUDIO_UPDATE_IN_PROGRESS" - } - }, - "STUDIO_DELETE_IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "STUDIO_DELETE_IN_PROGRESS" - } - }, - "STUDIO_WITH_LAUNCH_PROFILES_NOT_DELETED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "STUDIO_WITH_LAUNCH_PROFILES_NOT_DELETED" - } - }, - "STUDIO_WITH_STUDIO_COMPONENTS_NOT_DELETED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "STUDIO_WITH_STUDIO_COMPONENTS_NOT_DELETED" - } - }, - "STUDIO_WITH_STREAMING_IMAGES_NOT_DELETED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "STUDIO_WITH_STREAMING_IMAGES_NOT_DELETED" - } - }, - "AWS_SSO_NOT_ENABLED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "AWS_SSO_NOT_ENABLED" - } - }, - "AWS_SSO_ACCESS_DENIED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "AWS_SSO_ACCESS_DENIED" - } - }, - "ROLE_NOT_OWNED_BY_STUDIO_OWNER": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ROLE_NOT_OWNED_BY_STUDIO_OWNER" - } - }, - "ROLE_COULD_NOT_BE_ASSUMED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ROLE_COULD_NOT_BE_ASSUMED" - } - }, - "INTERNAL_ERROR": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "INTERNAL_ERROR" - } - }, - "ENCRYPTION_KEY_NOT_FOUND": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ENCRYPTION_KEY_NOT_FOUND" - } - }, - "ENCRYPTION_KEY_ACCESS_DENIED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ENCRYPTION_KEY_ACCESS_DENIED" - } - }, - "AWS_SSO_CONFIGURATION_REPAIRED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "AWS_SSO_CONFIGURATION_REPAIRED" - } - }, - "AWS_SSO_CONFIGURATION_REPAIR_IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "AWS_SSO_CONFIGURATION_REPAIR_IN_PROGRESS" - } - }, - "AWS_STS_REGION_DISABLED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "AWS_STS_REGION_DISABLED" - } - } - }, - "traits": { - "smithy.api#documentation": "

The status code.

" - } - }, - "com.amazonaws.nimble#TagResource": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#TagResourceRequest" - }, - "output": { - "target": "com.amazonaws.nimble#TagResourceResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to add or overwrite one or more tags for the specified Nimble Studio resource", - "smithy.api#documentation": "

Creates tags for a resource, given its ARN.

", - "smithy.api#http": { - "method": "POST", - "uri": "/2020-08-01/tags/{resourceArn}", - "code": 204 - } - } - }, - "com.amazonaws.nimble#TagResourceRequest": { - "type": "structure", - "members": { - "resourceArn": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource you want to add tags to.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "tags": { - "target": "com.amazonaws.nimble#Tags", - "traits": { - "smithy.api#documentation": "

A collection of labels, in the form of key-value pairs, that apply to this\n resource.

" - } - } - }, - "traits": { - "smithy.api#input": {}, - "smithy.api#references": [ - { - "resource": "com.amazonaws.nimble#StudioResource", - "ids": { - "studioId": "resourceArn" - } - }, - { - "resource": "com.amazonaws.nimble#StudioComponentResource", - "ids": { - "studioComponentId": "resourceArn" - } - }, - { - "resource": "com.amazonaws.nimble#LaunchProfileResource", - "ids": { - "launchProfileId": "resourceArn" - } - }, - { - "resource": "com.amazonaws.nimble#StreamingSessionResource", - "ids": { - "sessionId": "resourceArn" - } - }, - { - "resource": "com.amazonaws.nimble#StreamingImageResource", - "ids": { - "streamingImageId": "resourceArn" - } - } - ] - } - }, - "com.amazonaws.nimble#TagResourceResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#Tags": { - "type": "map", - "key": { - "target": "com.amazonaws.nimble#String" - }, - "value": { - "target": "com.amazonaws.nimble#String" - } - }, - "com.amazonaws.nimble#ThrottlingException": { - "type": "structure", - "members": { - "code": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

A more specific error code.

" - } - }, - "context": { - "target": "com.amazonaws.nimble#ExceptionContext", - "traits": { - "smithy.api#documentation": "

The exception context.

" - } - }, - "message": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

A human-readable description of the error.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The request throughput limit was exceeded.

", - "smithy.api#error": "client", - "smithy.api#httpError": 429, - "smithy.api#retryable": {} - } - }, - "com.amazonaws.nimble#Timestamp": { - "type": "timestamp", - "traits": { - "smithy.api#timestampFormat": "date-time" - } - }, - "com.amazonaws.nimble#UntagResource": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#UntagResourceRequest" - }, - "output": { - "target": "com.amazonaws.nimble#UntagResourceResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to disassociate one or more tags from the specified Nimble Studio resource", - "smithy.api#documentation": "

Deletes the tags for a resource.

", - "smithy.api#http": { - "method": "DELETE", - "uri": "/2020-08-01/tags/{resourceArn}", - "code": 204 - }, - "smithy.api#idempotent": {} - } - }, - "com.amazonaws.nimble#UntagResourceRequest": { - "type": "structure", - "members": { - "resourceArn": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

Identifies the Amazon Resource Name(ARN) key from which you are removing tags.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "tagKeys": { - "target": "com.amazonaws.nimble#StringList", - "traits": { - "smithy.api#documentation": "

One or more tag keys. Specify only the tag keys, not the tag values.

", - "smithy.api#httpQuery": "tagKeys", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {}, - "smithy.api#references": [ - { - "resource": "com.amazonaws.nimble#StudioResource", - "ids": { - "studioId": "resourceArn" - } - }, - { - "resource": "com.amazonaws.nimble#StudioComponentResource", - "ids": { - "studioComponentId": "resourceArn" - } - }, - { - "resource": "com.amazonaws.nimble#LaunchProfileResource", - "ids": { - "launchProfileId": "resourceArn" - } - }, - { - "resource": "com.amazonaws.nimble#StreamingSessionResource", - "ids": { - "sessionId": "resourceArn" - } - }, - { - "resource": "com.amazonaws.nimble#StreamingImageResource", - "ids": { - "streamingImageId": "resourceArn" - } - } - ] - } - }, - "com.amazonaws.nimble#UntagResourceResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#UpdateLaunchProfile": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#UpdateLaunchProfileRequest" - }, - "output": { - "target": "com.amazonaws.nimble#UpdateLaunchProfileResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to update a launch profile", - "aws.iam#requiredActions": [ - "ec2:DescribeSubnets", - "ec2:DescribeRouteTables", - "ec2:DescribeNetworkAcls", - "ec2:DescribeVpcEndpoints", - "ec2:DescribeNatGateways" - ], - "smithy.api#documentation": "

Update a launch profile.

", - "smithy.api#http": { - "method": "PATCH", - "uri": "/2020-08-01/studios/{studioId}/launch-profiles/{launchProfileId}", - "code": 200 - } - } - }, - "com.amazonaws.nimble#UpdateLaunchProfileMember": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#UpdateLaunchProfileMemberRequest" - }, - "output": { - "target": "com.amazonaws.nimble#UpdateLaunchProfileMemberResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to update a launch profile member", - "smithy.api#documentation": "

Update a user persona in launch profile membership.

", - "smithy.api#http": { - "method": "PATCH", - "uri": "/2020-08-01/studios/{studioId}/launch-profiles/{launchProfileId}/membership/{principalId}", - "code": 200 - } - } - }, - "com.amazonaws.nimble#UpdateLaunchProfileMemberRequest": { - "type": "structure", - "members": { - "clientToken": { - "target": "com.amazonaws.nimble#ClientToken", - "traits": { - "smithy.api#documentation": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request. If you don’t specify a client token, the Amazon Web Services SDK automatically\n generates a client token and uses it for the request to ensure idempotency.

", - "smithy.api#httpHeader": "X-Amz-Client-Token", - "smithy.api#idempotencyToken": {} - } - }, - "launchProfileId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The ID of the launch profile used to control access from the streaming session.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "persona": { - "target": "com.amazonaws.nimble#LaunchProfilePersona", - "traits": { - "smithy.api#documentation": "

The persona.

", - "smithy.api#required": {} - } - }, - "principalId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The principal ID. This currently supports a IAM Identity Center UserId.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "studioId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The studio ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.nimble#UpdateLaunchProfileMemberResponse": { - "type": "structure", - "members": { - "member": { - "target": "com.amazonaws.nimble#LaunchProfileMembership", - "traits": { - "smithy.api#documentation": "

The updated member.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#UpdateLaunchProfileRequest": { - "type": "structure", - "members": { - "clientToken": { - "target": "com.amazonaws.nimble#ClientToken", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request. If you don’t specify a client token, the Amazon Web Services SDK automatically\n generates a client token and uses it for the request to ensure idempotency.

", - "smithy.api#httpHeader": "X-Amz-Client-Token", - "smithy.api#idempotencyToken": {} - } - }, - "description": { - "target": "com.amazonaws.nimble#LaunchProfileDescription", - "traits": { - "smithy.api#documentation": "

The description.

" - } - }, - "launchProfileId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The ID of the launch profile used to control access from the streaming session.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "launchProfileProtocolVersions": { - "target": "com.amazonaws.nimble#LaunchProfileProtocolVersionList", - "traits": { - "smithy.api#documentation": "

The version number of the protocol that is used by the launch profile. The only valid\n version is \"2021-03-31\".

" - } - }, - "name": { - "target": "com.amazonaws.nimble#LaunchProfileName", - "traits": { - "smithy.api#documentation": "

The name for the launch profile.

" - } - }, - "streamConfiguration": { - "target": "com.amazonaws.nimble#StreamConfigurationCreate", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

A configuration for a streaming session.

" - } - }, - "studioComponentIds": { - "target": "com.amazonaws.nimble#LaunchProfileStudioComponentIdList", - "traits": { - "smithy.api#documentation": "

Unique identifiers for a collection of studio components that can be used with this\n launch profile.

" - } - }, - "studioId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The studio ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.nimble#UpdateLaunchProfileResponse": { - "type": "structure", - "members": { - "launchProfile": { - "target": "com.amazonaws.nimble#LaunchProfile", - "traits": { - "smithy.api#documentation": "

The launch profile.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#UpdateStreamingImage": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#UpdateStreamingImageRequest" - }, - "output": { - "target": "com.amazonaws.nimble#UpdateStreamingImageResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to update a streaming image", - "smithy.api#documentation": "

Update streaming image.

", - "smithy.api#http": { - "method": "PATCH", - "uri": "/2020-08-01/studios/{studioId}/streaming-images/{streamingImageId}", - "code": 200 - } - } - }, - "com.amazonaws.nimble#UpdateStreamingImageRequest": { - "type": "structure", - "members": { - "clientToken": { - "target": "com.amazonaws.nimble#ClientToken", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request. If you don’t specify a client token, the Amazon Web Services SDK automatically\n generates a client token and uses it for the request to ensure idempotency.

", - "smithy.api#httpHeader": "X-Amz-Client-Token", - "smithy.api#idempotencyToken": {} - } - }, - "description": { - "target": "com.amazonaws.nimble#StreamingImageDescription", - "traits": { - "smithy.api#documentation": "

The description.

" - } - }, - "name": { - "target": "com.amazonaws.nimble#StreamingImageName", - "traits": { - "smithy.api#documentation": "

The name for the streaming image.

" - } - }, - "streamingImageId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The streaming image ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "studioId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The studio ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.nimble#UpdateStreamingImageResponse": { - "type": "structure", - "members": { - "streamingImage": { - "target": "com.amazonaws.nimble#StreamingImage" - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#UpdateStudio": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#UpdateStudioRequest" - }, - "output": { - "target": "com.amazonaws.nimble#UpdateStudioResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to update a studio", - "aws.iam#requiredActions": ["iam:PassRole"], - "smithy.api#documentation": "

Update a Studio resource.

\n

Currently, this operation only supports updating the displayName of your\n studio.

", - "smithy.api#http": { - "method": "PATCH", - "uri": "/2020-08-01/studios/{studioId}", - "code": 200 - } - } - }, - "com.amazonaws.nimble#UpdateStudioComponent": { - "type": "operation", - "input": { - "target": "com.amazonaws.nimble#UpdateStudioComponentRequest" - }, - "output": { - "target": "com.amazonaws.nimble#UpdateStudioComponentResponse" - }, - "errors": [ - { - "target": "com.amazonaws.nimble#AccessDeniedException" - }, - { - "target": "com.amazonaws.nimble#ConflictException" - }, - { - "target": "com.amazonaws.nimble#InternalServerErrorException" - }, - { - "target": "com.amazonaws.nimble#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.nimble#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.nimble#ThrottlingException" - }, - { - "target": "com.amazonaws.nimble#ValidationException" - } - ], - "traits": { - "aws.iam#actionPermissionDescription": "Grants permission to update a studio component", - "aws.iam#requiredActions": [ - "ec2:DescribeSecurityGroups", - "fsx:DescribeFileSystems", - "ds:DescribeDirectories", - "iam:PassRole" - ], - "smithy.api#documentation": "

Updates a studio component resource.

", - "smithy.api#http": { - "method": "PATCH", - "uri": "/2020-08-01/studios/{studioId}/studio-components/{studioComponentId}", - "code": 200 - } - } - }, - "com.amazonaws.nimble#UpdateStudioComponentRequest": { - "type": "structure", - "members": { - "clientToken": { - "target": "com.amazonaws.nimble#ClientToken", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request. If you don’t specify a client token, the Amazon Web Services SDK automatically\n generates a client token and uses it for the request to ensure idempotency.

", - "smithy.api#httpHeader": "X-Amz-Client-Token", - "smithy.api#idempotencyToken": {} - } - }, - "configuration": { - "target": "com.amazonaws.nimble#StudioComponentConfiguration", - "traits": { - "smithy.api#documentation": "

The configuration of the studio component, based on component type.

" - } - }, - "description": { - "target": "com.amazonaws.nimble#StudioComponentDescription", - "traits": { - "smithy.api#documentation": "

The description.

" - } - }, - "ec2SecurityGroupIds": { - "target": "com.amazonaws.nimble#StudioComponentSecurityGroupIdList", - "traits": { - "smithy.api#documentation": "

The EC2 security groups that control access to the studio component.

" - } - }, - "initializationScripts": { - "target": "com.amazonaws.nimble#StudioComponentInitializationScriptList", - "traits": { - "smithy.api#documentation": "

Initialization scripts for studio components.

" - } - }, - "name": { - "target": "com.amazonaws.nimble#StudioComponentName", - "traits": { - "smithy.api#documentation": "

The name for the studio component.

" - } - }, - "scriptParameters": { - "target": "com.amazonaws.nimble#StudioComponentScriptParameterKeyValueList", - "traits": { - "smithy.api#documentation": "

Parameters for the studio component scripts.

" - } - }, - "studioComponentId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The studio component ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "studioId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The studio ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "subtype": { - "target": "com.amazonaws.nimble#StudioComponentSubtype", - "traits": { - "smithy.api#documentation": "

The specific subtype of a studio component.

" - } - }, - "type": { - "target": "com.amazonaws.nimble#StudioComponentType", - "traits": { - "smithy.api#documentation": "

The type of the studio component.

" - } - }, - "secureInitializationRoleArn": { - "target": "com.amazonaws.nimble#RoleArn", - "traits": { - "aws.cloudformation#cfnMutability": "full", - "smithy.api#documentation": "

An IAM role attached to Studio Component when the system initialization\n script runs which give the studio component access to Amazon Web Services resources when\n the system initialization script runs.

" - } - }, - "runtimeRoleArn": { - "target": "com.amazonaws.nimble#RoleArn", - "traits": { - "aws.cloudformation#cfnMutability": "full", - "smithy.api#documentation": "

An IAM role attached to a Studio Component that gives the studio\n component access to Amazon Web Services resources at anytime while the instance is\n running.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.nimble#UpdateStudioComponentResponse": { - "type": "structure", - "members": { - "studioComponent": { - "target": "com.amazonaws.nimble#StudioComponent", - "traits": { - "smithy.api#documentation": "

Information about the studio component.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#UpdateStudioRequest": { - "type": "structure", - "members": { - "adminRoleArn": { - "target": "com.amazonaws.nimble#RoleArn", - "traits": { - "smithy.api#documentation": "

The IAM role that Studio Admins will assume when logging in to the\n Nimble Studio portal.

" - } - }, - "clientToken": { - "target": "com.amazonaws.nimble#ClientToken", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request. If you don’t specify a client token, the Amazon Web Services SDK automatically\n generates a client token and uses it for the request to ensure idempotency.

", - "smithy.api#httpHeader": "X-Amz-Client-Token", - "smithy.api#idempotencyToken": {} - } - }, - "displayName": { - "target": "com.amazonaws.nimble#StudioDisplayName", - "traits": { - "smithy.api#documentation": "

A friendly name for the studio.

" - } - }, - "studioId": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

The studio ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "userRoleArn": { - "target": "com.amazonaws.nimble#RoleArn", - "traits": { - "smithy.api#documentation": "

The IAM role that Studio Users will assume when logging in to the\n Nimble Studio portal.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.nimble#UpdateStudioResponse": { - "type": "structure", - "members": { - "studio": { - "target": "com.amazonaws.nimble#Studio", - "traits": { - "smithy.api#documentation": "

Information about a studio.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.nimble#ValidationException": { - "type": "structure", - "members": { - "code": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

A more specific error code.

" - } - }, - "context": { - "target": "com.amazonaws.nimble#ExceptionContext", - "traits": { - "smithy.api#documentation": "

The exception context.

" - } - }, - "message": { - "target": "com.amazonaws.nimble#String", - "traits": { - "smithy.api#documentation": "

A human-readable description of the error.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

One of the parameters in the request is invalid.

", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } - }, - "com.amazonaws.nimble#ValidationResult": { - "type": "structure", - "members": { - "type": { - "target": "com.amazonaws.nimble#LaunchProfileValidationType", - "traits": { - "smithy.api#documentation": "

The type of the validation result.

", - "smithy.api#required": {} - } - }, - "state": { - "target": "com.amazonaws.nimble#LaunchProfileValidationState", - "traits": { - "smithy.api#documentation": "

The current state.

", - "smithy.api#required": {} - } - }, - "statusCode": { - "target": "com.amazonaws.nimble#LaunchProfileValidationStatusCode", - "traits": { - "smithy.api#documentation": "

The status code. This will contain the failure reason if the state is\n VALIDATION_FAILED.

", - "smithy.api#required": {} - } - }, - "statusMessage": { - "target": "com.amazonaws.nimble#LaunchProfileValidationStatusMessage", - "traits": { - "smithy.api#documentation": "

The status message for the validation result.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

The launch profile validation result.

" - } - }, - "com.amazonaws.nimble#ValidationResults": { - "type": "list", - "member": { - "target": "com.amazonaws.nimble#ValidationResult" - } - }, - "com.amazonaws.nimble#VolumeConfiguration": { - "type": "structure", - "members": { - "size": { - "target": "com.amazonaws.nimble#VolumeSizeInGiB", - "traits": { - "smithy.api#default": 500, - "smithy.api#documentation": "

The size of the root volume that is attached to the streaming session. The root volume\n size is measured in GiBs.

" - } - }, - "throughput": { - "target": "com.amazonaws.nimble#VolumeThroughputInMiBs", - "traits": { - "smithy.api#default": 125, - "smithy.api#documentation": "

The throughput to provision for the root volume that is attached to the streaming\n session. The throughput is measured in MiB/s.

" - } - }, - "iops": { - "target": "com.amazonaws.nimble#VolumeIops", - "traits": { - "smithy.api#default": 3000, - "smithy.api#documentation": "

The number of I/O operations per second for the root volume that is attached to\n streaming session.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Custom volume configuration for the root volumes that are attached to streaming\n sessions.

\n

This parameter is only allowed when sessionPersistenceMode is\n ACTIVATED.

" - } - }, - "com.amazonaws.nimble#VolumeIops": { - "type": "integer", - "traits": { - "smithy.api#default": 3000, - "smithy.api#range": { - "min": 3000, - "max": 16000 - } - } - }, - "com.amazonaws.nimble#VolumeRetentionMode": { - "type": "enum", - "members": { - "RETAIN": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "RETAIN" - } - }, - "DELETE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DELETE" - } - } - } - }, - "com.amazonaws.nimble#VolumeSizeInGiB": { - "type": "integer", - "traits": { - "smithy.api#default": 500, - "smithy.api#range": { - "min": 100, - "max": 16000 - } - } - }, - "com.amazonaws.nimble#VolumeThroughputInMiBs": { - "type": "integer", - "traits": { - "smithy.api#default": 125, - "smithy.api#range": { - "min": 125, - "max": 1000 - } - } - }, - "com.amazonaws.nimble#WindowsMountDrive": { - "type": "string", - "traits": { - "smithy.api#pattern": "^[A-Z]$" - } - }, - "com.amazonaws.nimble#nimble": { - "type": "service", - "version": "2020-08-01", - "operations": [ - { - "target": "com.amazonaws.nimble#ListTagsForResource" - }, - { - "target": "com.amazonaws.nimble#TagResource" - }, - { - "target": "com.amazonaws.nimble#UntagResource" - } - ], - "resources": [ - { - "target": "com.amazonaws.nimble#EulaAcceptanceResource" - }, - { - "target": "com.amazonaws.nimble#EulaResource" - }, - { - "target": "com.amazonaws.nimble#LaunchProfileResource" - }, - { - "target": "com.amazonaws.nimble#StreamingImageResource" - }, - { - "target": "com.amazonaws.nimble#StreamingSessionBackupResource" - }, - { - "target": "com.amazonaws.nimble#StreamingSessionResource" - }, - { - "target": "com.amazonaws.nimble#StudioComponentResource" - }, - { - "target": "com.amazonaws.nimble#StudioResource" - } - ], - "traits": { - "aws.api#service": { - "sdkId": "nimble", - "cloudFormationName": "NimbleStudio", - "arnNamespace": "nimble", - "cloudTrailEventSource": "nimble.amazonaws.com" - }, - "aws.auth#sigv4": { - "name": "nimble" - }, - "aws.iam#defineConditionKeys": { - "aws:ResourceTag/${TagKey}": { - "type": "String", - "documentation": "Filters access by a tag key and value pair of a resource", - "externalDocumentation": "${DocHomeURL}IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-resourcetag" - }, - "aws:RequestTag/${TagKey}": { - "type": "String", - "documentation": "Filters access by a tag key and value pair that is allowed in the request", - "externalDocumentation": "${DocHomeURL}IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-requesttag" - }, - "aws:TagKeys": { - "type": "ArrayOfString", - "documentation": "Filters access by a list of tag keys that are allowed in the request", - "externalDocumentation": "${DocHomeURL}IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-tagkeys" - }, - "nimble:studioId": { - "type": "String", - "documentation": "Filters access by a specific studio", - "externalDocumentation": "${ContextKeysDocRoot}" - }, - "nimble:requesterPrincipalId": { - "type": "String", - "documentation": "Filters access by the ID of the logged in user", - "externalDocumentation": "${ContextKeysDocRoot}" - }, - "nimble:principalId": { - "type": "String", - "documentation": "Filters access by the principalId request parameter", - "externalDocumentation": "${ContextKeysDocRoot}" - }, - "nimble:createdBy": { - "type": "String", - "documentation": "Filters access by the createdBy request parameter or the ID of the creator of the resource", - "externalDocumentation": "${ContextKeysDocRoot}" - }, - "nimble:ownedBy": { - "type": "String", - "documentation": "Filters access by the ownedBy request parameter or the ID of the owner of the resource", - "externalDocumentation": "${ContextKeysDocRoot}" - } - }, - "aws.protocols#restJson1": {}, - "smithy.api#cors": { - "additionalAllowedHeaders": [ - "*", - "content-type", - "authorization", - "x-amz-date", - "x-amz-content-sha256", - "x-amz-user-agent", - "x-amzn-trace-id", - "x-amz-dryrun", - "x-amz-client-token", - "x-api-key" - ], - "additionalExposedHeaders": ["x-amzn-errortype", "x-amzn-requestid", "x-amzn-trace-id", "x-amz-apigw-id"], - "maxAge": 600 - }, - "smithy.api#documentation": "

Welcome to the Amazon Nimble Studio API reference. This API reference provides\n methods, schema, resources, parameters, and more to help you get the most out of Nimble\n Studio.

\n

Nimble Studio is a virtual studio that empowers visual effects, animation, and\n interactive content teams to create content securely within a scalable, private cloud\n service.

", - "smithy.api#title": "AmazonNimbleStudio", - "smithy.rules#endpointRuleSet": { - "version": "1.0", - "parameters": { - "Region": { - "builtIn": "AWS::Region", - "required": false, - "documentation": "The AWS region used to dispatch the request.", - "type": "String" - }, - "UseDualStack": { - "builtIn": "AWS::UseDualStack", - "required": true, - "default": false, - "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", - "type": "Boolean" - }, - "UseFIPS": { - "builtIn": "AWS::UseFIPS", - "required": true, - "default": false, - "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", - "type": "Boolean" - }, - "Endpoint": { - "builtIn": "SDK::Endpoint", - "required": false, - "documentation": "Override the endpoint used to send this request", - "type": "String" - } - }, - "rules": [ - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Endpoint" - } - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "error": "Invalid Configuration: FIPS and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" - }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Region" - } - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "aws.partition", - "argv": [ - { - "ref": "Region" - } - ], - "assign": "PartitionResult" - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://nimble-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" - } - ], - "type": "tree" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - }, - true - ] - } - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://nimble-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" - } - ], - "type": "tree" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://nimble.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" - } - ], - "type": "tree" - }, - { - "conditions": [], - "endpoint": { - "url": "https://nimble.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" - } - ] - }, - "smithy.rules#endpointTests": { - "testCases": [ - { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://nimble.ap-northeast-1.amazonaws.com" - } - }, - "params": { - "Region": "ap-northeast-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://nimble.ap-southeast-2.amazonaws.com" - } - }, - "params": { - "Region": "ap-southeast-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://nimble.ca-central-1.amazonaws.com" - } - }, - "params": { - "Region": "ca-central-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://nimble.eu-west-2.amazonaws.com" - } - }, - "params": { - "Region": "eu-west-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://nimble.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://nimble.us-west-2.amazonaws.com" - } - }, - "params": { - "Region": "us-west-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://nimble-fips.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://nimble-fips.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://nimble.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://nimble-fips.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://nimble-fips.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://nimble.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://nimble.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://nimble-fips.us-gov-east-1.api.aws" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://nimble-fips.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://nimble.us-gov-east-1.api.aws" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://nimble.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://nimble-fips.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://nimble.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://nimble-fips.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://nimble.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips enabled and dualstack disabled", - "expect": { - "error": "Invalid Configuration: FIPS and custom endpoint are not supported" - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips disabled and dualstack enabled", - "expect": { - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "Missing region", - "expect": { - "error": "Invalid Configuration: Missing Region" - } - } - ], - "version": "1.0" - } - } - } - } -} diff --git a/codegen/smithy-aws-typescript-codegen/src/main/resources/software/amazon/smithy/aws/typescript/codegen/endpoints.json b/codegen/smithy-aws-typescript-codegen/src/main/resources/software/amazon/smithy/aws/typescript/codegen/endpoints.json index 23de747a6375..9ee70f551c30 100644 --- a/codegen/smithy-aws-typescript-codegen/src/main/resources/software/amazon/smithy/aws/typescript/codegen/endpoints.json +++ b/codegen/smithy-aws-typescript-codegen/src/main/resources/software/amazon/smithy/aws/typescript/codegen/endpoints.json @@ -15585,21 +15585,6 @@ "isRegionalized": false, "partitionEndpoint": "aws-global" }, - "nimble": { - "endpoints": { - "ap-northeast-1": {}, - "ap-southeast-1": {}, - "ap-southeast-2": {}, - "ca-central-1": {}, - "eu-central-1": {}, - "eu-north-1": {}, - "eu-west-1": {}, - "eu-west-2": {}, - "us-east-1": {}, - "us-east-2": {}, - "us-west-2": {} - } - }, "oam": { "endpoints": { "af-south-1": {},