diff --git a/package-lock.json b/package-lock.json index 7a34807d47a..bb400e1621e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -71,6 +71,1092 @@ "resolved": "src.gen/@amzn/codewhisperer-streaming", "link": true }, + "node_modules/@amzn/datazone-custom-client": { + "version": "3.0.0", + "resolved": "file:src.gen/@amzn/datazone-custom-client/3.0.0.tgz", + "integrity": "sha512-jUYc+wHaHGUkeunJd5oeogsBFMAMpLW1fgflJWqoRJ9t9zZ1inR/wPenMxsLT1pA6VizEW8CQtwG5cSUjCIvng==", + "dependencies": { + "@aws-crypto/sha256-browser": "5.2.0", + "@aws-crypto/sha256-js": "5.2.0", + "@aws-sdk/core": "3.901.0", + "@aws-sdk/credential-provider-node": "3.901.0", + "@aws-sdk/middleware-host-header": "3.901.0", + "@aws-sdk/middleware-logger": "3.901.0", + "@aws-sdk/middleware-recursion-detection": "3.901.0", + "@aws-sdk/middleware-user-agent": "3.901.0", + "@aws-sdk/region-config-resolver": "3.901.0", + "@aws-sdk/types": "3.901.0", + "@aws-sdk/util-endpoints": "3.901.0", + "@aws-sdk/util-user-agent-browser": "3.901.0", + "@aws-sdk/util-user-agent-node": "3.901.0", + "@smithy/config-resolver": "^4.3.0", + "@smithy/core": "^3.14.0", + "@smithy/fetch-http-handler": "^5.3.0", + "@smithy/hash-node": "^4.2.0", + "@smithy/invalid-dependency": "^4.2.0", + "@smithy/middleware-content-length": "^4.2.0", + "@smithy/middleware-endpoint": "^4.3.0", + "@smithy/middleware-retry": "^4.4.0", + "@smithy/middleware-serde": "^4.2.0", + "@smithy/middleware-stack": "^4.2.0", + "@smithy/node-config-provider": "^4.3.0", + "@smithy/node-http-handler": "^4.3.0", + "@smithy/protocol-http": "^5.3.0", + "@smithy/smithy-client": "^4.7.0", + "@smithy/types": "^4.6.0", + "@smithy/url-parser": "^4.2.0", + "@smithy/util-base64": "^4.2.0", + "@smithy/util-body-length-browser": "^4.2.0", + "@smithy/util-body-length-node": "^4.2.0", + "@smithy/util-defaults-mode-browser": "^4.2.0", + "@smithy/util-defaults-mode-node": "^4.2.0", + "@smithy/util-endpoints": "^3.2.0", + "@smithy/util-middleware": "^4.2.0", + "@smithy/util-retry": "^4.2.0", + "@smithy/util-stream": "^4.4.0", + "@smithy/util-utf8": "^4.2.0", + "@smithy/uuid": "^1.1.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@aws-sdk/client-sso": { + "version": "3.901.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/client-sso/-/client-sso-3.901.0.tgz", + "integrity": "sha512-sGyDjjkJ7ppaE+bAKL/Q5IvVCxtoyBIzN+7+hWTS/mUxWJ9EOq9238IqmVIIK6sYNIzEf9yhobfMARasPYVTNg==", + "license": "Apache-2.0", + "dependencies": { + "@aws-crypto/sha256-browser": "5.2.0", + "@aws-crypto/sha256-js": "5.2.0", + "@aws-sdk/core": "3.901.0", + "@aws-sdk/middleware-host-header": "3.901.0", + "@aws-sdk/middleware-logger": "3.901.0", + "@aws-sdk/middleware-recursion-detection": "3.901.0", + "@aws-sdk/middleware-user-agent": "3.901.0", + "@aws-sdk/region-config-resolver": "3.901.0", + "@aws-sdk/types": "3.901.0", + "@aws-sdk/util-endpoints": "3.901.0", + "@aws-sdk/util-user-agent-browser": "3.901.0", + "@aws-sdk/util-user-agent-node": "3.901.0", + "@smithy/config-resolver": "^4.3.0", + "@smithy/core": "^3.14.0", + "@smithy/fetch-http-handler": "^5.3.0", + "@smithy/hash-node": "^4.2.0", + "@smithy/invalid-dependency": "^4.2.0", + "@smithy/middleware-content-length": "^4.2.0", + "@smithy/middleware-endpoint": "^4.3.0", + "@smithy/middleware-retry": "^4.4.0", + "@smithy/middleware-serde": "^4.2.0", + "@smithy/middleware-stack": "^4.2.0", + "@smithy/node-config-provider": "^4.3.0", + "@smithy/node-http-handler": "^4.3.0", + "@smithy/protocol-http": "^5.3.0", + "@smithy/smithy-client": "^4.7.0", + "@smithy/types": "^4.6.0", + "@smithy/url-parser": "^4.2.0", + "@smithy/util-base64": "^4.2.0", + "@smithy/util-body-length-browser": "^4.2.0", + "@smithy/util-body-length-node": "^4.2.0", + "@smithy/util-defaults-mode-browser": "^4.2.0", + "@smithy/util-defaults-mode-node": "^4.2.0", + "@smithy/util-endpoints": "^3.2.0", + "@smithy/util-middleware": "^4.2.0", + "@smithy/util-retry": "^4.2.0", + "@smithy/util-utf8": "^4.2.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@aws-sdk/core": { + "version": "3.901.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/core/-/core-3.901.0.tgz", + "integrity": "sha512-brKAc3y64tdhyuEf+OPIUln86bRTqkLgb9xkd6kUdIeA5+qmp/N6amItQz+RN4k4O3kqkCPYnAd3LonTKluobw==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "3.901.0", + "@aws-sdk/xml-builder": "3.901.0", + "@smithy/core": "^3.14.0", + "@smithy/node-config-provider": "^4.3.0", + "@smithy/property-provider": "^4.2.0", + "@smithy/protocol-http": "^5.3.0", + "@smithy/signature-v4": "^5.3.0", + "@smithy/smithy-client": "^4.7.0", + "@smithy/types": "^4.6.0", + "@smithy/util-base64": "^4.2.0", + "@smithy/util-middleware": "^4.2.0", + "@smithy/util-utf8": "^4.2.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@aws-sdk/credential-provider-env": { + "version": "3.901.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.901.0.tgz", + "integrity": "sha512-5hAdVl3tBuARh3zX5MLJ1P/d+Kr5kXtDU3xm1pxUEF4xt2XkEEpwiX5fbkNkz2rbh3BCt2gOHsAbh6b3M7n+DA==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/core": "3.901.0", + "@aws-sdk/types": "3.901.0", + "@smithy/property-provider": "^4.2.0", + "@smithy/types": "^4.6.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@aws-sdk/credential-provider-http": { + "version": "3.901.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-http/-/credential-provider-http-3.901.0.tgz", + "integrity": "sha512-Ggr7+0M6QZEsrqRkK7iyJLf4LkIAacAxHz9c4dm9hnDdU7vqrlJm6g73IxMJXWN1bIV7IxfpzB11DsRrB/oNjQ==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/core": "3.901.0", + "@aws-sdk/types": "3.901.0", + "@smithy/fetch-http-handler": "^5.3.0", + "@smithy/node-http-handler": "^4.3.0", + "@smithy/property-provider": "^4.2.0", + "@smithy/protocol-http": "^5.3.0", + "@smithy/smithy-client": "^4.7.0", + "@smithy/types": "^4.6.0", + "@smithy/util-stream": "^4.4.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@aws-sdk/credential-provider-ini": { + "version": "3.901.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.901.0.tgz", + "integrity": "sha512-zxadcDS0hNJgv8n4hFYJNOXyfjaNE1vvqIiF/JzZSQpSSYXzCd+WxXef5bQh+W3giDtRUmkvP5JLbamEFjZKyw==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/core": "3.901.0", + "@aws-sdk/credential-provider-env": "3.901.0", + "@aws-sdk/credential-provider-http": "3.901.0", + "@aws-sdk/credential-provider-process": "3.901.0", + "@aws-sdk/credential-provider-sso": "3.901.0", + "@aws-sdk/credential-provider-web-identity": "3.901.0", + "@aws-sdk/nested-clients": "3.901.0", + "@aws-sdk/types": "3.901.0", + "@smithy/credential-provider-imds": "^4.2.0", + "@smithy/property-provider": "^4.2.0", + "@smithy/shared-ini-file-loader": "^4.3.0", + "@smithy/types": "^4.6.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@aws-sdk/credential-provider-node": { + "version": "3.901.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.901.0.tgz", + "integrity": "sha512-dPuFzMF7L1s/lQyT3wDxqLe82PyTH+5o1jdfseTEln64LJMl0ZMWaKX/C1UFNDxaTd35Cgt1bDbjjAWHMiKSFQ==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/credential-provider-env": "3.901.0", + "@aws-sdk/credential-provider-http": "3.901.0", + "@aws-sdk/credential-provider-ini": "3.901.0", + "@aws-sdk/credential-provider-process": "3.901.0", + "@aws-sdk/credential-provider-sso": "3.901.0", + "@aws-sdk/credential-provider-web-identity": "3.901.0", + "@aws-sdk/types": "3.901.0", + "@smithy/credential-provider-imds": "^4.2.0", + "@smithy/property-provider": "^4.2.0", + "@smithy/shared-ini-file-loader": "^4.3.0", + "@smithy/types": "^4.6.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@aws-sdk/credential-provider-process": { + "version": "3.901.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.901.0.tgz", + "integrity": "sha512-/IWgmgM3Cl1wTdJA5HqKMAojxLkYchh5kDuphApxKhupLu6Pu0JBOHU8A5GGeFvOycyaVwosod6zDduINZxe+A==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/core": "3.901.0", + "@aws-sdk/types": "3.901.0", + "@smithy/property-provider": "^4.2.0", + "@smithy/shared-ini-file-loader": "^4.3.0", + "@smithy/types": "^4.6.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@aws-sdk/credential-provider-sso": { + "version": "3.901.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.901.0.tgz", + "integrity": "sha512-SjmqZQHmqFSET7+6xcZgtH7yEyh5q53LN87GqwYlJZ6KJ5oNw11acUNEhUOL1xTSJEvaWqwTIkS2zqrzLcM9bw==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/client-sso": "3.901.0", + "@aws-sdk/core": "3.901.0", + "@aws-sdk/token-providers": "3.901.0", + "@aws-sdk/types": "3.901.0", + "@smithy/property-provider": "^4.2.0", + "@smithy/shared-ini-file-loader": "^4.3.0", + "@smithy/types": "^4.6.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@aws-sdk/credential-provider-web-identity": { + "version": "3.901.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.901.0.tgz", + "integrity": "sha512-NYjy/6NLxH9m01+pfpB4ql8QgAorJcu8tw69kzHwUd/ql6wUDTbC7HcXqtKlIwWjzjgj2BKL7j6SyFapgCuafA==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/core": "3.901.0", + "@aws-sdk/nested-clients": "3.901.0", + "@aws-sdk/types": "3.901.0", + "@smithy/property-provider": "^4.2.0", + "@smithy/shared-ini-file-loader": "^4.3.0", + "@smithy/types": "^4.6.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@aws-sdk/middleware-host-header": { + "version": "3.901.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-host-header/-/middleware-host-header-3.901.0.tgz", + "integrity": "sha512-yWX7GvRmqBtbNnUW7qbre3GvZmyYwU0WHefpZzDTYDoNgatuYq6LgUIQ+z5C04/kCRoFkAFrHag8a3BXqFzq5A==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "3.901.0", + "@smithy/protocol-http": "^5.3.0", + "@smithy/types": "^4.6.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@aws-sdk/middleware-logger": { + "version": "3.901.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-logger/-/middleware-logger-3.901.0.tgz", + "integrity": "sha512-UoHebjE7el/tfRo8/CQTj91oNUm+5Heus5/a4ECdmWaSCHCS/hXTsU3PTTHAY67oAQR8wBLFPfp3mMvXjB+L2A==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "3.901.0", + "@smithy/types": "^4.6.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@aws-sdk/middleware-recursion-detection": { + "version": "3.901.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-recursion-detection/-/middleware-recursion-detection-3.901.0.tgz", + "integrity": "sha512-Wd2t8qa/4OL0v/oDpCHHYkgsXJr8/ttCxrvCKAt0H1zZe2LlRhY9gpDVKqdertfHrHDj786fOvEQA28G1L75Dg==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "3.901.0", + "@aws/lambda-invoke-store": "^0.0.1", + "@smithy/protocol-http": "^5.3.0", + "@smithy/types": "^4.6.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@aws-sdk/middleware-user-agent": { + "version": "3.901.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-user-agent/-/middleware-user-agent-3.901.0.tgz", + "integrity": "sha512-Zby4F03fvD9xAgXGPywyk4bC1jCbnyubMEYChLYohD+x20ULQCf+AimF/Btn7YL+hBpzh1+RmqmvZcx+RgwgNQ==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/core": "3.901.0", + "@aws-sdk/types": "3.901.0", + "@aws-sdk/util-endpoints": "3.901.0", + "@smithy/core": "^3.14.0", + "@smithy/protocol-http": "^5.3.0", + "@smithy/types": "^4.6.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@aws-sdk/nested-clients": { + "version": "3.901.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/nested-clients/-/nested-clients-3.901.0.tgz", + "integrity": "sha512-feAAAMsVwctk2Tms40ONybvpfJPLCmSdI+G+OTrNpizkGLNl6ik2Ng2RzxY6UqOfN8abqKP/DOUj1qYDRDG8ag==", + "license": "Apache-2.0", + "dependencies": { + "@aws-crypto/sha256-browser": "5.2.0", + "@aws-crypto/sha256-js": "5.2.0", + "@aws-sdk/core": "3.901.0", + "@aws-sdk/middleware-host-header": "3.901.0", + "@aws-sdk/middleware-logger": "3.901.0", + "@aws-sdk/middleware-recursion-detection": "3.901.0", + "@aws-sdk/middleware-user-agent": "3.901.0", + "@aws-sdk/region-config-resolver": "3.901.0", + "@aws-sdk/types": "3.901.0", + "@aws-sdk/util-endpoints": "3.901.0", + "@aws-sdk/util-user-agent-browser": "3.901.0", + "@aws-sdk/util-user-agent-node": "3.901.0", + "@smithy/config-resolver": "^4.3.0", + "@smithy/core": "^3.14.0", + "@smithy/fetch-http-handler": "^5.3.0", + "@smithy/hash-node": "^4.2.0", + "@smithy/invalid-dependency": "^4.2.0", + "@smithy/middleware-content-length": "^4.2.0", + "@smithy/middleware-endpoint": "^4.3.0", + "@smithy/middleware-retry": "^4.4.0", + "@smithy/middleware-serde": "^4.2.0", + "@smithy/middleware-stack": "^4.2.0", + "@smithy/node-config-provider": "^4.3.0", + "@smithy/node-http-handler": "^4.3.0", + "@smithy/protocol-http": "^5.3.0", + "@smithy/smithy-client": "^4.7.0", + "@smithy/types": "^4.6.0", + "@smithy/url-parser": "^4.2.0", + "@smithy/util-base64": "^4.2.0", + "@smithy/util-body-length-browser": "^4.2.0", + "@smithy/util-body-length-node": "^4.2.0", + "@smithy/util-defaults-mode-browser": "^4.2.0", + "@smithy/util-defaults-mode-node": "^4.2.0", + "@smithy/util-endpoints": "^3.2.0", + "@smithy/util-middleware": "^4.2.0", + "@smithy/util-retry": "^4.2.0", + "@smithy/util-utf8": "^4.2.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@aws-sdk/region-config-resolver": { + "version": "3.901.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/region-config-resolver/-/region-config-resolver-3.901.0.tgz", + "integrity": "sha512-7F0N888qVLHo4CSQOsnkZ4QAp8uHLKJ4v3u09Ly5k4AEStrSlFpckTPyUx6elwGL+fxGjNE2aakK8vEgzzCV0A==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "3.901.0", + "@smithy/node-config-provider": "^4.3.0", + "@smithy/types": "^4.6.0", + "@smithy/util-config-provider": "^4.2.0", + "@smithy/util-middleware": "^4.2.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@aws-sdk/token-providers": { + "version": "3.901.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.901.0.tgz", + "integrity": "sha512-pJEr1Ggbc/uVTDqp9IbNu9hdr0eQf3yZix3s4Nnyvmg4xmJSGAlbPC9LrNr5u3CDZoc8Z9CuLrvbP4MwYquNpQ==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/core": "3.901.0", + "@aws-sdk/nested-clients": "3.901.0", + "@aws-sdk/types": "3.901.0", + "@smithy/property-provider": "^4.2.0", + "@smithy/shared-ini-file-loader": "^4.3.0", + "@smithy/types": "^4.6.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@aws-sdk/types": { + "version": "3.901.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.901.0.tgz", + "integrity": "sha512-FfEM25hLEs4LoXsLXQ/q6X6L4JmKkKkbVFpKD4mwfVHtRVQG6QxJiCPcrkcPISquiy6esbwK2eh64TWbiD60cg==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.6.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@aws-sdk/util-endpoints": { + "version": "3.901.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/util-endpoints/-/util-endpoints-3.901.0.tgz", + "integrity": "sha512-5nZP3hGA8FHEtKvEQf4Aww5QZOkjLW1Z+NixSd+0XKfHvA39Ah5sZboScjLx0C9kti/K3OGW1RCx5K9Zc3bZqg==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "3.901.0", + "@smithy/types": "^4.6.0", + "@smithy/url-parser": "^4.2.0", + "@smithy/util-endpoints": "^3.2.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@aws-sdk/util-user-agent-browser": { + "version": "3.901.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-browser/-/util-user-agent-browser-3.901.0.tgz", + "integrity": "sha512-Ntb6V/WFI21Ed4PDgL/8NSfoZQQf9xzrwNgiwvnxgAl/KvAvRBgQtqj5gHsDX8Nj2YmJuVoHfH9BGjL9VQ4WNg==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "3.901.0", + "@smithy/types": "^4.6.0", + "bowser": "^2.11.0", + "tslib": "^2.6.2" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@aws-sdk/util-user-agent-node": { + "version": "3.901.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-node/-/util-user-agent-node-3.901.0.tgz", + "integrity": "sha512-l59KQP5TY7vPVUfEURc7P5BJKuNg1RSsAKBQW7LHLECXjLqDUbo2SMLrexLBEoArSt6E8QOrIN0C8z/0Xk0jYw==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/middleware-user-agent": "3.901.0", + "@aws-sdk/types": "3.901.0", + "@smithy/node-config-provider": "^4.3.0", + "@smithy/types": "^4.6.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + }, + "peerDependencies": { + "aws-crt": ">=1.0.0" + }, + "peerDependenciesMeta": { + "aws-crt": { + "optional": true + } + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@aws-sdk/xml-builder": { + "version": "3.901.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/xml-builder/-/xml-builder-3.901.0.tgz", + "integrity": "sha512-pxFCkuAP7Q94wMTNPAwi6hEtNrp/BdFf+HOrIEeFQsk4EoOmpKY3I6S+u6A9Wg295J80Kh74LqDWM22ux3z6Aw==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.6.0", + "fast-xml-parser": "5.2.5", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@smithy/abort-controller": { + "version": "4.2.5", + "resolved": "https://registry.npmjs.org/@smithy/abort-controller/-/abort-controller-4.2.5.tgz", + "integrity": "sha512-j7HwVkBw68YW8UmFRcjZOmssE77Rvk0GWAIN1oFBhsaovQmZWYCIcGa9/pwRB0ExI8Sk9MWNALTjftjHZea7VA==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.9.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@smithy/config-resolver": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/@smithy/config-resolver/-/config-resolver-4.4.3.tgz", + "integrity": "sha512-ezHLe1tKLUxDJo2LHtDuEDyWXolw8WGOR92qb4bQdWq/zKenO5BvctZGrVJBK08zjezSk7bmbKFOXIVyChvDLw==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/node-config-provider": "^4.3.5", + "@smithy/types": "^4.9.0", + "@smithy/util-config-provider": "^4.2.0", + "@smithy/util-endpoints": "^3.2.5", + "@smithy/util-middleware": "^4.2.5", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@smithy/core": { + "version": "3.18.7", + "resolved": "https://registry.npmjs.org/@smithy/core/-/core-3.18.7.tgz", + "integrity": "sha512-axG9MvKhMWOhFbvf5y2DuyTxQueO0dkedY9QC3mAfndLosRI/9LJv8WaL0mw7ubNhsO4IuXX9/9dYGPFvHrqlw==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/middleware-serde": "^4.2.6", + "@smithy/protocol-http": "^5.3.5", + "@smithy/types": "^4.9.0", + "@smithy/util-base64": "^4.3.0", + "@smithy/util-body-length-browser": "^4.2.0", + "@smithy/util-middleware": "^4.2.5", + "@smithy/util-stream": "^4.5.6", + "@smithy/util-utf8": "^4.2.0", + "@smithy/uuid": "^1.1.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@smithy/credential-provider-imds": { + "version": "4.2.5", + "resolved": "https://registry.npmjs.org/@smithy/credential-provider-imds/-/credential-provider-imds-4.2.5.tgz", + "integrity": "sha512-BZwotjoZWn9+36nimwm/OLIcVe+KYRwzMjfhd4QT7QxPm9WY0HiOV8t/Wlh+HVUif0SBVV7ksq8//hPaBC/okQ==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/node-config-provider": "^4.3.5", + "@smithy/property-provider": "^4.2.5", + "@smithy/types": "^4.9.0", + "@smithy/url-parser": "^4.2.5", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@smithy/fetch-http-handler": { + "version": "5.3.6", + "resolved": "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-5.3.6.tgz", + "integrity": "sha512-3+RG3EA6BBJ/ofZUeTFJA7mHfSYrZtQIrDP9dI8Lf7X6Jbos2jptuLrAAteDiFVrmbEmLSuRG/bUKzfAXk7dhg==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/protocol-http": "^5.3.5", + "@smithy/querystring-builder": "^4.2.5", + "@smithy/types": "^4.9.0", + "@smithy/util-base64": "^4.3.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@smithy/hash-node": { + "version": "4.2.5", + "resolved": "https://registry.npmjs.org/@smithy/hash-node/-/hash-node-4.2.5.tgz", + "integrity": "sha512-DpYX914YOfA3UDT9CN1BM787PcHfWRBB43fFGCYrZFUH0Jv+5t8yYl+Pd5PW4+QzoGEDvn5d5QIO4j2HyYZQSA==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.9.0", + "@smithy/util-buffer-from": "^4.2.0", + "@smithy/util-utf8": "^4.2.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@smithy/invalid-dependency": { + "version": "4.2.5", + "resolved": "https://registry.npmjs.org/@smithy/invalid-dependency/-/invalid-dependency-4.2.5.tgz", + "integrity": "sha512-2L2erASEro1WC5nV+plwIMxrTXpvpfzl4e+Nre6vBVRR2HKeGGcvpJyyL3/PpiSg+cJG2KpTmZmq934Olb6e5A==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.9.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@smithy/is-array-buffer": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/@smithy/is-array-buffer/-/is-array-buffer-4.2.0.tgz", + "integrity": "sha512-DZZZBvC7sjcYh4MazJSGiWMI2L7E0oCiRHREDzIxi/M2LY79/21iXt6aPLHge82wi5LsuRF5A06Ds3+0mlh6CQ==", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@smithy/middleware-content-length": { + "version": "4.2.5", + "resolved": "https://registry.npmjs.org/@smithy/middleware-content-length/-/middleware-content-length-4.2.5.tgz", + "integrity": "sha512-Y/RabVa5vbl5FuHYV2vUCwvh/dqzrEY/K2yWPSqvhFUwIY0atLqO4TienjBXakoy4zrKAMCZwg+YEqmH7jaN7A==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/protocol-http": "^5.3.5", + "@smithy/types": "^4.9.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@smithy/middleware-endpoint": { + "version": "4.3.14", + "resolved": "https://registry.npmjs.org/@smithy/middleware-endpoint/-/middleware-endpoint-4.3.14.tgz", + "integrity": "sha512-v0q4uTKgBM8dsqGjqsabZQyH85nFaTnFcgpWU1uydKFsdyyMzfvOkNum9G7VK+dOP01vUnoZxIeRiJ6uD0kjIg==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/core": "^3.18.7", + "@smithy/middleware-serde": "^4.2.6", + "@smithy/node-config-provider": "^4.3.5", + "@smithy/shared-ini-file-loader": "^4.4.0", + "@smithy/types": "^4.9.0", + "@smithy/url-parser": "^4.2.5", + "@smithy/util-middleware": "^4.2.5", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@smithy/middleware-retry": { + "version": "4.4.14", + "resolved": "https://registry.npmjs.org/@smithy/middleware-retry/-/middleware-retry-4.4.14.tgz", + "integrity": "sha512-Z2DG8Ej7FyWG1UA+7HceINtSLzswUgs2np3sZX0YBBxCt+CXG4QUxv88ZDS3+2/1ldW7LqtSY1UO/6VQ1pND8Q==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/node-config-provider": "^4.3.5", + "@smithy/protocol-http": "^5.3.5", + "@smithy/service-error-classification": "^4.2.5", + "@smithy/smithy-client": "^4.9.10", + "@smithy/types": "^4.9.0", + "@smithy/util-middleware": "^4.2.5", + "@smithy/util-retry": "^4.2.5", + "@smithy/uuid": "^1.1.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@smithy/middleware-serde": { + "version": "4.2.6", + "resolved": "https://registry.npmjs.org/@smithy/middleware-serde/-/middleware-serde-4.2.6.tgz", + "integrity": "sha512-VkLoE/z7e2g8pirwisLz8XJWedUSY8my/qrp81VmAdyrhi94T+riBfwP+AOEEFR9rFTSonC/5D2eWNmFabHyGQ==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/protocol-http": "^5.3.5", + "@smithy/types": "^4.9.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@smithy/middleware-stack": { + "version": "4.2.5", + "resolved": "https://registry.npmjs.org/@smithy/middleware-stack/-/middleware-stack-4.2.5.tgz", + "integrity": "sha512-bYrutc+neOyWxtZdbB2USbQttZN0mXaOyYLIsaTbJhFsfpXyGWUxJpEuO1rJ8IIJm2qH4+xJT0mxUSsEDTYwdQ==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.9.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@smithy/node-config-provider": { + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@smithy/node-config-provider/-/node-config-provider-4.3.5.tgz", + "integrity": "sha512-UTurh1C4qkVCtqggI36DGbLB2Kv8UlcFdMXDcWMbqVY2uRg0XmT9Pb4Vj6oSQ34eizO1fvR0RnFV4Axw4IrrAg==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/property-provider": "^4.2.5", + "@smithy/shared-ini-file-loader": "^4.4.0", + "@smithy/types": "^4.9.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@smithy/node-http-handler": { + "version": "4.4.5", + "resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-4.4.5.tgz", + "integrity": "sha512-CMnzM9R2WqlqXQGtIlsHMEZfXKJVTIrqCNoSd/QpAyp+Dw0a1Vps13l6ma1fH8g7zSPNsA59B/kWgeylFuA/lw==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/abort-controller": "^4.2.5", + "@smithy/protocol-http": "^5.3.5", + "@smithy/querystring-builder": "^4.2.5", + "@smithy/types": "^4.9.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@smithy/property-provider": { + "version": "4.2.5", + "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-4.2.5.tgz", + "integrity": "sha512-8iLN1XSE1rl4MuxvQ+5OSk/Zb5El7NJZ1td6Tn+8dQQHIjp59Lwl6bd0+nzw6SKm2wSSriH2v/I9LPzUic7EOg==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.9.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@smithy/protocol-http": { + "version": "5.3.5", + "resolved": "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-5.3.5.tgz", + "integrity": "sha512-RlaL+sA0LNMp03bf7XPbFmT5gN+w3besXSWMkA8rcmxLSVfiEXElQi4O2IWwPfxzcHkxqrwBFMbngB8yx/RvaQ==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.9.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@smithy/querystring-builder": { + "version": "4.2.5", + "resolved": "https://registry.npmjs.org/@smithy/querystring-builder/-/querystring-builder-4.2.5.tgz", + "integrity": "sha512-y98otMI1saoajeik2kLfGyRp11e5U/iJYH/wLCh3aTV/XutbGT9nziKGkgCaMD1ghK7p6htHMm6b6scl9JRUWg==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.9.0", + "@smithy/util-uri-escape": "^4.2.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@smithy/querystring-parser": { + "version": "4.2.5", + "resolved": "https://registry.npmjs.org/@smithy/querystring-parser/-/querystring-parser-4.2.5.tgz", + "integrity": "sha512-031WCTdPYgiQRYNPXznHXof2YM0GwL6SeaSyTH/P72M1Vz73TvCNH2Nq8Iu2IEPq9QP2yx0/nrw5YmSeAi/AjQ==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.9.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@smithy/service-error-classification": { + "version": "4.2.5", + "resolved": "https://registry.npmjs.org/@smithy/service-error-classification/-/service-error-classification-4.2.5.tgz", + "integrity": "sha512-8fEvK+WPE3wUAcDvqDQG1Vk3ANLR8Px979te96m84CbKAjBVf25rPYSzb4xU4hlTyho7VhOGnh5i62D/JVF0JQ==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.9.0" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@smithy/shared-ini-file-loader": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-4.4.0.tgz", + "integrity": "sha512-5WmZ5+kJgJDjwXXIzr1vDTG+RhF9wzSODQBfkrQ2VVkYALKGvZX1lgVSxEkgicSAFnFhPj5rudJV0zoinqS0bA==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.9.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@smithy/signature-v4": { + "version": "5.3.5", + "resolved": "https://registry.npmjs.org/@smithy/signature-v4/-/signature-v4-5.3.5.tgz", + "integrity": "sha512-xSUfMu1FT7ccfSXkoLl/QRQBi2rOvi3tiBZU2Tdy3I6cgvZ6SEi9QNey+lqps/sJRnogIS+lq+B1gxxbra2a/w==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/is-array-buffer": "^4.2.0", + "@smithy/protocol-http": "^5.3.5", + "@smithy/types": "^4.9.0", + "@smithy/util-hex-encoding": "^4.2.0", + "@smithy/util-middleware": "^4.2.5", + "@smithy/util-uri-escape": "^4.2.0", + "@smithy/util-utf8": "^4.2.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@smithy/smithy-client": { + "version": "4.9.10", + "resolved": "https://registry.npmjs.org/@smithy/smithy-client/-/smithy-client-4.9.10.tgz", + "integrity": "sha512-Jaoz4Jw1QYHc1EFww/E6gVtNjhoDU+gwRKqXP6C3LKYqqH2UQhP8tMP3+t/ePrhaze7fhLE8vS2q6vVxBANFTQ==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/core": "^3.18.7", + "@smithy/middleware-endpoint": "^4.3.14", + "@smithy/middleware-stack": "^4.2.5", + "@smithy/protocol-http": "^5.3.5", + "@smithy/types": "^4.9.0", + "@smithy/util-stream": "^4.5.6", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@smithy/types": { + "version": "4.9.0", + "resolved": "https://registry.npmjs.org/@smithy/types/-/types-4.9.0.tgz", + "integrity": "sha512-MvUbdnXDTwykR8cB1WZvNNwqoWVaTRA0RLlLmf/cIFNMM2cKWz01X4Ly6SMC4Kks30r8tT3Cty0jmeWfiuyHTA==", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@smithy/url-parser": { + "version": "4.2.5", + "resolved": "https://registry.npmjs.org/@smithy/url-parser/-/url-parser-4.2.5.tgz", + "integrity": "sha512-VaxMGsilqFnK1CeBX+LXnSuaMx4sTL/6znSZh2829txWieazdVxr54HmiyTsIbpOTLcf5nYpq9lpzmwRdxj6rQ==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/querystring-parser": "^4.2.5", + "@smithy/types": "^4.9.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@smithy/util-base64": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/@smithy/util-base64/-/util-base64-4.3.0.tgz", + "integrity": "sha512-GkXZ59JfyxsIwNTWFnjmFEI8kZpRNIBfxKjv09+nkAWPt/4aGaEWMM04m4sxgNVWkbt2MdSvE3KF/PfX4nFedQ==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/util-buffer-from": "^4.2.0", + "@smithy/util-utf8": "^4.2.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@smithy/util-body-length-browser": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/@smithy/util-body-length-browser/-/util-body-length-browser-4.2.0.tgz", + "integrity": "sha512-Fkoh/I76szMKJnBXWPdFkQJl2r9SjPt3cMzLdOB6eJ4Pnpas8hVoWPYemX/peO0yrrvldgCUVJqOAjUrOLjbxg==", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@smithy/util-body-length-node": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/@smithy/util-body-length-node/-/util-body-length-node-4.2.1.tgz", + "integrity": "sha512-h53dz/pISVrVrfxV1iqXlx5pRg3V2YWFcSQyPyXZRrZoZj4R4DeWRDo1a7dd3CPTcFi3kE+98tuNyD2axyZReA==", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@smithy/util-buffer-from": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/@smithy/util-buffer-from/-/util-buffer-from-4.2.0.tgz", + "integrity": "sha512-kAY9hTKulTNevM2nlRtxAG2FQ3B2OR6QIrPY3zE5LqJy1oxzmgBGsHLWTcNhWXKchgA0WHW+mZkQrng/pgcCew==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/is-array-buffer": "^4.2.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@smithy/util-config-provider": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/@smithy/util-config-provider/-/util-config-provider-4.2.0.tgz", + "integrity": "sha512-YEjpl6XJ36FTKmD+kRJJWYvrHeUvm5ykaUS5xK+6oXffQPHeEM4/nXlZPe+Wu0lsgRUcNZiliYNh/y7q9c2y6Q==", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@smithy/util-defaults-mode-browser": { + "version": "4.3.13", + "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-4.3.13.tgz", + "integrity": "sha512-hlVLdAGrVfyNei+pKIgqDTxfu/ZI2NSyqj4IDxKd5bIsIqwR/dSlkxlPaYxFiIaDVrBy0he8orsFy+Cz119XvA==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/property-provider": "^4.2.5", + "@smithy/smithy-client": "^4.9.10", + "@smithy/types": "^4.9.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@smithy/util-defaults-mode-node": { + "version": "4.2.16", + "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-4.2.16.tgz", + "integrity": "sha512-F1t22IUiJLHrxW9W1CQ6B9PN+skZ9cqSuzB18Eh06HrJPbjsyZ7ZHecAKw80DQtyGTRcVfeukKaCRYebFwclbg==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/config-resolver": "^4.4.3", + "@smithy/credential-provider-imds": "^4.2.5", + "@smithy/node-config-provider": "^4.3.5", + "@smithy/property-provider": "^4.2.5", + "@smithy/smithy-client": "^4.9.10", + "@smithy/types": "^4.9.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@smithy/util-endpoints": { + "version": "3.2.5", + "resolved": "https://registry.npmjs.org/@smithy/util-endpoints/-/util-endpoints-3.2.5.tgz", + "integrity": "sha512-3O63AAWu2cSNQZp+ayl9I3NapW1p1rR5mlVHcF6hAB1dPZUQFfRPYtplWX/3xrzWthPGj5FqB12taJJCfH6s8A==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/node-config-provider": "^4.3.5", + "@smithy/types": "^4.9.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@smithy/util-hex-encoding": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/@smithy/util-hex-encoding/-/util-hex-encoding-4.2.0.tgz", + "integrity": "sha512-CCQBwJIvXMLKxVbO88IukazJD9a4kQ9ZN7/UMGBjBcJYvatpWk+9g870El4cB8/EJxfe+k+y0GmR9CAzkF+Nbw==", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@smithy/util-middleware": { + "version": "4.2.5", + "resolved": "https://registry.npmjs.org/@smithy/util-middleware/-/util-middleware-4.2.5.tgz", + "integrity": "sha512-6Y3+rvBF7+PZOc40ybeZMcGln6xJGVeY60E7jy9Mv5iKpMJpHgRE6dKy9ScsVxvfAYuEX4Q9a65DQX90KaQ3bA==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.9.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@smithy/util-retry": { + "version": "4.2.5", + "resolved": "https://registry.npmjs.org/@smithy/util-retry/-/util-retry-4.2.5.tgz", + "integrity": "sha512-GBj3+EZBbN4NAqJ/7pAhsXdfzdlznOh8PydUijy6FpNIMnHPSMO2/rP4HKu+UFeikJxShERk528oy7GT79YiJg==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/service-error-classification": "^4.2.5", + "@smithy/types": "^4.9.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@smithy/util-stream": { + "version": "4.5.6", + "resolved": "https://registry.npmjs.org/@smithy/util-stream/-/util-stream-4.5.6.tgz", + "integrity": "sha512-qWw/UM59TiaFrPevefOZ8CNBKbYEP6wBAIlLqxn3VAIo9rgnTNc4ASbVrqDmhuwI87usnjhdQrxodzAGFFzbRQ==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/fetch-http-handler": "^5.3.6", + "@smithy/node-http-handler": "^4.4.5", + "@smithy/types": "^4.9.0", + "@smithy/util-base64": "^4.3.0", + "@smithy/util-buffer-from": "^4.2.0", + "@smithy/util-hex-encoding": "^4.2.0", + "@smithy/util-utf8": "^4.2.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@smithy/util-uri-escape": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/@smithy/util-uri-escape/-/util-uri-escape-4.2.0.tgz", + "integrity": "sha512-igZpCKV9+E/Mzrpq6YacdTQ0qTiLm85gD6N/IrmyDvQFA4UnU3d5g3m8tMT/6zG/vVkWSU+VxeUyGonL62DuxA==", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/@smithy/util-utf8": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/@smithy/util-utf8/-/util-utf8-4.2.0.tgz", + "integrity": "sha512-zBPfuzoI8xyBtR2P6WQj63Rz8i3AmfAaJLuNG8dWsfvPe8lO4aCPYLn879mEgHndZH1zQ2oXmG8O1GGzzaoZiw==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/util-buffer-from": "^4.2.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/fast-xml-parser": { + "version": "5.2.5", + "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.2.5.tgz", + "integrity": "sha512-pfX9uG9Ki0yekDHx2SiuRIyFdyAr1kMIMitPvb0YBo8SUfKvia7w7FIyd/l6av85pFYRhZscS75MwMnbvY+hcQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/NaturalIntelligence" + } + ], + "license": "MIT", + "dependencies": { + "strnum": "^2.1.0" + }, + "bin": { + "fxparser": "src/cli/cli.js" + } + }, + "node_modules/@amzn/datazone-custom-client/node_modules/strnum": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/strnum/-/strnum-2.1.1.tgz", + "integrity": "sha512-7ZvoFTiCnGxBtDqJ//Cu6fWtZtc7Y3x+QOirG15wztbdngGSkht27o2pyGWrVy0b4WAy3jbKmnoK6g5VlVNUUw==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/NaturalIntelligence" + } + ], + "license": "MIT" + }, "node_modules/@amzn/glue-catalog-client": { "version": "0.0.1", "resolved": "file:src.gen/@amzn/glue-catalog-client/0.0.1.tgz", @@ -41337,6 +42423,7 @@ "dependencies": { "@amzn/amazon-q-developer-streaming-client": "file:../../src.gen/@amzn/amazon-q-developer-streaming-client", "@amzn/codewhisperer-streaming": "file:../../src.gen/@amzn/codewhisperer-streaming", + "@amzn/datazone-custom-client": "file:../../src.gen/@amzn/datazone-custom-client/3.0.0.tgz", "@amzn/glue-catalog-client": "file:../../src.gen/@amzn/glue-catalog-client/0.0.1.tgz", "@amzn/sagemaker-client": "file:../../src.gen/@amzn/sagemaker-client/1.0.0.tgz", "@aws-sdk/client-accessanalyzer": "^3.888.0", diff --git a/packages/core/package.json b/packages/core/package.json index efc06d6e6de..f0216226472 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -582,6 +582,7 @@ "@amzn/codewhisperer-streaming": "file:../../src.gen/@amzn/codewhisperer-streaming", "@amzn/sagemaker-client": "file:../../src.gen/@amzn/sagemaker-client/1.0.0.tgz", "@amzn/glue-catalog-client": "file:../../src.gen/@amzn/glue-catalog-client/0.0.1.tgz", + "@amzn/datazone-custom-client": "file:../../src.gen/@amzn/datazone-custom-client/3.0.0.tgz", "@aws-sdk/client-accessanalyzer": "^3.888.0", "@aws-sdk/client-api-gateway": "<3.731.0", "@aws-sdk/client-apprunner": "<3.731.0", diff --git a/packages/core/scripts/build/generateServiceClient.ts b/packages/core/scripts/build/generateServiceClient.ts index 6e6829fd1ec..1c2a45bec58 100644 --- a/packages/core/scripts/build/generateServiceClient.ts +++ b/packages/core/scripts/build/generateServiceClient.ts @@ -245,10 +245,6 @@ void (async () => { serviceJsonPath: 'src/sagemakerunifiedstudio/shared/client/sqlworkbench.json', serviceName: 'SQLWorkbench', }, - { - serviceJsonPath: 'src/sagemakerunifiedstudio/shared/client/datazonecustomclient.json', - serviceName: 'DataZoneCustomClient', - }, ] await generateServiceClients(serviceClientDefinitions) })() diff --git a/packages/core/src/sagemakerunifiedstudio/shared/client/datazoneCustomClientHelper.ts b/packages/core/src/sagemakerunifiedstudio/shared/client/datazoneCustomClientHelper.ts index 684bddf2e08..127446fa7fc 100644 --- a/packages/core/src/sagemakerunifiedstudio/shared/client/datazoneCustomClientHelper.ts +++ b/packages/core/src/sagemakerunifiedstudio/shared/client/datazoneCustomClientHelper.ts @@ -4,12 +4,19 @@ */ import { getLogger } from '../../../shared/logger/logger' -import apiConfig = require('./datazonecustomclient.json') -import globals from '../../../shared/extensionGlobals' -import { Service } from 'aws-sdk' -import { ServiceConfigurationOptions } from 'aws-sdk/lib/service' -import * as DataZoneCustomClient from './datazonecustomclient' -import { adaptConnectionCredentialsProvider } from './credentialsAdapter' +import { + DataZone, + ListDomainsCommand, + GetDomainCommand, + SearchGroupProfilesCommand, + SearchUserProfilesCommand, + DomainSummary, + GetDomainOutput, + GroupProfileSummary, + UserProfileSummary, + GroupSearchType, + UserSearchType, +} from '@amzn/datazone-custom-client' import { CredentialsProvider } from '../../../auth/providers/credentials' import { ToolkitError } from '../../../shared/errors' import { SmusUtils, isIamDomain } from '../smusUtils' @@ -30,7 +37,7 @@ export const DataZoneErrorCode = { * Helper client for interacting with AWS DataZone Custom API */ export class DataZoneCustomClientHelper { - private datazoneCustomClient: DataZoneCustomClient | undefined + private datazoneCustomClient: DataZone | undefined private static instances = new Map() private readonly logger = getLogger('smus') @@ -91,33 +98,38 @@ export class DataZoneCustomClientHelper { /** * Gets the DataZone client, initializing it if necessary */ - private async getDataZoneCustomClient(): Promise { + private async getDataZoneCustomClient(): Promise { if (!this.datazoneCustomClient) { try { this.logger.info('DataZoneCustomClientHelper: Creating authenticated DataZone client') - // Use user setting for endpoint if provided, otherwise use default + // Create credential provider function for auto-refresh + const awsCredentialProvider = async () => { + const credentials = await this.credentialProvider.getCredentials() + return { + accessKeyId: credentials.accessKeyId, + secretAccessKey: credentials.secretAccessKey, + sessionToken: credentials.sessionToken, + expiration: credentials.expiration, + } + } + + const clientConfig: any = { + region: this.region, + credentials: awsCredentialProvider, + } + + // Use user setting for endpoint if provided const devSettings = DevSettings.instance const customEndpoint = devSettings.get('endpoints', {})['datazone'] - const endpoint = customEndpoint || `https://datazone.${this.region}.api.aws` - if (customEndpoint) { + clientConfig.endpoint = customEndpoint this.logger.debug( - `DataZoneCustomClientHelper: Using custom DataZone endpoint from settings: ${endpoint}` + `DataZoneCustomClientHelper: Using custom DataZone endpoint from settings: ${customEndpoint}` ) } - this.datazoneCustomClient = (await globals.sdkClientBuilder.createAwsService( - Service, - { - apiConfig: apiConfig, - endpoint: endpoint, - region: this.region, - credentialProvider: adaptConnectionCredentialsProvider(this.credentialProvider), - } as ServiceConfigurationOptions, - undefined, - false - )) as DataZoneCustomClient + this.datazoneCustomClient = new DataZone(clientConfig) this.logger.info('DataZoneCustomClientHelper: Successfully created authenticated DataZone client') } catch (err) { @@ -137,20 +149,19 @@ export class DataZoneCustomClientHelper { maxResults?: number status?: string nextToken?: string - }): Promise<{ domains: DataZoneCustomClient.Types.DomainSummary[]; nextToken?: string }> { + }): Promise<{ domains: DomainSummary[]; nextToken?: string }> { try { this.logger.info(`DataZoneCustomClientHelper: Listing domains in region ${this.region}`) const datazoneCustomClient = await this.getDataZoneCustomClient() // Call DataZone API to list domains with pagination - const response = await datazoneCustomClient - .listDomains({ - maxResults: options?.maxResults, - status: options?.status, - nextToken: options?.nextToken, - }) - .promise() + const command = new ListDomainsCommand({ + maxResults: options?.maxResults, + status: options?.status as any, + nextToken: options?.nextToken, + }) + const response = await datazoneCustomClient.send(command) const domains = response.items || [] @@ -172,9 +183,9 @@ export class DataZoneCustomClientHelper { * @param options Options for listing domains (excluding nextToken which is handled internally) * @returns Promise resolving to an array of all DataZone domains */ - public async fetchAllDomains(options?: { status?: string }): Promise { + public async fetchAllDomains(options?: { status?: string }): Promise { try { - let allDomains: DataZoneCustomClient.Types.DomainSummary[] = [] + let allDomains: DomainSummary[] = [] let nextToken: string | undefined do { const maxResultsPerPage = 25 @@ -199,7 +210,7 @@ export class DataZoneCustomClientHelper { * Gets the domain with IAM authentication mode using pagination with early termination * @returns Promise resolving to the DataZone domain or undefined if not found */ - public async getIamDomain(): Promise { + public async getIamDomain(): Promise { const logger = getLogger('smus') try { @@ -259,17 +270,16 @@ export class DataZoneCustomClientHelper { * @param domainId The ID of the domain to retrieve * @returns Promise resolving to the GetDomainOutput */ - public async getDomain(domainId: string): Promise { + public async getDomain(domainId: string): Promise { try { this.logger.debug(`DataZoneCustomClientHelper: Getting domain with ID: ${domainId}`) const datazoneCustomClient = await this.getDataZoneCustomClient() - const response = await datazoneCustomClient - .getDomain({ - identifier: domainId, - }) - .promise() + const command = new GetDomainCommand({ + identifier: domainId, + }) + const response = await datazoneCustomClient.send(command) this.logger.debug(`DataZoneCustomClientHelper: Successfully retrieved domain: ${domainId}`) return response @@ -293,7 +303,7 @@ export class DataZoneCustomClientHelper { maxResults?: number nextToken?: string } - ): Promise<{ items: DataZoneCustomClient.Types.GroupProfileSummary[]; nextToken?: string }> { + ): Promise<{ items: GroupProfileSummary[]; nextToken?: string }> { try { this.logger.debug( `DataZoneCustomClientHelper: Searching group profiles in domain ${domainIdentifier} with groupType: ${options?.groupType}, searchText: ${options?.searchText}` @@ -301,17 +311,15 @@ export class DataZoneCustomClientHelper { const datazoneCustomClient = await this.getDataZoneCustomClient() - // Build the request parameters - const params: DataZoneCustomClient.Types.SearchGroupProfilesInput = { + // Call DataZone API to search group profiles + const command = new SearchGroupProfilesCommand({ domainIdentifier, - groupType: options?.groupType as DataZoneCustomClient.Types.GroupSearchType, + groupType: options?.groupType as GroupSearchType, searchText: options?.searchText, maxResults: options?.maxResults, nextToken: options?.nextToken, - } - - // Call DataZone API to search group profiles - const response = await datazoneCustomClient.searchGroupProfiles(params).promise() + }) + const response = await datazoneCustomClient.send(command) const items = response.items || [] @@ -342,7 +350,7 @@ export class DataZoneCustomClientHelper { maxResults?: number nextToken?: string } - ): Promise<{ items: DataZoneCustomClient.Types.UserProfileSummary[]; nextToken?: string }> { + ): Promise<{ items: UserProfileSummary[]; nextToken?: string }> { try { this.logger.debug( `DataZoneCustomClientHelper: Searching user profiles in domain ${domainIdentifier} with userType: ${options.userType}, searchText: ${options.searchText}` @@ -350,17 +358,15 @@ export class DataZoneCustomClientHelper { const datazoneCustomClient = await this.getDataZoneCustomClient() - // Build the request parameters - const params: DataZoneCustomClient.Types.SearchUserProfilesInput = { + // Call DataZone API to search user profiles + const command = new SearchUserProfilesCommand({ domainIdentifier, - userType: options.userType as DataZoneCustomClient.Types.UserSearchType, + userType: options.userType as UserSearchType, searchText: options.searchText, maxResults: options.maxResults, nextToken: options.nextToken, - } - - // Call DataZone API to search user profiles - const response = await datazoneCustomClient.searchUserProfiles(params).promise() + }) + const response = await datazoneCustomClient.send(command) const items = response.items || [] diff --git a/packages/core/src/sagemakerunifiedstudio/shared/client/datazonecustomclient.json b/packages/core/src/sagemakerunifiedstudio/shared/client/datazonecustomclient.json deleted file mode 100644 index 8414d3340b8..00000000000 --- a/packages/core/src/sagemakerunifiedstudio/shared/client/datazonecustomclient.json +++ /dev/null @@ -1,919 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2018-05-10", - "auth": ["aws.auth#sigv4"], - "endpointPrefix": "datazone", - "protocol": "rest-json", - "protocols": ["rest-json"], - "serviceFullName": "Amazon DataZone", - "serviceId": "DataZone", - "signatureVersion": "v4", - "signingName": "datazone", - "uid": "datazone-2018-05-10" - }, - "operations": { - "GetDomain": { - "name": "GetDomain", - "http": { - "method": "GET", - "requestUri": "/v2/domains/{identifier}", - "responseCode": 200 - }, - "input": { - "shape": "GetDomainInput" - }, - "output": { - "shape": "GetDomainOutput" - }, - "errors": [ - { - "shape": "InternalServerException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "AccessDeniedException" - }, - { - "shape": "ThrottlingException" - }, - { - "shape": "ServiceQuotaExceededException" - }, - { - "shape": "ValidationException" - }, - { - "shape": "UnauthorizedException" - } - ], - "readonly": true - }, - "ListDomains": { - "name": "ListDomains", - "http": { - "method": "GET", - "requestUri": "/v2/domains", - "responseCode": 200 - }, - "input": { - "shape": "ListDomainsInput" - }, - "output": { - "shape": "ListDomainsOutput" - }, - "errors": [ - { - "shape": "InternalServerException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "AccessDeniedException" - }, - { - "shape": "ThrottlingException" - }, - { - "shape": "ServiceQuotaExceededException" - }, - { - "shape": "ConflictException" - }, - { - "shape": "ValidationException" - }, - { - "shape": "UnauthorizedException" - } - ], - "readonly": true - }, - "SearchGroupProfiles": { - "name": "SearchGroupProfiles", - "http": { - "method": "POST", - "requestUri": "/v2/domains/{domainIdentifier}/search-group-profiles", - "responseCode": 200 - }, - "input": { - "shape": "SearchGroupProfilesInput" - }, - "output": { - "shape": "SearchGroupProfilesOutput" - }, - "errors": [ - { - "shape": "InternalServerException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "AccessDeniedException" - }, - { - "shape": "ThrottlingException" - }, - { - "shape": "ConflictException" - }, - { - "shape": "ValidationException" - }, - { - "shape": "UnauthorizedException" - } - ] - }, - "SearchUserProfiles": { - "name": "SearchUserProfiles", - "http": { - "method": "POST", - "requestUri": "/v2/domains/{domainIdentifier}/search-user-profiles", - "responseCode": 200 - }, - "input": { - "shape": "SearchUserProfilesInput" - }, - "output": { - "shape": "SearchUserProfilesOutput" - }, - "errors": [ - { - "shape": "InternalServerException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "AccessDeniedException" - }, - { - "shape": "ThrottlingException" - }, - { - "shape": "ConflictException" - }, - { - "shape": "ValidationException" - }, - { - "shape": "UnauthorizedException" - } - ] - } - }, - "shapes": { - "GetDomainInput": { - "type": "structure", - "required": ["identifier"], - "members": { - "identifier": { - "shape": "DomainId", - "location": "uri", - "locationName": "identifier" - } - } - }, - "DomainId": { - "type": "string", - "pattern": "dzd[-_][a-zA-Z0-9_-]{1,36}" - }, - "GetDomainOutput": { - "type": "structure", - "required": ["id", "status"], - "members": { - "id": { - "shape": "DomainId" - }, - "rootDomainUnitId": { - "shape": "DomainUnitId" - }, - "name": { - "shape": "String" - }, - "description": { - "shape": "String" - }, - "singleSignOn": { - "shape": "SingleSignOn" - }, - "domainExecutionRole": { - "shape": "RoleArn" - }, - "arn": { - "shape": "String" - }, - "kmsKeyIdentifier": { - "shape": "KmsKeyArn" - }, - "status": { - "shape": "DomainStatus" - }, - "failureReasons": { - "shape": "FailureReasonsList" - }, - "portalUrl": { - "shape": "String" - }, - "createdAt": { - "shape": "CreatedAt" - }, - "lastUpdatedAt": { - "shape": "UpdatedAt" - }, - "tags": { - "shape": "Tags" - }, - "provisionStatus": { - "shape": "ProvisionStatus", - "internalonly": true - }, - "domainVersion": { - "shape": "DomainVersion" - }, - "domainServiceRole": { - "shape": "RoleArn", - "deprecated": true, - "internalonly": true - }, - "serviceRole": { - "shape": "RoleArn" - }, - "supportedDomainVersions": { - "shape": "SupportedDomainVersions", - "internalonly": true - }, - "iamSignIns": { - "shape": "IamSignIns", - "internalonly": true - }, - "preferences": { - "shape": "Preferences", - "internalonly": true - } - } - }, - "DomainUnitId": { - "type": "string", - "max": 256, - "min": 1, - "pattern": "[a-z0-9_\\-]+" - }, - "String": { - "type": "string" - }, - "SingleSignOn": { - "type": "structure", - "members": { - "type": { - "shape": "AuthType" - }, - "userAssignment": { - "shape": "UserAssignment" - }, - "idcInstanceArn": { - "shape": "SingleSignOnIdcInstanceArnString" - }, - "ssoUrl": { - "shape": "String", - "internalonly": true - }, - "idcApplicationArn": { - "shape": "String", - "internalonly": true - } - } - }, - "AuthType": { - "type": "string", - "enum": ["IAM_IDC", "DISABLED", "SAML"] - }, - "UserAssignment": { - "type": "string", - "enum": ["AUTOMATIC", "MANUAL"] - }, - "SingleSignOnIdcInstanceArnString": { - "type": "string", - "pattern": ".*arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::instance/(sso)?ins-[a-zA-Z0-9-.]{16}.*" - }, - "RoleArn": { - "type": "string", - "pattern": "arn:aws[^:]*:iam::\\d{12}:role(/[a-zA-Z0-9+=,.@_-]+)*/[a-zA-Z0-9+=,.@_-]+" - }, - "KmsKeyArn": { - "type": "string", - "max": 1024, - "min": 1, - "pattern": "arn:aws(|-cn|-us-gov):kms:[a-zA-Z0-9-]*:[0-9]{12}:key/[a-zA-Z0-9-]{36}" - }, - "DomainStatus": { - "type": "string", - "enum": ["CREATING", "AVAILABLE", "CREATION_FAILED", "DELETING", "DELETED", "DELETION_FAILED"] - }, - "FailureReasonsList": { - "type": "list", - "member": { - "shape": "FailureReason" - } - }, - "FailureReason": { - "type": "structure", - "members": { - "code": { - "shape": "String" - }, - "message": { - "shape": "String" - } - } - }, - "CreatedAt": { - "type": "timestamp" - }, - "UpdatedAt": { - "type": "timestamp" - }, - "Tags": { - "type": "map", - "key": { - "shape": "TagKey" - }, - "value": { - "shape": "TagValue" - } - }, - "TagKey": { - "type": "string", - "max": 128, - "min": 1, - "pattern": "[\\w \\.:/=+@-]+" - }, - "TagValue": { - "type": "string", - "max": 256, - "min": 0, - "pattern": "[\\w \\.:/=+@-]*" - }, - "ProvisionStatus": { - "type": "string", - "enum": [ - "PROVISIONING", - "PROVISIONING_PROJECT_PROFILES", - "PROVISIONING_MODEL_ASSETS", - "PROVISION_FAILED", - "PROVISION_COMPLETE" - ] - }, - "DomainVersion": { - "type": "string", - "enum": ["V1", "V2"] - }, - "SupportedDomainVersions": { - "type": "list", - "member": { - "shape": "DomainVersion" - } - }, - "IamSignIns": { - "type": "list", - "member": { - "shape": "IamSignIn" - }, - "internalonly": true - }, - "IamSignIn": { - "type": "string", - "enum": ["IAM_ROLE", "IAM_USER"], - "internalonly": true - }, - "Preferences": { - "type": "map", - "key": { - "shape": "PreferenceKey" - }, - "value": { - "shape": "PreferenceValue" - }, - "max": 10, - "min": 0 - }, - "PreferenceKey": { - "type": "string", - "max": 128, - "min": 1, - "pattern": "[\\w \\.:/=+@-]+" - }, - "PreferenceValue": { - "type": "string", - "max": 256, - "min": 0, - "pattern": "[\\w \\.:/=+@-]*" - }, - "InternalServerException": { - "type": "structure", - "required": ["message"], - "members": { - "message": { - "shape": "ErrorMessage" - } - }, - "error": { - "httpStatusCode": 500 - }, - "exception": true, - "fault": true, - "retryable": { - "throttling": false - } - }, - "ErrorMessage": { - "type": "string" - }, - "ResourceNotFoundException": { - "type": "structure", - "required": ["message"], - "members": { - "message": { - "shape": "ErrorMessage" - } - }, - "error": { - "httpStatusCode": 404, - "senderFault": true - }, - "exception": true - }, - "AccessDeniedException": { - "type": "structure", - "required": ["message"], - "members": { - "message": { - "shape": "ErrorMessage" - } - }, - "error": { - "httpStatusCode": 403, - "senderFault": true - }, - "exception": true - }, - "ThrottlingException": { - "type": "structure", - "required": ["message"], - "members": { - "message": { - "shape": "ErrorMessage" - } - }, - "error": { - "httpStatusCode": 429, - "senderFault": true - }, - "exception": true, - "retryable": { - "throttling": false - } - }, - "ServiceQuotaExceededException": { - "type": "structure", - "required": ["message"], - "members": { - "message": { - "shape": "ErrorMessage" - } - }, - "error": { - "httpStatusCode": 402, - "senderFault": true - }, - "exception": true - }, - "ValidationException": { - "type": "structure", - "required": ["message"], - "members": { - "message": { - "shape": "ErrorMessage" - } - }, - "error": { - "httpStatusCode": 400, - "senderFault": true - }, - "exception": true - }, - "UnauthorizedException": { - "type": "structure", - "required": ["message"], - "members": { - "message": { - "shape": "ErrorMessage" - } - }, - "error": { - "httpStatusCode": 401, - "senderFault": true - }, - "exception": true - }, - "ListDomainsInput": { - "type": "structure", - "members": { - "status": { - "shape": "DomainStatus", - "location": "querystring", - "locationName": "status" - }, - "maxResults": { - "shape": "MaxResultsForListDomains", - "location": "querystring", - "locationName": "maxResults" - }, - "nextToken": { - "shape": "PaginationToken", - "location": "querystring", - "locationName": "nextToken" - } - } - }, - "MaxResultsForListDomains": { - "type": "integer", - "box": true, - "max": 25, - "min": 1 - }, - "PaginationToken": { - "type": "string", - "max": 8192, - "min": 1 - }, - "ListDomainsOutput": { - "type": "structure", - "required": ["items"], - "members": { - "items": { - "shape": "DomainSummaries" - }, - "domains": { - "shape": "DomainSummaries", - "internalonly": true - }, - "nextToken": { - "shape": "PaginationToken" - } - } - }, - "DomainSummaries": { - "type": "list", - "member": { - "shape": "DomainSummary" - } - }, - "DomainSummary": { - "type": "structure", - "required": ["id", "name", "arn", "managedAccountId", "status", "createdAt"], - "members": { - "id": { - "shape": "DomainId" - }, - "name": { - "shape": "DomainName" - }, - "description": { - "shape": "DomainDescription" - }, - "arn": { - "shape": "String" - }, - "managedAccountId": { - "shape": "String" - }, - "status": { - "shape": "DomainStatus" - }, - "portalUrl": { - "shape": "String" - }, - "createdAt": { - "shape": "CreatedAt" - }, - "lastUpdatedAt": { - "shape": "UpdatedAt" - }, - "domainVersion": { - "shape": "DomainVersion" - }, - "iamSignIns": { - "shape": "IamSignIns", - "internalonly": true - }, - "preferences": { - "shape": "Preferences", - "internalonly": true - } - } - }, - "DomainName": { - "type": "string", - "sensitive": true - }, - "DomainDescription": { - "type": "string", - "sensitive": true - }, - "ConflictException": { - "type": "structure", - "required": ["message"], - "members": { - "message": { - "shape": "ErrorMessage" - }, - "reason": { - "shape": "ConflictReason" - }, - "details": { - "shape": "ConflictDetails" - } - }, - "error": { - "httpStatusCode": 409, - "senderFault": true - }, - "exception": true - }, - "ConflictReason": { - "type": "string", - "enum": ["RESOURCE_LOCKED"] - }, - "ConflictDetails": { - "type": "structure", - "members": { - "lock": { - "shape": "LockDetails" - } - }, - "union": true - }, - "LockDetails": { - "type": "structure", - "required": ["lockedBy", "lockedAt", "lockExpiresAt"], - "members": { - "lockedBy": { - "shape": "String" - }, - "lockedAt": { - "shape": "Timestamp" - }, - "lockExpiresAt": { - "shape": "Timestamp" - } - } - }, - "Timestamp": { - "type": "timestamp" - }, - "SearchGroupProfilesInput": { - "type": "structure", - "required": ["domainIdentifier", "groupType"], - "members": { - "domainIdentifier": { - "shape": "DomainId", - "location": "uri", - "locationName": "domainIdentifier" - }, - "groupType": { - "shape": "GroupSearchType" - }, - "searchText": { - "shape": "GroupSearchText" - }, - "maxResults": { - "shape": "MaxResults" - }, - "nextToken": { - "shape": "PaginationToken" - } - } - }, - "GroupSearchType": { - "type": "string", - "enum": ["SSO_GROUP", "DATAZONE_SSO_GROUP", "IAM_ROLE_SESSION_GROUP"] - }, - "GroupSearchText": { - "type": "string", - "max": 1024, - "min": 0, - "sensitive": true - }, - "MaxResults": { - "type": "integer", - "box": true, - "max": 50, - "min": 1 - }, - "SearchGroupProfilesOutput": { - "type": "structure", - "members": { - "items": { - "shape": "GroupProfileSummaries" - }, - "nextToken": { - "shape": "PaginationToken" - } - } - }, - "GroupProfileSummaries": { - "type": "list", - "member": { - "shape": "GroupProfileSummary" - } - }, - "GroupProfileSummary": { - "type": "structure", - "members": { - "domainId": { - "shape": "DomainId" - }, - "id": { - "shape": "GroupProfileId" - }, - "status": { - "shape": "GroupProfileStatus" - }, - "groupName": { - "shape": "GroupProfileName" - }, - "rolePrincipalArn": { - "shape": "String", - "internalonly": true - }, - "rolePrincipalId": { - "shape": "String", - "internalonly": true - } - } - }, - "GroupProfileId": { - "type": "string", - "pattern": "([0-9a-f]{10}-|)[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}" - }, - "GroupProfileStatus": { - "type": "string", - "enum": ["ASSIGNED", "NOT_ASSIGNED"] - }, - "GroupProfileName": { - "type": "string", - "max": 1024, - "min": 1, - "pattern": "[a-zA-Z_0-9+=,.@-]+", - "sensitive": true - }, - "SearchUserProfilesInput": { - "type": "structure", - "required": ["domainIdentifier", "userType"], - "members": { - "domainIdentifier": { - "shape": "DomainId", - "location": "uri", - "locationName": "domainIdentifier" - }, - "userType": { - "shape": "UserSearchType" - }, - "searchText": { - "shape": "UserSearchText" - }, - "maxResults": { - "shape": "MaxResults" - }, - "nextToken": { - "shape": "PaginationToken" - } - } - }, - "UserSearchType": { - "type": "string", - "enum": ["SSO_USER", "DATAZONE_USER", "DATAZONE_SSO_USER", "DATAZONE_IAM_USER"] - }, - "UserSearchText": { - "type": "string", - "max": 1024, - "min": 0, - "sensitive": true - }, - "SearchUserProfilesOutput": { - "type": "structure", - "members": { - "items": { - "shape": "UserProfileSummaries" - }, - "nextToken": { - "shape": "PaginationToken" - } - } - }, - "UserProfileSummaries": { - "type": "list", - "member": { - "shape": "UserProfileSummary" - } - }, - "UserProfileSummary": { - "type": "structure", - "members": { - "domainId": { - "shape": "DomainId" - }, - "id": { - "shape": "UserProfileId" - }, - "type": { - "shape": "UserProfileType" - }, - "status": { - "shape": "UserProfileStatus" - }, - "details": { - "shape": "UserProfileDetails" - } - } - }, - "UserProfileId": { - "type": "string", - "pattern": "([0-9a-f]{10}-|)[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}" - }, - "UserProfileType": { - "type": "string", - "enum": ["IAM", "SSO", "SAML"] - }, - "UserProfileStatus": { - "type": "string", - "enum": ["ASSIGNED", "NOT_ASSIGNED", "ACTIVATED", "DEACTIVATED", "ARCHIVED"] - }, - "UserProfileDetails": { - "type": "structure", - "members": { - "iam": { - "shape": "IamUserProfileDetails" - }, - "sso": { - "shape": "SsoUserProfileDetails" - } - }, - "union": true - }, - "IamUserProfileDetails": { - "type": "structure", - "members": { - "arn": { - "shape": "String" - }, - "principalId": { - "shape": "String" - } - } - }, - "SsoUserProfileDetails": { - "type": "structure", - "members": { - "username": { - "shape": "UserProfileName" - }, - "firstName": { - "shape": "FirstName" - }, - "lastName": { - "shape": "LastName" - }, - "email": { - "shape": "String", - "internalonly": true - }, - "userId": { - "shape": "String", - "internalonly": true - } - } - }, - "UserProfileName": { - "type": "string", - "max": 1024, - "min": 1, - "pattern": "[a-zA-Z_0-9+=,.@-]+", - "sensitive": true - }, - "FirstName": { - "type": "string", - "sensitive": true - }, - "LastName": { - "type": "string", - "sensitive": true - } - } -} diff --git a/packages/core/src/test/sagemakerunifiedstudio/shared/client/datazoneCustomClientHelper.test.ts b/packages/core/src/test/sagemakerunifiedstudio/shared/client/datazoneCustomClientHelper.test.ts index 59dfd0c7d97..4cb806f104c 100644 --- a/packages/core/src/test/sagemakerunifiedstudio/shared/client/datazoneCustomClientHelper.test.ts +++ b/packages/core/src/test/sagemakerunifiedstudio/shared/client/datazoneCustomClientHelper.test.ts @@ -6,9 +6,15 @@ import * as assert from 'assert' import * as sinon from 'sinon' import { DataZoneCustomClientHelper } from '../../../../sagemakerunifiedstudio/shared/client/datazoneCustomClientHelper' -import * as DataZoneCustomClient from '../../../../sagemakerunifiedstudio/shared/client/datazonecustomclient' +import { + DomainSummary, + ListDomainsCommand, + GetDomainCommand, + SearchGroupProfilesCommand, + SearchUserProfilesCommand, +} from '@amzn/datazone-custom-client' -type DataZoneDomain = DataZoneCustomClient.Types.DomainSummary +type DataZoneDomain = DomainSummary describe('DataZoneCustomClientHelper', () => { let client: DataZoneCustomClientHelper @@ -103,9 +109,7 @@ describe('DataZoneCustomClientHelper', () => { } const mockDataZoneClient = { - listDomains: sinon.stub().returns({ - promise: () => Promise.resolve(mockResponse), - }), + send: sinon.stub().withArgs(sinon.match.instanceOf(ListDomainsCommand)).resolves(mockResponse), } sinon.stub(client as any, 'getDataZoneCustomClient').resolves(mockDataZoneClient) @@ -124,6 +128,12 @@ describe('DataZoneCustomClientHelper', () => { assert.strictEqual(result.nextToken, 'next-token') assert.ok(result.domains[0].createdAt instanceof Date) assert.ok(result.domains[0].lastUpdatedAt instanceof Date) + + // Verify API was called with correct command type and parameters + assert.ok(mockDataZoneClient.send.calledOnce) + const command = mockDataZoneClient.send.firstCall.args[0] + assert.strictEqual(command.input.maxResults, 10) + assert.strictEqual(command.input.status, 'AVAILABLE') }) it('should handle empty results', async () => { @@ -133,9 +143,7 @@ describe('DataZoneCustomClientHelper', () => { } const mockDataZoneClient = { - listDomains: sinon.stub().returns({ - promise: () => Promise.resolve(mockResponse), - }), + send: sinon.stub().withArgs(sinon.match.instanceOf(ListDomainsCommand)).resolves(mockResponse), } sinon.stub(client as any, 'getDataZoneCustomClient').resolves(mockDataZoneClient) @@ -369,9 +377,7 @@ describe('DataZoneCustomClientHelper', () => { preferences: { DOMAIN_MODE: 'EXPRESS' }, } const mockDataZoneClient = { - getDomain: sinon.stub().returns({ - promise: () => Promise.resolve(mockResponse), - }), + send: sinon.stub().withArgs(sinon.match.instanceOf(GetDomainCommand)).resolves(mockResponse), } sinon.stub(client as any, 'getDataZoneCustomClient').resolves(mockDataZoneClient) @@ -387,11 +393,10 @@ describe('DataZoneCustomClientHelper', () => { assert.strictEqual(result.domainVersion, '1.0') assert.deepStrictEqual(result.preferences, { DOMAIN_MODE: 'EXPRESS' }) - // Verify the API was called with correct parameters - assert.ok(mockDataZoneClient.getDomain.calledOnce) - assert.deepStrictEqual(mockDataZoneClient.getDomain.firstCall.args[0], { - identifier: mockDomainId, - }) + // Verify the API was called with correct command type and parameters + assert.ok(mockDataZoneClient.send.calledOnce) + const command = mockDataZoneClient.send.firstCall.args[0] + assert.strictEqual(command.input.identifier, mockDomainId) }) it('should handle API errors when getting domain', async () => { @@ -399,9 +404,7 @@ describe('DataZoneCustomClientHelper', () => { const error = new Error('Domain not found') const mockDataZoneClient = { - getDomain: sinon.stub().returns({ - promise: () => Promise.reject(error), - }), + send: sinon.stub().withArgs(sinon.match.instanceOf(GetDomainCommand)).rejects(error), } sinon.stub(client as any, 'getDataZoneCustomClient').resolves(mockDataZoneClient) @@ -409,10 +412,9 @@ describe('DataZoneCustomClientHelper', () => { await assert.rejects(() => client.getDomain(mockDomainId), error) // Verify the API was called with correct parameters - assert.ok(mockDataZoneClient.getDomain.calledOnce) - assert.deepStrictEqual(mockDataZoneClient.getDomain.firstCall.args[0], { - identifier: mockDomainId, - }) + assert.ok(mockDataZoneClient.send.calledOnce) + const command = mockDataZoneClient.send.firstCall.args[0] + assert.strictEqual(command.input.identifier, mockDomainId) }) }) @@ -425,7 +427,7 @@ describe('DataZoneCustomClientHelper', () => { { domainId: mockDomainId, id: 'gp_profile1', - status: 'ACTIVATED', + status: 'ASSIGNED', groupName: 'AdminGroup', rolePrincipalArn: 'arn:aws:iam::123456789012:role/AdminRole', rolePrincipalId: 'AIDAI123456789EXAMPLE', @@ -433,7 +435,7 @@ describe('DataZoneCustomClientHelper', () => { { domainId: mockDomainId, id: 'gp_profile2', - status: 'ACTIVATED', + status: 'ASSIGNED', groupName: 'DeveloperGroup', rolePrincipalArn: 'arn:aws:iam::123456789012:role/DeveloperRole', rolePrincipalId: 'AIDAI987654321EXAMPLE', @@ -443,9 +445,7 @@ describe('DataZoneCustomClientHelper', () => { } const mockDataZoneClient = { - searchGroupProfiles: sinon.stub().returns({ - promise: () => Promise.resolve(mockResponse), - }), + send: sinon.stub().withArgs(sinon.match.instanceOf(SearchGroupProfilesCommand)).resolves(mockResponse), } sinon.stub(client as any, 'getDataZoneCustomClient').resolves(mockDataZoneClient) @@ -461,12 +461,12 @@ describe('DataZoneCustomClientHelper', () => { assert.strictEqual(result.items[1].id, 'gp_profile2') assert.strictEqual(result.nextToken, 'next-token') - // Verify API was called with correct parameters - assert.ok(mockDataZoneClient.searchGroupProfiles.calledOnce) - const callArgs = mockDataZoneClient.searchGroupProfiles.firstCall.args[0] - assert.strictEqual(callArgs.domainIdentifier, mockDomainId) - assert.strictEqual(callArgs.groupType, 'IAM_ROLE_SESSION_GROUP') - assert.strictEqual(callArgs.maxResults, 50) + // Verify API was called with correct command type and parameters + assert.ok(mockDataZoneClient.send.calledOnce) + const command = mockDataZoneClient.send.firstCall.args[0] + assert.strictEqual(command.input.domainIdentifier, mockDomainId) + assert.strictEqual(command.input.groupType, 'IAM_ROLE_SESSION_GROUP') + assert.strictEqual(command.input.maxResults, 50) }) it('should handle empty results', async () => { @@ -476,9 +476,7 @@ describe('DataZoneCustomClientHelper', () => { } const mockDataZoneClient = { - searchGroupProfiles: sinon.stub().returns({ - promise: () => Promise.resolve(mockResponse), - }), + send: sinon.stub().withArgs(sinon.match.instanceOf(SearchGroupProfilesCommand)).resolves(mockResponse), } sinon.stub(client as any, 'getDataZoneCustomClient').resolves(mockDataZoneClient) @@ -492,9 +490,7 @@ describe('DataZoneCustomClientHelper', () => { it('should handle API errors', async () => { const error = new Error('API Error') const mockDataZoneClient = { - searchGroupProfiles: sinon.stub().returns({ - promise: () => Promise.reject(error), - }), + send: sinon.stub().withArgs(sinon.match.instanceOf(SearchGroupProfilesCommand)).rejects(error), } sinon.stub(client as any, 'getDataZoneCustomClient').resolves(mockDataZoneClient) @@ -508,7 +504,7 @@ describe('DataZoneCustomClientHelper', () => { { domainId: mockDomainId, id: 'gp_profile3', - status: 'ACTIVATED', + status: 'ASSIGNED', groupName: 'TestGroup', rolePrincipalArn: 'arn:aws:iam::123456789012:role/TestRole', rolePrincipalId: 'AIDAI111111111EXAMPLE', @@ -518,9 +514,7 @@ describe('DataZoneCustomClientHelper', () => { } const mockDataZoneClient = { - searchGroupProfiles: sinon.stub().returns({ - promise: () => Promise.resolve(mockResponse), - }), + send: sinon.stub().withArgs(sinon.match.instanceOf(SearchGroupProfilesCommand)).resolves(mockResponse), } sinon.stub(client as any, 'getDataZoneCustomClient').resolves(mockDataZoneClient) @@ -532,9 +526,11 @@ describe('DataZoneCustomClientHelper', () => { assert.strictEqual(result.items.length, 1) assert.strictEqual(result.nextToken, undefined) - // Verify nextToken was passed - const callArgs = mockDataZoneClient.searchGroupProfiles.firstCall.args[0] - assert.strictEqual(callArgs.nextToken, 'previous-token') + // Verify send was called with correct command type and parameters + assert.ok(mockDataZoneClient.send.calledOnce) + const command = mockDataZoneClient.send.firstCall.args[0] + assert.strictEqual(command.input.domainIdentifier, mockDomainId) + assert.strictEqual(command.input.nextToken, 'previous-token') }) }) @@ -573,9 +569,7 @@ describe('DataZoneCustomClientHelper', () => { } const mockDataZoneClient = { - searchUserProfiles: sinon.stub().returns({ - promise: () => Promise.resolve(mockResponse), - }), + send: sinon.stub().withArgs(sinon.match.instanceOf(SearchUserProfilesCommand)).resolves(mockResponse), } sinon.stub(client as any, 'getDataZoneCustomClient').resolves(mockDataZoneClient) @@ -591,12 +585,12 @@ describe('DataZoneCustomClientHelper', () => { assert.strictEqual(result.items[1].id, 'up_user2') assert.strictEqual(result.nextToken, 'next-token') - // Verify API was called with correct parameters - assert.ok(mockDataZoneClient.searchUserProfiles.calledOnce) - const callArgs = mockDataZoneClient.searchUserProfiles.firstCall.args[0] - assert.strictEqual(callArgs.domainIdentifier, mockDomainId) - assert.strictEqual(callArgs.userType, 'DATAZONE_IAM_USER') - assert.strictEqual(callArgs.maxResults, 50) + // Verify API was called with correct command type and parameters + assert.ok(mockDataZoneClient.send.calledOnce) + const command = mockDataZoneClient.send.firstCall.args[0] + assert.strictEqual(command.input.domainIdentifier, mockDomainId) + assert.strictEqual(command.input.userType, 'DATAZONE_IAM_USER') + assert.strictEqual(command.input.maxResults, 50) }) it('should handle SSO user profiles', async () => { @@ -620,9 +614,7 @@ describe('DataZoneCustomClientHelper', () => { } const mockDataZoneClient = { - searchUserProfiles: sinon.stub().returns({ - promise: () => Promise.resolve(mockResponse), - }), + send: sinon.stub().withArgs(sinon.match.instanceOf(SearchUserProfilesCommand)).resolves(mockResponse), } sinon.stub(client as any, 'getDataZoneCustomClient').resolves(mockDataZoneClient) @@ -643,9 +635,7 @@ describe('DataZoneCustomClientHelper', () => { } const mockDataZoneClient = { - searchUserProfiles: sinon.stub().returns({ - promise: () => Promise.resolve(mockResponse), - }), + send: sinon.stub().withArgs(sinon.match.instanceOf(SearchUserProfilesCommand)).resolves(mockResponse), } sinon.stub(client as any, 'getDataZoneCustomClient').resolves(mockDataZoneClient) @@ -661,9 +651,7 @@ describe('DataZoneCustomClientHelper', () => { it('should handle API errors', async () => { const error = new Error('API Error') const mockDataZoneClient = { - searchUserProfiles: sinon.stub().returns({ - promise: () => Promise.reject(error), - }), + send: sinon.stub().withArgs(sinon.match.instanceOf(SearchUserProfilesCommand)).rejects(error), } sinon.stub(client as any, 'getDataZoneCustomClient').resolves(mockDataZoneClient) @@ -689,7 +677,7 @@ describe('DataZoneCustomClientHelper', () => { { id: 'gp_profile1', rolePrincipalArn: mockRoleArn, - status: 'ACTIVATED', + status: 'ASSIGNED', }, ], nextToken: undefined, @@ -710,7 +698,7 @@ describe('DataZoneCustomClientHelper', () => { { id: 'gp_profile1', rolePrincipalArn: 'arn:aws:iam::123456789012:role/OtherRole', - status: 'ACTIVATED', + status: 'ASSIGNED', }, ], nextToken: undefined, @@ -861,10 +849,8 @@ describe('DataZoneCustomClientHelper', () => { items: [ { id: 'up_user1', - status: 'ACTIVATED', - details: { - // No iam field - }, + status: 'ASSIGNED', + details: undefined, }, ], nextToken: undefined, @@ -947,7 +933,7 @@ describe('DataZoneCustomClientHelper', () => { { id: mockGroupProfileId, rolePrincipalArn: mockRoleArn, - status: 'ACTIVATED', + status: 'ASSIGNED', }, ], nextToken: undefined, diff --git a/src.gen/@amzn/datazone-custom-client/3.0.0.tgz b/src.gen/@amzn/datazone-custom-client/3.0.0.tgz new file mode 100644 index 00000000000..5fd87b8fe42 Binary files /dev/null and b/src.gen/@amzn/datazone-custom-client/3.0.0.tgz differ