@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.
- package/README.md +8 -0
- package/dist-cjs/index.js +75 -344
- package/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-es/RedshiftServerless.js +2 -0
- package/dist-es/RedshiftServerlessClient.js +2 -2
- package/dist-es/commands/GetIdentityCenterAuthTokenCommand.js +16 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +2 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/schemas/schemas_0.js +62 -345
- package/dist-types/RedshiftServerless.d.ts +8 -1
- package/dist-types/RedshiftServerlessClient.d.ts +13 -12
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
- package/dist-types/commands/ConvertRecoveryPointToSnapshotCommand.d.ts +3 -3
- package/dist-types/commands/CreateCustomDomainAssociationCommand.d.ts +3 -3
- package/dist-types/commands/CreateEndpointAccessCommand.d.ts +3 -3
- package/dist-types/commands/CreateNamespaceCommand.d.ts +3 -3
- package/dist-types/commands/CreateReservationCommand.d.ts +3 -3
- package/dist-types/commands/CreateScheduledActionCommand.d.ts +3 -3
- package/dist-types/commands/CreateSnapshotCommand.d.ts +3 -3
- package/dist-types/commands/CreateSnapshotCopyConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/CreateUsageLimitCommand.d.ts +3 -3
- package/dist-types/commands/CreateWorkgroupCommand.d.ts +3 -3
- package/dist-types/commands/DeleteCustomDomainAssociationCommand.d.ts +3 -3
- package/dist-types/commands/DeleteEndpointAccessCommand.d.ts +3 -3
- package/dist-types/commands/DeleteNamespaceCommand.d.ts +3 -3
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +3 -3
- package/dist-types/commands/DeleteScheduledActionCommand.d.ts +3 -3
- package/dist-types/commands/DeleteSnapshotCommand.d.ts +3 -3
- package/dist-types/commands/DeleteSnapshotCopyConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/DeleteUsageLimitCommand.d.ts +3 -3
- package/dist-types/commands/DeleteWorkgroupCommand.d.ts +3 -3
- package/dist-types/commands/GetCredentialsCommand.d.ts +3 -3
- package/dist-types/commands/GetCustomDomainAssociationCommand.d.ts +3 -3
- package/dist-types/commands/GetEndpointAccessCommand.d.ts +3 -3
- package/dist-types/commands/GetIdentityCenterAuthTokenCommand.d.ts +98 -0
- package/dist-types/commands/GetNamespaceCommand.d.ts +3 -3
- package/dist-types/commands/GetRecoveryPointCommand.d.ts +3 -3
- package/dist-types/commands/GetReservationCommand.d.ts +3 -3
- package/dist-types/commands/GetReservationOfferingCommand.d.ts +3 -3
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +3 -3
- package/dist-types/commands/GetScheduledActionCommand.d.ts +3 -3
- package/dist-types/commands/GetSnapshotCommand.d.ts +3 -3
- package/dist-types/commands/GetTableRestoreStatusCommand.d.ts +3 -3
- package/dist-types/commands/GetTrackCommand.d.ts +6 -3
- package/dist-types/commands/GetUsageLimitCommand.d.ts +3 -3
- package/dist-types/commands/GetWorkgroupCommand.d.ts +3 -3
- package/dist-types/commands/ListCustomDomainAssociationsCommand.d.ts +3 -3
- package/dist-types/commands/ListEndpointAccessCommand.d.ts +3 -3
- package/dist-types/commands/ListManagedWorkgroupsCommand.d.ts +3 -3
- package/dist-types/commands/ListNamespacesCommand.d.ts +3 -3
- package/dist-types/commands/ListRecoveryPointsCommand.d.ts +3 -3
- package/dist-types/commands/ListReservationOfferingsCommand.d.ts +3 -3
- package/dist-types/commands/ListReservationsCommand.d.ts +3 -3
- package/dist-types/commands/ListScheduledActionsCommand.d.ts +3 -3
- package/dist-types/commands/ListSnapshotCopyConfigurationsCommand.d.ts +3 -3
- package/dist-types/commands/ListSnapshotsCommand.d.ts +3 -3
- package/dist-types/commands/ListTableRestoreStatusCommand.d.ts +3 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/dist-types/commands/ListTracksCommand.d.ts +3 -3
- package/dist-types/commands/ListUsageLimitsCommand.d.ts +3 -3
- package/dist-types/commands/ListWorkgroupsCommand.d.ts +3 -3
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +3 -3
- package/dist-types/commands/RestoreFromRecoveryPointCommand.d.ts +3 -3
- package/dist-types/commands/RestoreFromSnapshotCommand.d.ts +3 -3
- package/dist-types/commands/RestoreTableFromRecoveryPointCommand.d.ts +3 -3
- package/dist-types/commands/RestoreTableFromSnapshotCommand.d.ts +3 -3
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UpdateCustomDomainAssociationCommand.d.ts +3 -3
- package/dist-types/commands/UpdateEndpointAccessCommand.d.ts +3 -3
- package/dist-types/commands/UpdateLakehouseConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/UpdateNamespaceCommand.d.ts +3 -3
- package/dist-types/commands/UpdateScheduledActionCommand.d.ts +3 -3
- package/dist-types/commands/UpdateSnapshotCommand.d.ts +3 -3
- package/dist-types/commands/UpdateSnapshotCopyConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/UpdateUsageLimitCommand.d.ts +3 -3
- package/dist-types/commands/UpdateWorkgroupCommand.d.ts +3 -3
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
- package/dist-types/endpoint/endpointResolver.d.ts +5 -2
- package/dist-types/extensionConfiguration.d.ts +4 -4
- package/dist-types/models/RedshiftServerlessServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +25 -0
- package/dist-types/pagination/Interfaces.d.ts +1 -1
- package/dist-types/pagination/ListCustomDomainAssociationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEndpointAccessPaginator.d.ts +1 -1
- package/dist-types/pagination/ListManagedWorkgroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListNamespacesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRecoveryPointsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListReservationOfferingsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListReservationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListScheduledActionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSnapshotCopyConfigurationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSnapshotsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTableRestoreStatusPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTracksPaginator.d.ts +1 -1
- package/dist-types/pagination/ListUsageLimitsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListWorkgroupsPaginator.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +5 -2
- package/dist-types/ts3.4/RedshiftServerless.d.ts +17 -0
- package/dist-types/ts3.4/RedshiftServerlessClient.d.ts +9 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetIdentityCenterAuthTokenCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/RedshiftServerlessServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +7 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -1
- 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);
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -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);
|