@aws-sdk/client-dsql 3.1045.0 → 3.1046.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. package/README.md +28 -0
  2. package/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
  3. package/dist-cjs/endpoint/bdd.js +2 -2
  4. package/dist-cjs/endpoint/endpointResolver.js +4 -4
  5. package/dist-cjs/index.js +202 -56
  6. package/dist-cjs/models/DSQLServiceException.js +3 -3
  7. package/dist-cjs/runtimeConfig.browser.js +12 -14
  8. package/dist-cjs/runtimeConfig.js +18 -22
  9. package/dist-cjs/runtimeConfig.shared.js +9 -10
  10. package/dist-cjs/schemas/schemas_0.js +109 -5
  11. package/dist-es/DSQL.js +15 -1
  12. package/dist-es/DSQLClient.js +5 -5
  13. package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
  14. package/dist-es/commands/CreateClusterCommand.js +2 -2
  15. package/dist-es/commands/CreateStreamCommand.js +16 -0
  16. package/dist-es/commands/DeleteClusterCommand.js +2 -2
  17. package/dist-es/commands/DeleteClusterPolicyCommand.js +2 -2
  18. package/dist-es/commands/DeleteStreamCommand.js +16 -0
  19. package/dist-es/commands/GetClusterCommand.js +2 -2
  20. package/dist-es/commands/GetClusterPolicyCommand.js +2 -2
  21. package/dist-es/commands/GetStreamCommand.js +16 -0
  22. package/dist-es/commands/GetVpcEndpointServiceNameCommand.js +2 -2
  23. package/dist-es/commands/ListClustersCommand.js +2 -2
  24. package/dist-es/commands/ListStreamsCommand.js +16 -0
  25. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  26. package/dist-es/commands/PutClusterPolicyCommand.js +2 -2
  27. package/dist-es/commands/TagResourceCommand.js +2 -2
  28. package/dist-es/commands/UntagResourceCommand.js +2 -2
  29. package/dist-es/commands/UpdateClusterCommand.js +2 -2
  30. package/dist-es/commands/index.js +4 -0
  31. package/dist-es/endpoint/bdd.js +1 -1
  32. package/dist-es/endpoint/endpointResolver.js +1 -1
  33. package/dist-es/models/DSQLServiceException.js +1 -1
  34. package/dist-es/models/enums.js +24 -0
  35. package/dist-es/pagination/ListStreamsPaginator.js +4 -0
  36. package/dist-es/pagination/index.js +1 -0
  37. package/dist-es/runtimeConfig.browser.js +4 -6
  38. package/dist-es/runtimeConfig.js +4 -8
  39. package/dist-es/runtimeConfig.shared.js +3 -4
  40. package/dist-es/runtimeExtensions.js +2 -2
  41. package/dist-es/schemas/schemas_0.js +107 -4
  42. package/dist-es/waiters/index.js +2 -0
  43. package/dist-es/waiters/waitForClusterActive.js +1 -1
  44. package/dist-es/waiters/waitForClusterNotExists.js +1 -1
  45. package/dist-es/waiters/waitForStreamActive.js +31 -0
  46. package/dist-es/waiters/waitForStreamNotExists.js +25 -0
  47. package/dist-types/DSQL.d.ts +48 -1
  48. package/dist-types/DSQLClient.d.ts +11 -7
  49. package/dist-types/commands/CreateClusterCommand.d.ts +6 -4
  50. package/dist-types/commands/CreateStreamCommand.d.ts +115 -0
  51. package/dist-types/commands/DeleteClusterCommand.d.ts +6 -4
  52. package/dist-types/commands/DeleteClusterPolicyCommand.d.ts +6 -4
  53. package/dist-types/commands/DeleteStreamCommand.d.ts +100 -0
  54. package/dist-types/commands/GetClusterCommand.d.ts +6 -4
  55. package/dist-types/commands/GetClusterPolicyCommand.d.ts +6 -4
  56. package/dist-types/commands/GetStreamCommand.d.ts +111 -0
  57. package/dist-types/commands/GetVpcEndpointServiceNameCommand.d.ts +6 -4
  58. package/dist-types/commands/ListClustersCommand.d.ts +6 -4
  59. package/dist-types/commands/ListStreamsCommand.d.ts +102 -0
  60. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -4
  61. package/dist-types/commands/PutClusterPolicyCommand.d.ts +6 -4
  62. package/dist-types/commands/TagResourceCommand.d.ts +6 -4
  63. package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
  64. package/dist-types/commands/UpdateClusterCommand.d.ts +6 -4
  65. package/dist-types/commands/index.d.ts +4 -0
  66. package/dist-types/endpoint/bdd.d.ts +1 -1
  67. package/dist-types/extensionConfiguration.d.ts +1 -1
  68. package/dist-types/models/DSQLServiceException.d.ts +1 -1
  69. package/dist-types/models/enums.d.ts +56 -0
  70. package/dist-types/models/errors.d.ts +1 -1
  71. package/dist-types/models/models_0.d.ts +330 -1
  72. package/dist-types/pagination/ListStreamsPaginator.d.ts +7 -0
  73. package/dist-types/pagination/index.d.ts +1 -0
  74. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  75. package/dist-types/runtimeConfig.d.ts +2 -2
  76. package/dist-types/runtimeConfig.native.d.ts +2 -2
  77. package/dist-types/schemas/schemas_0.d.ts +17 -1
  78. package/dist-types/ts3.4/DSQL.d.ts +94 -1
  79. package/dist-types/ts3.4/DSQLClient.d.ts +32 -14
  80. package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +6 -4
  81. package/dist-types/ts3.4/commands/CreateStreamCommand.d.ts +49 -0
  82. package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +6 -4
  83. package/dist-types/ts3.4/commands/DeleteClusterPolicyCommand.d.ts +6 -4
  84. package/dist-types/ts3.4/commands/DeleteStreamCommand.d.ts +49 -0
  85. package/dist-types/ts3.4/commands/GetClusterCommand.d.ts +6 -4
  86. package/dist-types/ts3.4/commands/GetClusterPolicyCommand.d.ts +6 -4
  87. package/dist-types/ts3.4/commands/GetStreamCommand.d.ts +45 -0
  88. package/dist-types/ts3.4/commands/GetVpcEndpointServiceNameCommand.d.ts +6 -4
  89. package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +6 -4
  90. package/dist-types/ts3.4/commands/ListStreamsCommand.d.ts +49 -0
  91. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +6 -4
  92. package/dist-types/ts3.4/commands/PutClusterPolicyCommand.d.ts +6 -4
  93. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +6 -4
  94. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +6 -4
  95. package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +6 -4
  96. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  97. package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
  98. package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
  99. package/dist-types/ts3.4/models/DSQLServiceException.d.ts +1 -1
  100. package/dist-types/ts3.4/models/enums.d.ts +30 -0
  101. package/dist-types/ts3.4/models/errors.d.ts +1 -1
  102. package/dist-types/ts3.4/models/models_0.d.ts +95 -1
  103. package/dist-types/ts3.4/pagination/ListStreamsPaginator.d.ts +11 -0
  104. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  105. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  106. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  107. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  108. package/dist-types/ts3.4/schemas/schemas_0.d.ts +17 -0
  109. package/dist-types/ts3.4/waiters/index.d.ts +2 -0
  110. package/dist-types/ts3.4/waiters/waitForClusterActive.d.ts +1 -1
  111. package/dist-types/ts3.4/waiters/waitForClusterNotExists.d.ts +1 -1
  112. package/dist-types/ts3.4/waiters/waitForStreamActive.d.ts +15 -0
  113. package/dist-types/ts3.4/waiters/waitForStreamNotExists.d.ts +16 -0
  114. package/dist-types/waiters/index.d.ts +2 -0
  115. package/dist-types/waiters/waitForClusterActive.d.ts +1 -1
  116. package/dist-types/waiters/waitForClusterNotExists.d.ts +1 -1
  117. package/dist-types/waiters/waitForStreamActive.d.ts +15 -0
  118. package/dist-types/waiters/waitForStreamNotExists.d.ts +16 -0
  119. package/package.json +13 -35
