@aws-sdk/client-redshift-serverless 3.943.0 → 3.947.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 (117) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +75 -344
  3. package/dist-cjs/runtimeConfig.browser.js +2 -2
  4. package/dist-cjs/runtimeConfig.js +3 -4
  5. package/dist-es/RedshiftServerless.js +2 -0
  6. package/dist-es/RedshiftServerlessClient.js +2 -2
  7. package/dist-es/commands/GetIdentityCenterAuthTokenCommand.js +16 -0
  8. package/dist-es/commands/index.js +1 -0
  9. package/dist-es/runtimeConfig.browser.js +2 -2
  10. package/dist-es/runtimeConfig.js +2 -3
  11. package/dist-es/schemas/schemas_0.js +62 -345
  12. package/dist-types/RedshiftServerless.d.ts +8 -1
  13. package/dist-types/RedshiftServerlessClient.d.ts +13 -12
  14. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
  15. package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
  16. package/dist-types/commands/ConvertRecoveryPointToSnapshotCommand.d.ts +3 -3
  17. package/dist-types/commands/CreateCustomDomainAssociationCommand.d.ts +3 -3
  18. package/dist-types/commands/CreateEndpointAccessCommand.d.ts +3 -3
  19. package/dist-types/commands/CreateNamespaceCommand.d.ts +3 -3
  20. package/dist-types/commands/CreateReservationCommand.d.ts +3 -3
  21. package/dist-types/commands/CreateScheduledActionCommand.d.ts +3 -3
  22. package/dist-types/commands/CreateSnapshotCommand.d.ts +3 -3
  23. package/dist-types/commands/CreateSnapshotCopyConfigurationCommand.d.ts +3 -3
  24. package/dist-types/commands/CreateUsageLimitCommand.d.ts +3 -3
  25. package/dist-types/commands/CreateWorkgroupCommand.d.ts +3 -3
  26. package/dist-types/commands/DeleteCustomDomainAssociationCommand.d.ts +3 -3
  27. package/dist-types/commands/DeleteEndpointAccessCommand.d.ts +3 -3
  28. package/dist-types/commands/DeleteNamespaceCommand.d.ts +3 -3
  29. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +3 -3
  30. package/dist-types/commands/DeleteScheduledActionCommand.d.ts +3 -3
  31. package/dist-types/commands/DeleteSnapshotCommand.d.ts +3 -3
  32. package/dist-types/commands/DeleteSnapshotCopyConfigurationCommand.d.ts +3 -3
  33. package/dist-types/commands/DeleteUsageLimitCommand.d.ts +3 -3
  34. package/dist-types/commands/DeleteWorkgroupCommand.d.ts +3 -3
  35. package/dist-types/commands/GetCredentialsCommand.d.ts +3 -3
  36. package/dist-types/commands/GetCustomDomainAssociationCommand.d.ts +3 -3
  37. package/dist-types/commands/GetEndpointAccessCommand.d.ts +3 -3
  38. package/dist-types/commands/GetIdentityCenterAuthTokenCommand.d.ts +98 -0
  39. package/dist-types/commands/GetNamespaceCommand.d.ts +3 -3
  40. package/dist-types/commands/GetRecoveryPointCommand.d.ts +3 -3
  41. package/dist-types/commands/GetReservationCommand.d.ts +3 -3
  42. package/dist-types/commands/GetReservationOfferingCommand.d.ts +3 -3
  43. package/dist-types/commands/GetResourcePolicyCommand.d.ts +3 -3
  44. package/dist-types/commands/GetScheduledActionCommand.d.ts +3 -3
  45. package/dist-types/commands/GetSnapshotCommand.d.ts +3 -3
  46. package/dist-types/commands/GetTableRestoreStatusCommand.d.ts +3 -3
  47. package/dist-types/commands/GetTrackCommand.d.ts +6 -3
  48. package/dist-types/commands/GetUsageLimitCommand.d.ts +3 -3
  49. package/dist-types/commands/GetWorkgroupCommand.d.ts +3 -3
  50. package/dist-types/commands/ListCustomDomainAssociationsCommand.d.ts +3 -3
  51. package/dist-types/commands/ListEndpointAccessCommand.d.ts +3 -3
  52. package/dist-types/commands/ListManagedWorkgroupsCommand.d.ts +3 -3
  53. package/dist-types/commands/ListNamespacesCommand.d.ts +3 -3
  54. package/dist-types/commands/ListRecoveryPointsCommand.d.ts +3 -3
  55. package/dist-types/commands/ListReservationOfferingsCommand.d.ts +3 -3
  56. package/dist-types/commands/ListReservationsCommand.d.ts +3 -3
  57. package/dist-types/commands/ListScheduledActionsCommand.d.ts +3 -3
  58. package/dist-types/commands/ListSnapshotCopyConfigurationsCommand.d.ts +3 -3
  59. package/dist-types/commands/ListSnapshotsCommand.d.ts +3 -3
  60. package/dist-types/commands/ListTableRestoreStatusCommand.d.ts +3 -3
  61. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
  62. package/dist-types/commands/ListTracksCommand.d.ts +3 -3
  63. package/dist-types/commands/ListUsageLimitsCommand.d.ts +3 -3
  64. package/dist-types/commands/ListWorkgroupsCommand.d.ts +3 -3
  65. package/dist-types/commands/PutResourcePolicyCommand.d.ts +3 -3
  66. package/dist-types/commands/RestoreFromRecoveryPointCommand.d.ts +3 -3
  67. package/dist-types/commands/RestoreFromSnapshotCommand.d.ts +3 -3
  68. package/dist-types/commands/RestoreTableFromRecoveryPointCommand.d.ts +3 -3
  69. package/dist-types/commands/RestoreTableFromSnapshotCommand.d.ts +3 -3
  70. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  71. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  72. package/dist-types/commands/UpdateCustomDomainAssociationCommand.d.ts +3 -3
  73. package/dist-types/commands/UpdateEndpointAccessCommand.d.ts +3 -3
  74. package/dist-types/commands/UpdateLakehouseConfigurationCommand.d.ts +3 -3
  75. package/dist-types/commands/UpdateNamespaceCommand.d.ts +3 -3
  76. package/dist-types/commands/UpdateScheduledActionCommand.d.ts +3 -3
  77. package/dist-types/commands/UpdateSnapshotCommand.d.ts +3 -3
  78. package/dist-types/commands/UpdateSnapshotCopyConfigurationCommand.d.ts +3 -3
  79. package/dist-types/commands/UpdateUsageLimitCommand.d.ts +3 -3
  80. package/dist-types/commands/UpdateWorkgroupCommand.d.ts +3 -3
  81. package/dist-types/commands/index.d.ts +1 -0
  82. package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  83. package/dist-types/endpoint/endpointResolver.d.ts +5 -2
  84. package/dist-types/extensionConfiguration.d.ts +4 -4
  85. package/dist-types/models/RedshiftServerlessServiceException.d.ts +1 -1
  86. package/dist-types/models/errors.d.ts +1 -1
  87. package/dist-types/models/models_0.d.ts +25 -0
  88. package/dist-types/pagination/Interfaces.d.ts +1 -1
  89. package/dist-types/pagination/ListCustomDomainAssociationsPaginator.d.ts +1 -1
  90. package/dist-types/pagination/ListEndpointAccessPaginator.d.ts +1 -1
  91. package/dist-types/pagination/ListManagedWorkgroupsPaginator.d.ts +1 -1
  92. package/dist-types/pagination/ListNamespacesPaginator.d.ts +1 -1
  93. package/dist-types/pagination/ListRecoveryPointsPaginator.d.ts +1 -1
  94. package/dist-types/pagination/ListReservationOfferingsPaginator.d.ts +1 -1
  95. package/dist-types/pagination/ListReservationsPaginator.d.ts +1 -1
  96. package/dist-types/pagination/ListScheduledActionsPaginator.d.ts +1 -1
  97. package/dist-types/pagination/ListSnapshotCopyConfigurationsPaginator.d.ts +1 -1
  98. package/dist-types/pagination/ListSnapshotsPaginator.d.ts +1 -1
  99. package/dist-types/pagination/ListTableRestoreStatusPaginator.d.ts +1 -1
  100. package/dist-types/pagination/ListTracksPaginator.d.ts +1 -1
  101. package/dist-types/pagination/ListUsageLimitsPaginator.d.ts +1 -1
  102. package/dist-types/pagination/ListWorkgroupsPaginator.d.ts +1 -1
  103. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  104. package/dist-types/runtimeConfig.d.ts +1 -1
  105. package/dist-types/runtimeConfig.native.d.ts +1 -1
  106. package/dist-types/runtimeConfig.shared.d.ts +1 -1
  107. package/dist-types/runtimeExtensions.d.ts +1 -1
  108. package/dist-types/schemas/schemas_0.d.ts +5 -2
  109. package/dist-types/ts3.4/RedshiftServerless.d.ts +17 -0
  110. package/dist-types/ts3.4/RedshiftServerlessClient.d.ts +9 -3
  111. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  112. package/dist-types/ts3.4/commands/GetIdentityCenterAuthTokenCommand.d.ts +51 -0
  113. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  114. package/dist-types/ts3.4/models/RedshiftServerlessServiceException.d.ts +1 -1
  115. package/dist-types/ts3.4/models/models_0.d.ts +7 -0
  116. package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -1
  117. package/package.json +13 -12
@@ -21,6 +21,7 @@ import { DeleteWorkgroupCommand, } from "./commands/DeleteWorkgroupCommand";
21
21
  import { GetCredentialsCommand, } from "./commands/GetCredentialsCommand";
22
22
  import { GetCustomDomainAssociationCommand, } from "./commands/GetCustomDomainAssociationCommand";
23
23
  import { GetEndpointAccessCommand, } from "./commands/GetEndpointAccessCommand";
24
+ import { GetIdentityCenterAuthTokenCommand, } from "./commands/GetIdentityCenterAuthTokenCommand";
24
25
  import { GetNamespaceCommand, } from "./commands/GetNamespaceCommand";
25
26
  import { GetRecoveryPointCommand, } from "./commands/GetRecoveryPointCommand";
26
27
  import { GetReservationCommand, } from "./commands/GetReservationCommand";
@@ -87,6 +88,7 @@ const commands = {
87
88
  GetCredentialsCommand,
88
89
  GetCustomDomainAssociationCommand,
89
90
  GetEndpointAccessCommand,
91
+ GetIdentityCenterAuthTokenCommand,
90
92
  GetNamespaceCommand,
91
93
  GetRecoveryPointCommand,
92
94
  GetReservationCommand,
@@ -6,8 +6,8 @@ import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
7
  import { getSchemaSerdePlugin } from "@smithy/core/schema";
8
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
9
- import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
10
- import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
9
+ import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
10
+ import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
11
11
  import { Client as __Client, } from "@smithy/smithy-client";
12
12
  import { defaultRedshiftServerlessHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
13
13
  import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { GetIdentityCenterAuthToken } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class GetIdentityCenterAuthTokenCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("RedshiftServerless", "GetIdentityCenterAuthToken", {})
13
+ .n("RedshiftServerlessClient", "GetIdentityCenterAuthTokenCommand")
14
+ .sc(GetIdentityCenterAuthToken)
15
+ .build() {
16
+ }
@@ -20,6 +20,7 @@ export * from "./DeleteWorkgroupCommand";
20
20
  export * from "./GetCredentialsCommand";
21
21
  export * from "./GetCustomDomainAssociationCommand";
22
22
  export * from "./GetEndpointAccessCommand";
23
+ export * from "./GetIdentityCenterAuthTokenCommand";
23
24
  export * from "./GetNamespaceCommand";
24
25
  export * from "./GetRecoveryPointCommand";
25
26
  export * from "./GetReservationCommand";
@@ -4,11 +4,11 @@ import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser
4
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
5
5
  import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
6
6
  import { invalidProvider } from "@smithy/invalid-dependency";
7
+ import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
7
8
  import { calculateBodyLength } from "@smithy/util-body-length-browser";
9
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
8
10
  import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
9
11
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
10
- import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
11
- import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
12
12
  export const getRuntimeConfig = (config) => {
13
13
  const defaultsMode = resolveDefaultsModeConfig(config);
14
14
  const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
@@ -7,12 +7,11 @@ import { Hash } from "@smithy/hash-node";
7
7
  import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
8
8
  import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
9
9
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
10
+ import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
10
11
  import { calculateBodyLength } from "@smithy/util-body-length-node";
12
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
11
13
  import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
12
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
- import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
14
- import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
15
- import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
16
15
  export const getRuntimeConfig = (config) => {
17
16
  emitWarningIfUnsupportedVersion(process.version);
18
17
  const defaultsMode = resolveDefaultsModeConfig(config);