@@ -5,34 +5,32 @@ const tslib_1 = require("tslib");
5
5
  const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
6
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
7
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
8
- const config_resolver_1 = require("@smithy/config-resolver");
8
+ const client_1 = require("@smithy/core/client");
9
+ const config_1 = require("@smithy/core/config");
10
+ const retry_1 = require("@smithy/core/retry");
11
+ const serde_1 = require("@smithy/core/serde");
9
12
  const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
10
- const invalid_dependency_1 = require("@smithy/invalid-dependency");
11
- const smithy_client_1 = require("@smithy/smithy-client");
12
- const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
13
- const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
14
- const util_retry_1 = require("@smithy/util-retry");
15
13
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
16
14
  const getRuntimeConfig = (config) => {
17
- const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
18
- const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
15
+ const defaultsMode = (0, config_1.resolveDefaultsModeConfig)(config);
16
+ const defaultConfigProvider = () => defaultsMode().then(client_1.loadConfigsForDefaultMode);
19
17
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
20
18
  return {
21
19
  ...clientSharedValues,
22
20
  ...config,
23
21
  runtime: "browser",
24
22
  defaultsMode,
25
- bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
23
+ bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
26
24
  credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
27
25
  defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
28
- maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
29
- region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
26
+ maxAttempts: config?.maxAttempts ?? retry_1.DEFAULT_MAX_ATTEMPTS,
27
+ region: config?.region ?? (0, client_1.invalidProvider)("Region is missing"),
30
28
  requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
31
- retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE),
29
+ retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || retry_1.DEFAULT_RETRY_MODE),
32
30
  sha256: config?.sha256 ?? sha256_browser_1.Sha256,
33
31
  streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
34
- useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
35
- useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
32
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
33
+ useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_1.DEFAULT_USE_FIPS_ENDPOINT)),
36
34
  };
37
35
  };
38
36
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -7,20 +7,16 @@ const client_1 = require("@aws-sdk/core/client");
7
7
  const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
8
8
  const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
9
9
  const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
10
- const config_resolver_1 = require("@smithy/config-resolver");
11
- const hash_node_1 = require("@smithy/hash-node");
12
- const middleware_retry_1 = require("@smithy/middleware-retry");
13
- const node_config_provider_1 = require("@smithy/node-config-provider");
10
+ const client_2 = require("@smithy/core/client");
11
+ const config_1 = require("@smithy/core/config");
12
+ const retry_1 = require("@smithy/core/retry");
13
+ const serde_1 = require("@smithy/core/serde");
14
14
  const node_http_handler_1 = require("@smithy/node-http-handler");
15
- const smithy_client_1 = require("@smithy/smithy-client");
16
- const util_body_length_node_1 = require("@smithy/util-body-length-node");
17
- const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
18
- const util_retry_1 = require("@smithy/util-retry");
19
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
20
16
  const getRuntimeConfig = (config) => {
21
- (0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
22
- const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
23
- const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
17
+ (0, client_2.emitWarningIfUnsupportedVersion)(process.version);
18
+ const defaultsMode = (0, config_1.resolveDefaultsModeConfig)(config);
19
+ const defaultConfigProvider = () => defaultsMode().then(client_2.loadConfigsForDefaultMode);
24
20
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
25
21
  (0, client_1.emitWarningIfUnsupportedVersion)(process.version);
26
22
  const loaderConfig = {
@@ -32,23 +28,23 @@ const getRuntimeConfig = (config) => {
32
28
  ...config,
33
29
  runtime: "node",
34
30
  defaultsMode,
35
- authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
36
- bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
31
+ authSchemePreference: config?.authSchemePreference ?? (0, config_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
32
+ bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
37
33
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
38
34
  defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
39
- maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
40
- region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
35
+ maxAttempts: config?.maxAttempts ?? (0, config_1.loadConfig)(retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
36
+ region: config?.region ?? (0, config_1.loadConfig)(config_1.NODE_REGION_CONFIG_OPTIONS, { ...config_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
41
37
  requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
42
38
  retryMode: config?.retryMode ??
43
- (0, node_config_provider_1.loadConfig)({
44
- ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
45
- default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,
39
+ (0, config_1.loadConfig)({
40
+ ...retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
41
+ default: async () => (await defaultConfigProvider()).retryMode || retry_1.DEFAULT_RETRY_MODE,
46
42
  }, config),
47
- sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
43
+ sha256: config?.sha256 ?? serde_1.Hash.bind(null, "sha256"),
48
44
  streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
49
- useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
50
- useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
51
- userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
45
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
46
+ useFipsEndpoint: config?.useFipsEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
47
+ userAgentAppId: config?.userAgentAppId ?? (0, config_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
52
48
  };
53
49
  };
54
50
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -3,18 +3,17 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
5
5
  const protocols_1 = require("@aws-sdk/core/protocols");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- const url_parser_1 = require("@smithy/url-parser");
8
- const util_base64_1 = require("@smithy/util-base64");
9
- const util_utf8_1 = require("@smithy/util-utf8");
6
+ const client_1 = require("@smithy/core/client");
7
+ const protocols_2 = require("@smithy/core/protocols");
8
+ const serde_1 = require("@smithy/core/serde");
10
9
  const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
11
10
  const endpointResolver_1 = require("./endpoint/endpointResolver");
12
11
  const schemas_0_1 = require("./schemas/schemas_0");
13
12
  const getRuntimeConfig = (config) => {
14
13
  return {
15
14
  apiVersion: "2018-05-10",
16
- base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,
17
- base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
15
+ base64Decoder: config?.base64Decoder ?? serde_1.fromBase64,
16
+ base64Encoder: config?.base64Encoder ?? serde_1.toBase64,
18
17
  disableHostPrefix: config?.disableHostPrefix ?? false,
19
18
  endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
20
19
  extensions: config?.extensions ?? [],
@@ -26,7 +25,7 @@ const getRuntimeConfig = (config) => {
26
25
  signer: new httpAuthSchemes_1.AwsSdkSigV4Signer(),
27
26
  },
28
27
  ],
29
- logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
28
+ logger: config?.logger ?? new client_1.NoOpLogger(),
30
29
  protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
31
30
  protocolSettings: config?.protocolSettings ?? {
32
31
  defaultNamespace: "com.amazonaws.dsql",
@@ -35,9 +34,9 @@ const getRuntimeConfig = (config) => {
35
34
  serviceTarget: "DSQL",
36
35
  },
37
36
  serviceId: config?.serviceId ?? "DSQL",
38
- urlParser: config?.urlParser ?? url_parser_1.parseUrl,
39
- utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
40
- utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,
37
+ urlParser: config?.urlParser ?? protocols_2.parseUrl,
38
+ utf8Decoder: config?.utf8Decoder ?? serde_1.fromUtf8,
39
+ utf8Encoder: config?.utf8Encoder ?? serde_1.toUtf8,
41
40
  };
42
41
  };
43
42
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateCluster$ = exports.UntagResource$ = exports.TagResource$ = exports.PutClusterPolicy$ = exports.ListTagsForResource$ = exports.ListClusters$ = exports.GetVpcEndpointServiceName$ = exports.GetClusterPolicy$ = exports.GetCluster$ = exports.DeleteClusterPolicy$ = exports.DeleteCluster$ = exports.CreateCluster$ = exports.ValidationExceptionField$ = exports.UpdateClusterOutput$ = exports.UpdateClusterInput$ = exports.UntagResourceInput$ = exports.TagResourceInput$ = exports.PutClusterPolicyOutput$ = exports.PutClusterPolicyInput$ = exports.MultiRegionProperties$ = exports.ListTagsForResourceOutput$ = exports.ListTagsForResourceInput$ = exports.ListClustersOutput$ = exports.ListClustersInput$ = exports.GetVpcEndpointServiceNameOutput$ = exports.GetVpcEndpointServiceNameInput$ = exports.GetClusterPolicyOutput$ = exports.GetClusterPolicyInput$ = exports.GetClusterOutput$ = exports.GetClusterInput$ = exports.EncryptionDetails$ = exports.DeleteClusterPolicyOutput$ = exports.DeleteClusterPolicyInput$ = exports.DeleteClusterOutput$ = exports.DeleteClusterInput$ = exports.CreateClusterOutput$ = exports.CreateClusterInput$ = exports.ClusterSummary$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.ServiceQuotaExceededException$ = exports.ResourceNotFoundException$ = exports.InternalServerException$ = exports.ConflictException$ = exports.AccessDeniedException$ = exports.DSQLServiceException$ = void 0;
3
+ exports.DeleteCluster$ = exports.CreateStream$ = exports.CreateCluster$ = exports.TargetDefinition$ = exports.ValidationExceptionField$ = exports.UpdateClusterOutput$ = exports.UpdateClusterInput$ = exports.UntagResourceInput$ = exports.TagResourceInput$ = exports.StreamSummary$ = exports.StatusReason$ = exports.PutClusterPolicyOutput$ = exports.PutClusterPolicyInput$ = exports.MultiRegionProperties$ = exports.ListTagsForResourceOutput$ = exports.ListTagsForResourceInput$ = exports.ListStreamsOutput$ = exports.ListStreamsInput$ = exports.ListClustersOutput$ = exports.ListClustersInput$ = exports.KinesisTargetDefinition$ = exports.GetVpcEndpointServiceNameOutput$ = exports.GetVpcEndpointServiceNameInput$ = exports.GetStreamOutput$ = exports.GetStreamInput$ = exports.GetClusterPolicyOutput$ = exports.GetClusterPolicyInput$ = exports.GetClusterOutput$ = exports.GetClusterInput$ = exports.EncryptionDetails$ = exports.DeleteStreamOutput$ = exports.DeleteStreamInput$ = exports.DeleteClusterPolicyOutput$ = exports.DeleteClusterPolicyInput$ = exports.DeleteClusterOutput$ = exports.DeleteClusterInput$ = exports.CreateStreamOutput$ = exports.CreateStreamInput$ = exports.CreateClusterOutput$ = exports.CreateClusterInput$ = exports.ClusterSummary$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.ServiceQuotaExceededException$ = exports.ResourceNotFoundException$ = exports.InternalServerException$ = exports.ConflictException$ = exports.AccessDeniedException$ = exports.DSQLServiceException$ = void 0;
4
+ exports.UpdateCluster$ = exports.UntagResource$ = exports.TagResource$ = exports.PutClusterPolicy$ = exports.ListTagsForResource$ = exports.ListStreams$ = exports.ListClusters$ = exports.GetVpcEndpointServiceName$ = exports.GetStream$ = exports.GetClusterPolicy$ = exports.GetCluster$ = exports.DeleteStream$ = exports.DeleteClusterPolicy$ = void 0;
4
5
  const _ADE = "AccessDeniedException";
5
6
  const _CC = "CreateCluster";
6
7
  const _CCI = "CreateClusterInput";
@@ -8,12 +9,18 @@ const _CCO = "CreateClusterOutput";
8
9
  const _CE = "ConflictException";
9
10
  const _CL = "ClusterList";
10
11
  const _CS = "ClusterSummary";
12
+ const _CSI = "CreateStreamInput";
13
+ const _CSO = "CreateStreamOutput";
14
+ const _CSr = "CreateStream";
11
15
  const _DC = "DeleteCluster";
12
16
  const _DCI = "DeleteClusterInput";
13
17
  const _DCO = "DeleteClusterOutput";
14
18
  const _DCP = "DeleteClusterPolicy";
15
19
  const _DCPI = "DeleteClusterPolicyInput";
16
20
  const _DCPO = "DeleteClusterPolicyOutput";
21
+ const _DS = "DeleteStream";
22
+ const _DSI = "DeleteStreamInput";
23
+ const _DSO = "DeleteStreamOutput";
17
24
  const _ED = "EncryptionDetails";
18
25
  const _GC = "GetCluster";
19
26
  const _GCI = "GetClusterInput";
@@ -21,13 +28,20 @@ const _GCO = "GetClusterOutput";
21
28
  const _GCP = "GetClusterPolicy";
22
29
  const _GCPI = "GetClusterPolicyInput";
23
30
  const _GCPO = "GetClusterPolicyOutput";
31
+ const _GS = "GetStream";
32
+ const _GSI = "GetStreamInput";
33
+ const _GSO = "GetStreamOutput";
24
34
  const _GVESN = "GetVpcEndpointServiceName";
25
35
  const _GVESNI = "GetVpcEndpointServiceNameInput";
26
36
  const _GVESNO = "GetVpcEndpointServiceNameOutput";
27
37
  const _ISE = "InternalServerException";
38
+ const _KTD = "KinesisTargetDefinition";
28
39
  const _LC = "ListClusters";
29
40
  const _LCI = "ListClustersInput";
30
41
  const _LCO = "ListClustersOutput";
42
+ const _LS = "ListStreams";
43
+ const _LSI = "ListStreamsInput";
44
+ const _LSO = "ListStreamsOutput";
31
45
  const _LTFR = "ListTagsForResource";
32
46
  const _LTFRI = "ListTagsForResourceInput";
33
47
  const _LTFRO = "ListTagsForResourceOutput";
@@ -37,7 +51,11 @@ const _PCPI = "PutClusterPolicyInput";
37
51
  const _PCPO = "PutClusterPolicyOutput";
38
52
  const _RA = "Retry-After";
39
53
  const _RNFE = "ResourceNotFoundException";
54
+ const _SL = "StreamList";
40
55
  const _SQEE = "ServiceQuotaExceededException";
56
+ const _SR = "StatusReason";
57
+ const _SS = "StreamSummary";
58
+ const _TD = "TargetDefinition";
41
59
  const _TE = "ThrottlingException";
42
60
  const _TR = "TagResource";
43
61
  const _TRI = "TagResourceInput";
@@ -52,6 +70,7 @@ const _VEFL = "ValidationExceptionFieldList";
52
70
  const _a = "arn";
53
71
  const _bPLSC = "bypassPolicyLockoutSafetyCheck";
54
72
  const _c = "client";
73
+ const _cI = "clusterIdentifier";
55
74
  const _cT = "clientToken";
56
75
  const _cTr = "creationTime";
57
76
  const _cVE = "clusterVpcEndpoint";
@@ -65,6 +84,7 @@ const _eS = "encryptionStatus";
65
84
  const _eT = "encryptionType";
66
85
  const _en = "endpoint";
67
86
  const _epv = "expected-policy-version";
87
+ const _f = "format";
68
88
  const _fL = "fieldList";
69
89
  const _h = "http";
70
90
  const _hE = "httpError";
@@ -72,6 +92,7 @@ const _hH = "httpHeader";
72
92
  const _hQ = "httpQuery";
73
93
  const _i = "identifier";
74
94
  const _iT = "idempotencyToken";
95
+ const _k = "kinesis";
75
96
  const _kEK = "kmsEncryptionKey";
76
97
  const _kKA = "kmsKeyArn";
77
98
  const _m = "message";
@@ -81,21 +102,29 @@ const _mr = "max-results";
81
102
  const _n = "name";
82
103
  const _nT = "nextToken";
83
104
  const _nt = "next-token";
105
+ const _o = "ordering";
84
106
  const _p = "policy";
85
107
  const _pV = "policyVersion";
86
108
  const _qC = "quotaCode";
87
109
  const _r = "reason";
88
- const _rA = "resourceArn";
110
+ const _rA = "roleArn";
89
111
  const _rAS = "retryAfterSeconds";
112
+ const _rAe = "resourceArn";
90
113
  const _rI = "resourceId";
91
114
  const _rT = "resourceType";
92
115
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.dsql";
116
+ const _sA = "streamArn";
93
117
  const _sC = "serviceCode";
118
+ const _sI = "streamIdentifier";
94
119
  const _sN = "serviceName";
120
+ const _sR = "statusReason";
95
121
  const _se = "server";
96
122
  const _st = "status";
123
+ const _str = "streams";
97
124
  const _t = "tags";
125
+ const _tD = "targetDefinition";
98
126
  const _tK = "tagKeys";
127
+ const _uA = "updatedAt";
99
128
  const _wR = "witnessRegion";
100
129
  const n0 = "com.amazonaws.dsql";
101
130
  const schema_1 = require("@smithy/core/schema");
@@ -166,6 +195,16 @@ exports.CreateClusterOutput$ = [3, n0, _CCO,
166
195
  [_i, _a, _st, _cTr, _dPE, _mRP, _eD, _en],
167
196
  [0, 0, 0, 4, 2, () => exports.MultiRegionProperties$, () => exports.EncryptionDetails$, 0], 5
168
197
  ];
198
+ exports.CreateStreamInput$ = [3, n0, _CSI,
199
+ 0,
200
+ [_cI, _tD, _o, _f, _t, _cT],
201
+ [[0, 1], () => exports.TargetDefinition$, 0, 0, 128 | 0, [0, 4]], 4
202
+ ];
203
+ exports.CreateStreamOutput$ = [3, n0, _CSO,
204
+ 0,
205
+ [_cI, _sI, _a, _st, _cTr, _o, _f],
206
+ [0, 0, 0, 0, 4, 0, 0], 7
207
+ ];
169
208
  exports.DeleteClusterInput$ = [3, n0, _DCI,
170
209
  0,
171
210
  [_i, _cT],
@@ -186,6 +225,16 @@ exports.DeleteClusterPolicyOutput$ = [3, n0, _DCPO,
186
225
  [_pV],
187
226
  [0], 1
188
227
  ];
228
+ exports.DeleteStreamInput$ = [3, n0, _DSI,
229
+ 0,
230
+ [_cI, _sI, _cT],
231
+ [[0, 1], [0, 1], [0, { [_hQ]: _ct, [_iT]: 1 }]], 2
232
+ ];
233
+ exports.DeleteStreamOutput$ = [3, n0, _DSO,
234
+ 0,
235
+ [_cI, _sI, _a, _st, _cTr],
236
+ [0, 0, 0, 0, 4], 5
237
+ ];
189
238
  exports.EncryptionDetails$ = [3, n0, _ED,
190
239
  0,
191
240
  [_eT, _eS, _kKA],
@@ -211,6 +260,16 @@ exports.GetClusterPolicyOutput$ = [3, n0, _GCPO,
211
260
  [_p, _pV],
212
261
  [0, 0], 2
213
262
  ];
263
+ exports.GetStreamInput$ = [3, n0, _GSI,
264
+ 0,
265
+ [_cI, _sI],
266
+ [[0, 1], [0, 1]], 2
267
+ ];
268
+ exports.GetStreamOutput$ = [3, n0, _GSO,
269
+ 0,
270
+ [_cI, _sI, _a, _st, _cTr, _o, _f, _tD, _sR, _t],
271
+ [0, 0, 0, 0, 4, 0, 0, () => exports.TargetDefinition$, () => exports.StatusReason$, 128 | 0], 7
272
+ ];
214
273
  exports.GetVpcEndpointServiceNameInput$ = [3, n0, _GVESNI,
215
274
  0,
216
275
  [_i],
@@ -221,6 +280,11 @@ exports.GetVpcEndpointServiceNameOutput$ = [3, n0, _GVESNO,
221
280
  [_sN, _cVE],
222
281
  [0, 0], 1
223
282
  ];
283
+ exports.KinesisTargetDefinition$ = [3, n0, _KTD,
284
+ 0,
285
+ [_sA, _rA],
286
+ [0, 0], 2
287
+ ];
224
288
  exports.ListClustersInput$ = [3, n0, _LCI,
225
289
  0,
226
290
  [_mR, _nT],
@@ -231,9 +295,19 @@ exports.ListClustersOutput$ = [3, n0, _LCO,
231
295
  [_cl, _nT],
232
296
  [() => ClusterList, 0], 1
233
297
  ];
298
+ exports.ListStreamsInput$ = [3, n0, _LSI,
299
+ 0,
300
+ [_cI, _mR, _nT],
301
+ [[0, 1], [1, { [_hQ]: _mr }], [0, { [_hQ]: _nt }]], 1
302
+ ];
303
+ exports.ListStreamsOutput$ = [3, n0, _LSO,
304
+ 0,
305
+ [_str, _nT],
306
+ [() => StreamList, 0], 1
307
+ ];
234
308
  exports.ListTagsForResourceInput$ = [3, n0, _LTFRI,
235
309
  0,
236
- [_rA],
310
+ [_rAe],
237
311
  [[0, 1]], 1
238
312
  ];
239
313
  exports.ListTagsForResourceOutput$ = [3, n0, _LTFRO,
@@ -256,14 +330,24 @@ exports.PutClusterPolicyOutput$ = [3, n0, _PCPO,
256
330
  [_pV],
257
331
  [0], 1
258
332
  ];
333
+ exports.StatusReason$ = [3, n0, _SR,
334
+ 0,
335
+ [_e, _uA],
336
+ [0, 4], 2
337
+ ];
338
+ exports.StreamSummary$ = [3, n0, _SS,
339
+ 0,
340
+ [_cI, _sI, _a, _cTr, _st],
341
+ [0, 0, 0, 4, 0], 5
342
+ ];
259
343
  exports.TagResourceInput$ = [3, n0, _TRI,
260
344
  0,
261
- [_rA, _t],
345
+ [_rAe, _t],
262
346
  [[0, 1], 128 | 0], 2
263
347
  ];
264
348
  exports.UntagResourceInput$ = [3, n0, _URI,
265
349
  0,
266
- [_rA, _tK],
350
+ [_rAe, _tK],
267
351
  [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
268
352
  ];
269
353
  exports.UpdateClusterInput$ = [3, n0, _UCI,
@@ -286,32 +370,52 @@ var ClusterArnList = 64 | 0;
286
370
  var ClusterList = [1, n0, _CL,
287
371
  0, () => exports.ClusterSummary$
288
372
  ];
373
+ var StreamList = [1, n0, _SL,
374
+ 0, () => exports.StreamSummary$
375
+ ];
289
376
  var TagKeyList = 64 | 0;
290
377
  var ValidationExceptionFieldList = [1, n0, _VEFL,
291
378
  0, () => exports.ValidationExceptionField$
292
379
  ];
293
380
  var TagMap = 128 | 0;
381
+ exports.TargetDefinition$ = [4, n0, _TD,
382
+ 0,
383
+ [_k],
384
+ [() => exports.KinesisTargetDefinition$]
385
+ ];
294
386
  exports.CreateCluster$ = [9, n0, _CC,
295
387
  { [_h]: ["POST", "/cluster", 200] }, () => exports.CreateClusterInput$, () => exports.CreateClusterOutput$
296
388
  ];
389
+ exports.CreateStream$ = [9, n0, _CSr,
390
+ { [_h]: ["POST", "/stream/{clusterIdentifier}", 200] }, () => exports.CreateStreamInput$, () => exports.CreateStreamOutput$
391
+ ];
297
392
  exports.DeleteCluster$ = [9, n0, _DC,
298
393
  { [_h]: ["DELETE", "/cluster/{identifier}", 200] }, () => exports.DeleteClusterInput$, () => exports.DeleteClusterOutput$
299
394
  ];
300
395
  exports.DeleteClusterPolicy$ = [9, n0, _DCP,
301
396
  { [_h]: ["DELETE", "/cluster/{identifier}/policy", 200] }, () => exports.DeleteClusterPolicyInput$, () => exports.DeleteClusterPolicyOutput$
302
397
  ];
398
+ exports.DeleteStream$ = [9, n0, _DS,
399
+ { [_h]: ["DELETE", "/stream/{clusterIdentifier}/{streamIdentifier}", 200] }, () => exports.DeleteStreamInput$, () => exports.DeleteStreamOutput$
400
+ ];
303
401
  exports.GetCluster$ = [9, n0, _GC,
304
402
  { [_h]: ["GET", "/cluster/{identifier}", 200] }, () => exports.GetClusterInput$, () => exports.GetClusterOutput$
305
403
  ];
306
404
  exports.GetClusterPolicy$ = [9, n0, _GCP,
307
405
  { [_h]: ["GET", "/cluster/{identifier}/policy", 200] }, () => exports.GetClusterPolicyInput$, () => exports.GetClusterPolicyOutput$
308
406
  ];
407
+ exports.GetStream$ = [9, n0, _GS,
408
+ { [_h]: ["GET", "/stream/{clusterIdentifier}/{streamIdentifier}", 200] }, () => exports.GetStreamInput$, () => exports.GetStreamOutput$
409
+ ];
309
410
  exports.GetVpcEndpointServiceName$ = [9, n0, _GVESN,
310
411
  { [_h]: ["GET", "/clusters/{identifier}/vpc-endpoint-service-name", 200] }, () => exports.GetVpcEndpointServiceNameInput$, () => exports.GetVpcEndpointServiceNameOutput$
311
412
  ];
312
413
  exports.ListClusters$ = [9, n0, _LC,
313
414
  { [_h]: ["GET", "/cluster", 200] }, () => exports.ListClustersInput$, () => exports.ListClustersOutput$
314
415
  ];
416
+ exports.ListStreams$ = [9, n0, _LS,
417
+ { [_h]: ["GET", "/stream/{clusterIdentifier}", 200] }, () => exports.ListStreamsInput$, () => exports.ListStreamsOutput$
418
+ ];
315
419
  exports.ListTagsForResource$ = [9, n0, _LTFR,
316
420
  { [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => exports.ListTagsForResourceInput$, () => exports.ListTagsForResourceOutput$
317
421
  ];
package/dist-es/DSQL.js CHANGED
@@ -1,11 +1,15 @@
1
- import { createAggregatedClient } from "@smithy/smithy-client";
1
+ import { createAggregatedClient } from "@smithy/core/client";
2
2
  import { CreateClusterCommand, } from "./commands/CreateClusterCommand";
3
+ import { CreateStreamCommand, } from "./commands/CreateStreamCommand";
3
4
  import { DeleteClusterCommand, } from "./commands/DeleteClusterCommand";
4
5
  import { DeleteClusterPolicyCommand, } from "./commands/DeleteClusterPolicyCommand";
6
+ import { DeleteStreamCommand, } from "./commands/DeleteStreamCommand";
5
7
  import { GetClusterCommand, } from "./commands/GetClusterCommand";
6
8
  import { GetClusterPolicyCommand, } from "./commands/GetClusterPolicyCommand";
9
+ import { GetStreamCommand } from "./commands/GetStreamCommand";
7
10
  import { GetVpcEndpointServiceNameCommand, } from "./commands/GetVpcEndpointServiceNameCommand";
8
11
  import { ListClustersCommand, } from "./commands/ListClustersCommand";
12
+ import { ListStreamsCommand, } from "./commands/ListStreamsCommand";
9
13
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
10
14
  import { PutClusterPolicyCommand, } from "./commands/PutClusterPolicyCommand";
11
15
  import { TagResourceCommand, } from "./commands/TagResourceCommand";
@@ -13,16 +17,23 @@ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
13
17
  import { UpdateClusterCommand, } from "./commands/UpdateClusterCommand";
14
18
  import { DSQLClient } from "./DSQLClient";
15
19
  import { paginateListClusters } from "./pagination/ListClustersPaginator";
20
+ import { paginateListStreams } from "./pagination/ListStreamsPaginator";
16
21
  import { waitUntilClusterActive } from "./waiters/waitForClusterActive";
17
22
  import { waitUntilClusterNotExists } from "./waiters/waitForClusterNotExists";
23
+ import { waitUntilStreamActive } from "./waiters/waitForStreamActive";
24
+ import { waitUntilStreamNotExists } from "./waiters/waitForStreamNotExists";
18
25
  const commands = {
19
26
  CreateClusterCommand,
27
+ CreateStreamCommand,
20
28
  DeleteClusterCommand,
21
29
  DeleteClusterPolicyCommand,
30
+ DeleteStreamCommand,
22
31
  GetClusterCommand,
23
32
  GetClusterPolicyCommand,
33
+ GetStreamCommand,
24
34
  GetVpcEndpointServiceNameCommand,
25
35
  ListClustersCommand,
36
+ ListStreamsCommand,
26
37
  ListTagsForResourceCommand,
27
38
  PutClusterPolicyCommand,
28
39
  TagResourceCommand,
@@ -31,10 +42,13 @@ const commands = {
31
42
  };
32
43
  const paginators = {
33
44
  paginateListClusters,
45
+ paginateListStreams,
34
46
  };
35
47
  const waiters = {
36
48
  waitUntilClusterActive,
37
49
  waitUntilClusterNotExists,
50
+ waitUntilStreamActive,
51
+ waitUntilStreamNotExists,
38
52
  };
39
53
  export class DSQL extends DSQLClient {
40
54
  }
@@ -2,13 +2,13 @@ import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middlewa
2
2
  import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
3
3
  import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
- import { resolveRegionConfig } from "@smithy/config-resolver";
6
5
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
6
+ import { Client as __Client, } from "@smithy/core/client";
7
+ import { resolveRegionConfig } from "@smithy/core/config";
8
+ import { resolveEndpointConfig } from "@smithy/core/endpoints";
9
+ import { getContentLengthPlugin } from "@smithy/core/protocols";
10
+ import { getRetryPlugin, resolveRetryConfig, } from "@smithy/core/retry";
7
11
  import { getSchemaSerdePlugin } from "@smithy/core/schema";
8
- import { getContentLengthPlugin } from "@smithy/middleware-content-length";
9
- import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
10
- import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
11
- import { Client as __Client, } from "@smithy/smithy-client";
12
12
  import { defaultDSQLHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
13
13
  import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
14
14
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
@@ -1,5 +1,5 @@
1
1
  import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core/httpAuthSchemes";
2
- import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
2
+ import { getSmithyContext, normalizeProvider } from "@smithy/core/client";
3
3
  export const defaultDSQLHttpAuthSchemeParametersProvider = async (config, context, input) => {
4
4
  return {
5
5
  operation: getSmithyContext(context).operation,
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { CreateCluster$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { CreateStream$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class CreateStreamCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("DSQL", "CreateStream", {})
13
+ .n("DSQLClient", "CreateStreamCommand")
14
+ .sc(CreateStream$)
15
+ .build() {
16
+ }
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { DeleteCluster$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { DeleteClusterPolicy$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { DeleteStream$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class DeleteStreamCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("DSQL", "DeleteStream", {})
13
+ .n("DSQLClient", "DeleteStreamCommand")
14
+ .sc(DeleteStream$)
15
+ .build() {
16
+ }
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { GetCluster$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { GetClusterPolicy$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { GetStream$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class GetStreamCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("DSQL", "GetStream", {})
13
+ .n("DSQLClient", "GetStreamCommand")
14
+ .sc(GetStream$)
15
+ .build() {
16
+ }
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { GetVpcEndpointServiceName$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { ListClusters$ } from "../schemas/schemas_0";
5
5
  export { $Command };