@aws-sdk/client-redshift-serverless 3.1086.0 → 3.1088.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 (85) hide show
  1. package/dist-cjs/index.js +1 -1
  2. package/dist-types/ts3.4/RedshiftServerless.d.ts +213 -228
  3. package/dist-types/ts3.4/RedshiftServerlessClient.d.ts +9 -31
  4. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
  5. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
  6. package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
  7. package/dist-types/ts3.4/commands/ConvertRecoveryPointToSnapshotCommand.d.ts +4 -6
  8. package/dist-types/ts3.4/commands/CreateCustomDomainAssociationCommand.d.ts +4 -6
  9. package/dist-types/ts3.4/commands/CreateEndpointAccessCommand.d.ts +5 -10
  10. package/dist-types/ts3.4/commands/CreateNamespaceCommand.d.ts +4 -9
  11. package/dist-types/ts3.4/commands/CreateReservationCommand.d.ts +5 -10
  12. package/dist-types/ts3.4/commands/CreateScheduledActionCommand.d.ts +5 -10
  13. package/dist-types/ts3.4/commands/CreateSnapshotCommand.d.ts +4 -9
  14. package/dist-types/ts3.4/commands/CreateSnapshotCopyConfigurationCommand.d.ts +4 -6
  15. package/dist-types/ts3.4/commands/CreateUsageLimitCommand.d.ts +4 -9
  16. package/dist-types/ts3.4/commands/CreateWorkgroupCommand.d.ts +4 -9
  17. package/dist-types/ts3.4/commands/DeleteCustomDomainAssociationCommand.d.ts +4 -6
  18. package/dist-types/ts3.4/commands/DeleteEndpointAccessCommand.d.ts +5 -10
  19. package/dist-types/ts3.4/commands/DeleteNamespaceCommand.d.ts +4 -9
  20. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +5 -10
  21. package/dist-types/ts3.4/commands/DeleteScheduledActionCommand.d.ts +5 -10
  22. package/dist-types/ts3.4/commands/DeleteSnapshotCommand.d.ts +4 -9
  23. package/dist-types/ts3.4/commands/DeleteSnapshotCopyConfigurationCommand.d.ts +4 -6
  24. package/dist-types/ts3.4/commands/DeleteUsageLimitCommand.d.ts +4 -9
  25. package/dist-types/ts3.4/commands/DeleteWorkgroupCommand.d.ts +4 -9
  26. package/dist-types/ts3.4/commands/GetCredentialsCommand.d.ts +3 -8
  27. package/dist-types/ts3.4/commands/GetCustomDomainAssociationCommand.d.ts +4 -6
  28. package/dist-types/ts3.4/commands/GetEndpointAccessCommand.d.ts +5 -10
  29. package/dist-types/ts3.4/commands/GetIdentityCenterAuthTokenCommand.d.ts +4 -6
  30. package/dist-types/ts3.4/commands/GetNamespaceCommand.d.ts +3 -5
  31. package/dist-types/ts3.4/commands/GetRecoveryPointCommand.d.ts +4 -9
  32. package/dist-types/ts3.4/commands/GetReservationCommand.d.ts +4 -9
  33. package/dist-types/ts3.4/commands/GetReservationOfferingCommand.d.ts +5 -10
  34. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +5 -10
  35. package/dist-types/ts3.4/commands/GetScheduledActionCommand.d.ts +5 -10
  36. package/dist-types/ts3.4/commands/GetSnapshotCommand.d.ts +2 -4
  37. package/dist-types/ts3.4/commands/GetTableRestoreStatusCommand.d.ts +5 -10
  38. package/dist-types/ts3.4/commands/GetTrackCommand.d.ts +7 -5
  39. package/dist-types/ts3.4/commands/GetUsageLimitCommand.d.ts +4 -9
  40. package/dist-types/ts3.4/commands/GetWorkgroupCommand.d.ts +3 -5
  41. package/dist-types/ts3.4/commands/ListCustomDomainAssociationsCommand.d.ts +3 -5
  42. package/dist-types/ts3.4/commands/ListEndpointAccessCommand.d.ts +4 -9
  43. package/dist-types/ts3.4/commands/ListManagedWorkgroupsCommand.d.ts +4 -9
  44. package/dist-types/ts3.4/commands/ListNamespacesCommand.d.ts +3 -8
  45. package/dist-types/ts3.4/commands/ListRecoveryPointsCommand.d.ts +4 -9
  46. package/dist-types/ts3.4/commands/ListReservationOfferingsCommand.d.ts +3 -5
  47. package/dist-types/ts3.4/commands/ListReservationsCommand.d.ts +3 -8
  48. package/dist-types/ts3.4/commands/ListScheduledActionsCommand.d.ts +4 -9
  49. package/dist-types/ts3.4/commands/ListSnapshotCopyConfigurationsCommand.d.ts +3 -5
  50. package/dist-types/ts3.4/commands/ListSnapshotsCommand.d.ts +3 -8
  51. package/dist-types/ts3.4/commands/ListTableRestoreStatusCommand.d.ts +4 -9
  52. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +5 -10
  53. package/dist-types/ts3.4/commands/ListTracksCommand.d.ts +2 -4
  54. package/dist-types/ts3.4/commands/ListUsageLimitsCommand.d.ts +3 -8
  55. package/dist-types/ts3.4/commands/ListWorkgroupsCommand.d.ts +3 -8
  56. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +5 -10
  57. package/dist-types/ts3.4/commands/RestoreFromRecoveryPointCommand.d.ts +4 -6
  58. package/dist-types/ts3.4/commands/RestoreFromSnapshotCommand.d.ts +5 -10
  59. package/dist-types/ts3.4/commands/RestoreTableFromRecoveryPointCommand.d.ts +4 -6
  60. package/dist-types/ts3.4/commands/RestoreTableFromSnapshotCommand.d.ts +4 -6
  61. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -5
  62. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +4 -9
  63. package/dist-types/ts3.4/commands/UpdateCustomDomainAssociationCommand.d.ts +4 -6
  64. package/dist-types/ts3.4/commands/UpdateEndpointAccessCommand.d.ts +5 -10
  65. package/dist-types/ts3.4/commands/UpdateLakehouseConfigurationCommand.d.ts +4 -6
  66. package/dist-types/ts3.4/commands/UpdateNamespaceCommand.d.ts +4 -9
  67. package/dist-types/ts3.4/commands/UpdateScheduledActionCommand.d.ts +5 -10
  68. package/dist-types/ts3.4/commands/UpdateSnapshotCommand.d.ts +4 -9
  69. package/dist-types/ts3.4/commands/UpdateSnapshotCopyConfigurationCommand.d.ts +4 -6
  70. package/dist-types/ts3.4/commands/UpdateUsageLimitCommand.d.ts +4 -9
  71. package/dist-types/ts3.4/commands/UpdateWorkgroupCommand.d.ts +4 -9
  72. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  73. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  74. package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
  75. package/dist-types/ts3.4/models/enums.d.ts +5 -10
  76. package/dist-types/ts3.4/models/errors.d.ts +10 -30
  77. package/dist-types/ts3.4/models/models_0.d.ts +2 -7
  78. package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
  79. package/dist-types/ts3.4/pagination/ListTracksPaginator.d.ts +1 -4
  80. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +10 -25
  81. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -19
  82. package/dist-types/ts3.4/runtimeConfig.native.d.ts +10 -25
  83. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -4
  84. package/dist-types/ts3.4/runtimeExtensions.d.ts +2 -4
  85. package/package.json +39 -39
@@ -1,16 +1,11 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import {
3
- UpdateUsageLimitRequest,
4
- UpdateUsageLimitResponse,
5
- } from "../models/models_0";
2
+ import { UpdateUsageLimitRequest, UpdateUsageLimitResponse } from "../models/models_0";
6
3
  export { __MetadataBearer };
7
4
  export interface UpdateUsageLimitCommandInput extends UpdateUsageLimitRequest {}
8
- export interface UpdateUsageLimitCommandOutput
9
- extends UpdateUsageLimitResponse,
10
- __MetadataBearer {}
5
+ export interface UpdateUsageLimitCommandOutput extends UpdateUsageLimitResponse, __MetadataBearer {}
11
6
  declare const UpdateUsageLimitCommand_base: {
12
7
  new (
13
- input: UpdateUsageLimitCommandInput
8
+ input: UpdateUsageLimitCommandInput,
14
9
  ): import("@smithy/core/client").CommandImpl<
15
10
  UpdateUsageLimitCommandInput,
16
11
  UpdateUsageLimitCommandOutput,
@@ -19,7 +14,7 @@ declare const UpdateUsageLimitCommand_base: {
19
14
  import("..").ServiceOutputTypes
20
15
  >;
21
16
  new (
22
- input: UpdateUsageLimitCommandInput
17
+ input: UpdateUsageLimitCommandInput,
23
18
  ): import("@smithy/core/client").CommandImpl<
24
19
  UpdateUsageLimitCommandInput,
25
20
  UpdateUsageLimitCommandOutput,
@@ -1,16 +1,11 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import {
3
- UpdateWorkgroupRequest,
4
- UpdateWorkgroupResponse,
5
- } from "../models/models_0";
2
+ import { UpdateWorkgroupRequest, UpdateWorkgroupResponse } from "../models/models_0";
6
3
  export { __MetadataBearer };
7
4
  export interface UpdateWorkgroupCommandInput extends UpdateWorkgroupRequest {}
8
- export interface UpdateWorkgroupCommandOutput
9
- extends UpdateWorkgroupResponse,
10
- __MetadataBearer {}
5
+ export interface UpdateWorkgroupCommandOutput extends UpdateWorkgroupResponse, __MetadataBearer {}
11
6
  declare const UpdateWorkgroupCommand_base: {
12
7
  new (
13
- input: UpdateWorkgroupCommandInput
8
+ input: UpdateWorkgroupCommandInput,
14
9
  ): import("@smithy/core/client").CommandImpl<
15
10
  UpdateWorkgroupCommandInput,
16
11
  UpdateWorkgroupCommandOutput,
@@ -19,7 +14,7 @@ declare const UpdateWorkgroupCommand_base: {
19
14
  import("..").ServiceOutputTypes
20
15
  >;
21
16
  new (
22
- input: UpdateWorkgroupCommandInput
17
+ input: UpdateWorkgroupCommandInput,
23
18
  ): import("@smithy/core/client").CommandImpl<
24
19
  UpdateWorkgroupCommandInput,
25
20
  UpdateWorkgroupCommandOutput,
@@ -23,7 +23,7 @@ export type ClientResolvedEndpointParameters = Pick<
23
23
  defaultSigningName: string;
24
24
  };
25
25
  export declare const resolveClientEndpointParameters: <T>(
26
- options: T & ClientInputEndpointParameters
26
+ options: T & ClientInputEndpointParameters,
27
27
  ) => T & ClientResolvedEndpointParameters;
28
28
  export declare const commonParams: {
29
29
  readonly UseFIPS: {
@@ -4,5 +4,5 @@ export declare const defaultEndpointResolver: (
4
4
  endpointParams: EndpointParameters,
5
5
  context?: {
6
6
  logger?: Logger;
7
- }
7
+ },
8
8
  ) => EndpointV2;
@@ -3,7 +3,8 @@ import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
3
3
  import { DefaultExtensionConfiguration } from "@smithy/types";
4
4
  import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
5
  export interface RedshiftServerlessExtensionConfiguration
6
- extends HttpHandlerExtensionConfiguration,
6
+ extends
7
+ HttpHandlerExtensionConfiguration,
7
8
  DefaultExtensionConfiguration,
8
9
  AwsRegionExtensionConfiguration,
9
10
  HttpAuthExtensionConfiguration {}
@@ -6,8 +6,7 @@ export declare const SnapshotStatus: {
6
6
  readonly DELETED: "DELETED";
7
7
  readonly FAILED: "FAILED";
8
8
  };
9
- export type SnapshotStatus =
10
- (typeof SnapshotStatus)[keyof typeof SnapshotStatus];
9
+ export type SnapshotStatus = (typeof SnapshotStatus)[keyof typeof SnapshotStatus];
11
10
  export declare const LogExport: {
12
11
  readonly CONNECTION_LOG: "connectionlog";
13
12
  readonly USER_ACTIVITY_LOG: "useractivitylog";
@@ -19,8 +18,7 @@ export declare const NamespaceStatus: {
19
18
  readonly DELETING: "DELETING";
20
19
  readonly MODIFYING: "MODIFYING";
21
20
  };
22
- export type NamespaceStatus =
23
- (typeof NamespaceStatus)[keyof typeof NamespaceStatus];
21
+ export type NamespaceStatus = (typeof NamespaceStatus)[keyof typeof NamespaceStatus];
24
22
  export declare const OfferingType: {
25
23
  readonly ALL_UPFRONT: "ALL_UPFRONT";
26
24
  readonly NO_UPFRONT: "NO_UPFRONT";
@@ -43,14 +41,12 @@ export declare const UsageLimitPeriod: {
43
41
  readonly MONTHLY: "monthly";
44
42
  readonly WEEKLY: "weekly";
45
43
  };
46
- export type UsageLimitPeriod =
47
- (typeof UsageLimitPeriod)[keyof typeof UsageLimitPeriod];
44
+ export type UsageLimitPeriod = (typeof UsageLimitPeriod)[keyof typeof UsageLimitPeriod];
48
45
  export declare const UsageLimitUsageType: {
49
46
  readonly CROSS_REGION_DATASHARING: "cross-region-datasharing";
50
47
  readonly SERVERLESS_COMPUTE: "serverless-compute";
51
48
  };
52
- export type UsageLimitUsageType =
53
- (typeof UsageLimitUsageType)[keyof typeof UsageLimitUsageType];
49
+ export type UsageLimitUsageType = (typeof UsageLimitUsageType)[keyof typeof UsageLimitUsageType];
54
50
  export declare const PerformanceTargetStatus: {
55
51
  readonly DISABLED: "DISABLED";
56
52
  readonly ENABLED: "ENABLED";
@@ -63,8 +59,7 @@ export declare const WorkgroupStatus: {
63
59
  readonly DELETING: "DELETING";
64
60
  readonly MODIFYING: "MODIFYING";
65
61
  };
66
- export type WorkgroupStatus =
67
- (typeof WorkgroupStatus)[keyof typeof WorkgroupStatus];
62
+ export type WorkgroupStatus = (typeof WorkgroupStatus)[keyof typeof WorkgroupStatus];
68
63
  export declare const LakehouseIdcRegistration: {
69
64
  readonly ASSOCIATE: "Associate";
70
65
  readonly DISASSOCIATE: "Disassociate";
@@ -4,9 +4,7 @@ export declare class AccessDeniedException extends __BaseException {
4
4
  readonly name: "AccessDeniedException";
5
5
  readonly $fault: "client";
6
6
  code?: string | undefined;
7
- constructor(
8
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
- );
7
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
10
8
  }
11
9
  export declare class ConflictException extends __BaseException {
12
10
  readonly name: "ConflictException";
@@ -17,63 +15,47 @@ export declare class InternalServerException extends __BaseException {
17
15
  readonly name: "InternalServerException";
18
16
  readonly $fault: "server";
19
17
  $retryable: {};
20
- constructor(
21
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
22
- );
18
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
23
19
  }
24
20
  export declare class ResourceNotFoundException extends __BaseException {
25
21
  readonly name: "ResourceNotFoundException";
26
22
  readonly $fault: "client";
27
23
  resourceName?: string | undefined;
28
- constructor(
29
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
30
- );
24
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
31
25
  }
32
26
  export declare class ServiceQuotaExceededException extends __BaseException {
33
27
  readonly name: "ServiceQuotaExceededException";
34
28
  readonly $fault: "client";
35
- constructor(
36
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
37
- );
29
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
38
30
  }
39
31
  export declare class TooManyTagsException extends __BaseException {
40
32
  readonly name: "TooManyTagsException";
41
33
  readonly $fault: "client";
42
34
  resourceName?: string | undefined;
43
- constructor(
44
- opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
45
- );
35
+ constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
46
36
  }
47
37
  export declare class ValidationException extends __BaseException {
48
38
  readonly name: "ValidationException";
49
39
  readonly $fault: "client";
50
- constructor(
51
- opts: __ExceptionOptionType<ValidationException, __BaseException>
52
- );
40
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
53
41
  }
54
42
  export declare class ThrottlingException extends __BaseException {
55
43
  readonly name: "ThrottlingException";
56
44
  readonly $fault: "client";
57
45
  $retryable: {};
58
46
  code?: string | undefined;
59
- constructor(
60
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
61
- );
47
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
62
48
  }
63
49
  export declare class InsufficientCapacityException extends __BaseException {
64
50
  readonly name: "InsufficientCapacityException";
65
51
  readonly $fault: "client";
66
52
  $retryable: {};
67
- constructor(
68
- opts: __ExceptionOptionType<InsufficientCapacityException, __BaseException>
69
- );
53
+ constructor(opts: __ExceptionOptionType<InsufficientCapacityException, __BaseException>);
70
54
  }
71
55
  export declare class Ipv6CidrBlockNotFoundException extends __BaseException {
72
56
  readonly name: "Ipv6CidrBlockNotFoundException";
73
57
  readonly $fault: "client";
74
- constructor(
75
- opts: __ExceptionOptionType<Ipv6CidrBlockNotFoundException, __BaseException>
76
- );
58
+ constructor(opts: __ExceptionOptionType<Ipv6CidrBlockNotFoundException, __BaseException>);
77
59
  }
78
60
  export declare class DryRunException extends __BaseException {
79
61
  readonly name: "DryRunException";
@@ -83,7 +65,5 @@ export declare class DryRunException extends __BaseException {
83
65
  export declare class InvalidPaginationException extends __BaseException {
84
66
  readonly name: "InvalidPaginationException";
85
67
  readonly $fault: "client";
86
- constructor(
87
- opts: __ExceptionOptionType<InvalidPaginationException, __BaseException>
88
- );
68
+ constructor(opts: __ExceptionOptionType<InvalidPaginationException, __BaseException>);
89
69
  }
@@ -168,10 +168,7 @@ export interface Reservation {
168
168
  export interface CreateReservationResponse {
169
169
  reservation?: Reservation | undefined;
170
170
  }
171
- export type Schedule =
172
- | Schedule.AtMember
173
- | Schedule.CronMember
174
- | Schedule.$UnknownMember;
171
+ export type Schedule = Schedule.AtMember | Schedule.CronMember | Schedule.$UnknownMember;
175
172
  export declare namespace Schedule {
176
173
  interface AtMember {
177
174
  at: Date;
@@ -200,9 +197,7 @@ export interface CreateSnapshotScheduleActionParameters {
200
197
  retentionPeriod?: number | undefined;
201
198
  tags?: Tag[] | undefined;
202
199
  }
203
- export type TargetAction =
204
- | TargetAction.CreateSnapshotMember
205
- | TargetAction.$UnknownMember;
200
+ export type TargetAction = TargetAction.CreateSnapshotMember | TargetAction.$UnknownMember;
206
201
  export declare namespace TargetAction {
207
202
  interface CreateSnapshotMember {
208
203
  createSnapshot: CreateSnapshotScheduleActionParameters;
@@ -1,6 +1,5 @@
1
1
  import { PaginationConfiguration } from "@smithy/types";
2
2
  import { RedshiftServerlessClient } from "../RedshiftServerlessClient";
3
- export interface RedshiftServerlessPaginationConfiguration
4
- extends PaginationConfiguration {
3
+ export interface RedshiftServerlessPaginationConfiguration extends PaginationConfiguration {
5
4
  client: RedshiftServerlessClient;
6
5
  }
@@ -1,8 +1,5 @@
1
1
  import { Paginator } from "@smithy/types";
2
- import {
3
- ListTracksCommandInput,
4
- ListTracksCommandOutput,
5
- } from "../commands/ListTracksCommand";
2
+ import { ListTracksCommandInput, ListTracksCommandOutput } from "../commands/ListTracksCommand";
6
3
  import { RedshiftServerlessPaginationConfiguration } from "./Interfaces";
7
4
  export declare const paginateListTracks: (
8
5
  config: RedshiftServerlessPaginationConfiguration,
@@ -1,8 +1,6 @@
1
1
  import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
2
  import { RedshiftServerlessClientConfig } from "./RedshiftServerlessClient";
3
- export declare const getRuntimeConfig: (
4
- config: RedshiftServerlessClientConfig
5
- ) => {
3
+ export declare const getRuntimeConfig: (config: RedshiftServerlessClientConfig) => {
6
4
  runtime: string;
7
5
  defaultsMode: import("@smithy/types").Provider<
8
6
  import("@smithy/core/client").ResolvedDefaultsMode
@@ -10,24 +8,16 @@ export declare const getRuntimeConfig: (
10
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
9
  credentialDefaultProvider:
12
10
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
- | ((
14
- _: unknown
15
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
16
12
  defaultUserAgentProvider: (
17
- config?: import("@aws-sdk/core/client").PreviouslyResolved
13
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
18
14
  ) => Promise<import("@smithy/types").UserAgent>;
19
15
  maxAttempts: number | import("@smithy/types").Provider<number>;
20
16
  region: string | import("@smithy/types").Provider<any>;
21
- requestHandler:
22
- | import("@smithy/core/protocols").HttpHandler<any>
23
- | RequestHandler;
17
+ requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
24
18
  retryMode: string | import("@smithy/types").Provider<string>;
25
19
  streamCollector: (
26
- stream:
27
- | import("stream").Readable
28
- | import("stream/web").ReadableStream
29
- | ReadableStream
30
- | Blob
20
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
31
21
  ) => Promise<Uint8Array>;
32
22
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
33
23
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
@@ -55,13 +45,8 @@ export declare const getRuntimeConfig: (
55
45
  logger: import("@smithy/types").Logger;
56
46
  extensions: import("./runtimeExtensions").RuntimeExtension[];
57
47
  customUserAgent?: string | import("@smithy/types").UserAgent;
58
- userAgentAppId?:
59
- | string
60
- | undefined
61
- | import("@smithy/types").Provider<string | undefined>;
62
- retryStrategy?:
63
- | import("@smithy/types").RetryStrategy
64
- | import("@smithy/types").RetryStrategyV2;
48
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
49
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
65
50
  endpoint?:
66
51
  | ((
67
52
  | string
@@ -83,7 +68,7 @@ export declare const getRuntimeConfig: (
83
68
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
84
69
  context?: {
85
70
  logger?: import("@smithy/types").Logger;
86
- }
71
+ },
87
72
  ) => import("@smithy/types").EndpointV2;
88
73
  tls?: boolean;
89
74
  serviceConfiguredEndpoint?: never;
@@ -96,13 +81,13 @@ export declare const getRuntimeConfig: (
96
81
  signer?:
97
82
  | import("@smithy/types").RequestSigner
98
83
  | ((
99
- authScheme?: import("@smithy/types").AuthScheme
84
+ authScheme?: import("@smithy/types").AuthScheme,
100
85
  ) => Promise<import("@smithy/types").RequestSigner>);
101
86
  signingEscapePath?: boolean;
102
87
  systemClockOffset?: number;
103
88
  signingRegion?: string;
104
89
  signerConstructor?: new (
105
90
  options: import("@smithy/signature-v4").SignatureV4Init &
106
- import("@smithy/signature-v4").SignatureV4CryptoInit
91
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
107
92
  ) => import("@smithy/types").RequestSigner;
108
93
  };
@@ -1,8 +1,6 @@
1
1
  import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
2
  import { RedshiftServerlessClientConfig } from "./RedshiftServerlessClient";
3
- export declare const getRuntimeConfig: (
4
- config: RedshiftServerlessClientConfig
5
- ) => {
3
+ export declare const getRuntimeConfig: (config: RedshiftServerlessClientConfig) => {
6
4
  runtime: string;
7
5
  defaultsMode: import("@smithy/types").Provider<
8
6
  import("@smithy/core/client").ResolvedDefaultsMode
@@ -12,23 +10,17 @@ export declare const getRuntimeConfig: (
12
10
  credentialDefaultProvider:
13
11
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
14
12
  | ((
15
- init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
13
+ init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
16
14
  ) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
17
15
  defaultUserAgentProvider: (
18
- config?: import("@aws-sdk/core/client").PreviouslyResolved
16
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
19
17
  ) => Promise<import("@smithy/types").UserAgent>;
20
18
  maxAttempts: number | import("@smithy/types").Provider<number>;
21
19
  region: string | import("@smithy/types").Provider<string>;
22
- requestHandler:
23
- | RequestHandler
24
- | import("@smithy/core/protocols").HttpHandler<any>;
20
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
25
21
  retryMode: string | import("@smithy/types").Provider<string>;
26
22
  streamCollector: (
27
- stream:
28
- | import("stream").Readable
29
- | import("stream/web").ReadableStream
30
- | ReadableStream
31
- | Blob
23
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
32
24
  ) => Promise<Uint8Array>;
33
25
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
34
26
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -55,9 +47,7 @@ export declare const getRuntimeConfig: (
55
47
  logger: import("@smithy/types").Logger;
56
48
  extensions: import("./runtimeExtensions").RuntimeExtension[];
57
49
  customUserAgent?: string | import("@smithy/types").UserAgent;
58
- retryStrategy?:
59
- | import("@smithy/types").RetryStrategy
60
- | import("@smithy/types").RetryStrategyV2;
50
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
61
51
  endpoint?:
62
52
  | ((
63
53
  | string
@@ -79,7 +69,7 @@ export declare const getRuntimeConfig: (
79
69
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
80
70
  context?: {
81
71
  logger?: import("@smithy/types").Logger;
82
- }
72
+ },
83
73
  ) => import("@smithy/types").EndpointV2;
84
74
  tls?: boolean;
85
75
  serviceConfiguredEndpoint?: never;
@@ -91,13 +81,13 @@ export declare const getRuntimeConfig: (
91
81
  signer?:
92
82
  | import("@smithy/types").RequestSigner
93
83
  | ((
94
- authScheme?: import("@smithy/types").AuthScheme
84
+ authScheme?: import("@smithy/types").AuthScheme,
95
85
  ) => Promise<import("@smithy/types").RequestSigner>);
96
86
  signingEscapePath?: boolean;
97
87
  systemClockOffset?: number;
98
88
  signingRegion?: string;
99
89
  signerConstructor?: new (
100
90
  options: import("@smithy/signature-v4").SignatureV4Init &
101
- import("@smithy/signature-v4").SignatureV4CryptoInit
91
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
102
92
  ) => import("@smithy/types").RequestSigner;
103
93
  };
@@ -1,7 +1,5 @@
1
1
  import { RedshiftServerlessClientConfig } from "./RedshiftServerlessClient";
2
- export declare const getRuntimeConfig: (
3
- config: RedshiftServerlessClientConfig
4
- ) => {
2
+ export declare const getRuntimeConfig: (config: RedshiftServerlessClientConfig) => {
5
3
  runtime: string;
6
4
  requestHandler:
7
5
  | import("@smithy/types").NodeHttpHandlerOptions
@@ -23,11 +21,7 @@ export declare const getRuntimeConfig: (
23
21
  urlParser: import("@smithy/types").UrlParser;
24
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
25
23
  streamCollector: (
26
- stream:
27
- | import("stream").Readable
28
- | import("stream/web").ReadableStream
29
- | ReadableStream
30
- | Blob
24
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
31
25
  ) => Promise<Uint8Array>;
32
26
  base64Decoder: import("@smithy/types").Decoder;
33
27
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -42,30 +36,21 @@ export declare const getRuntimeConfig: (
42
36
  region: string | import("@smithy/types").Provider<any>;
43
37
  profile?: string;
44
38
  defaultUserAgentProvider: (
45
- config?: import("@aws-sdk/core/client").PreviouslyResolved
39
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
46
40
  ) => Promise<import("@smithy/types").UserAgent>;
47
41
  credentialDefaultProvider:
48
42
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
49
- | ((
50
- _: unknown
51
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
43
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
52
44
  maxAttempts: number | import("@smithy/types").Provider<number>;
53
45
  retryMode: string | import("@smithy/types").Provider<string>;
54
46
  logger: import("@smithy/types").Logger;
55
47
  extensions: import("./runtimeExtensions").RuntimeExtension[];
56
48
  defaultsMode:
57
49
  | import("@smithy/core/client").DefaultsMode
58
- | import("@smithy/types").Provider<
59
- import("@smithy/core/client").DefaultsMode
60
- >;
50
+ | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
61
51
  customUserAgent?: string | import("@smithy/types").UserAgent;
62
- userAgentAppId?:
63
- | string
64
- | undefined
65
- | import("@smithy/types").Provider<string | undefined>;
66
- retryStrategy?:
67
- | import("@smithy/types").RetryStrategy
68
- | import("@smithy/types").RetryStrategyV2;
52
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
53
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
69
54
  endpoint?:
70
55
  | ((
71
56
  | string
@@ -87,7 +72,7 @@ export declare const getRuntimeConfig: (
87
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
88
73
  context?: {
89
74
  logger?: import("@smithy/types").Logger;
90
- }
75
+ },
91
76
  ) => import("@smithy/types").EndpointV2;
92
77
  tls?: boolean;
93
78
  serviceConfiguredEndpoint?: never;
@@ -100,13 +85,13 @@ export declare const getRuntimeConfig: (
100
85
  signer?:
101
86
  | import("@smithy/types").RequestSigner
102
87
  | ((
103
- authScheme?: import("@smithy/types").AuthScheme
88
+ authScheme?: import("@smithy/types").AuthScheme,
104
89
  ) => Promise<import("@smithy/types").RequestSigner>);
105
90
  signingEscapePath?: boolean;
106
91
  systemClockOffset?: number;
107
92
  signingRegion?: string;
108
93
  signerConstructor?: new (
109
94
  options: import("@smithy/signature-v4").SignatureV4Init &
110
- import("@smithy/signature-v4").SignatureV4CryptoInit
95
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
111
96
  ) => import("@smithy/types").RequestSigner;
112
97
  };
@@ -1,8 +1,6 @@
1
1
  import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
2
2
  import { RedshiftServerlessClientConfig } from "./RedshiftServerlessClient";
3
- export declare const getRuntimeConfig: (
4
- config: RedshiftServerlessClientConfig
5
- ) => {
3
+ export declare const getRuntimeConfig: (config: RedshiftServerlessClientConfig) => {
6
4
  apiVersion: string;
7
5
  base64Decoder: import("@smithy/types").Decoder;
8
6
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -11,7 +9,7 @@ export declare const getRuntimeConfig: (
11
9
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
12
10
  context?: {
13
11
  logger?: import("@smithy/types").Logger;
14
- }
12
+ },
15
13
  ) => import("@smithy/types").EndpointV2;
16
14
  extensions: import("./runtimeExtensions").RuntimeExtension[];
17
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").RedshiftServerlessHttpAuthSchemeProvider;
@@ -1,13 +1,11 @@
1
1
  import { RedshiftServerlessExtensionConfiguration } from "./extensionConfiguration";
2
2
  export interface RuntimeExtension {
3
- configure(
4
- extensionConfiguration: RedshiftServerlessExtensionConfiguration
5
- ): void;
3
+ configure(extensionConfiguration: RedshiftServerlessExtensionConfiguration): void;
6
4
  }
7
5
  export interface RuntimeExtensionsConfig {
8
6
  extensions: RuntimeExtension[];
9
7
  }
10
8
  export declare const resolveRuntimeExtensions: (
11
9
  runtimeConfig: any,
12
- extensions: RuntimeExtension[]
10
+ extensions: RuntimeExtension[],
13
11
  ) => any;
package/package.json CHANGED
@@ -1,7 +1,38 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-redshift-serverless",
3
+ "version": "3.1088.0",
3
4
  "description": "AWS SDK for JavaScript Redshift Serverless Client for Node.js, Browser and React Native",
4
- "version": "3.1086.0",
5
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-redshift-serverless",
6
+ "license": "Apache-2.0",
7
+ "author": {
8
+ "name": "AWS SDK for JavaScript Team",
9
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
14
+ "directory": "clients/client-redshift-serverless"
15
+ },
16
+ "files": [
17
+ "dist-*/**"
18
+ ],
19
+ "sideEffects": false,
20
+ "main": "./dist-cjs/index.js",
21
+ "module": "./dist-es/index.js",
22
+ "browser": {
23
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
24
+ },
25
+ "types": "./dist-types/index.d.ts",
26
+ "typesVersions": {
27
+ "<4.5": {
28
+ "dist-types/*": [
29
+ "dist-types/ts3.4/*"
30
+ ]
31
+ }
32
+ },
33
+ "react-native": {
34
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
35
+ },
5
36
  "scripts": {
6
37
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
38
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -14,18 +45,14 @@
14
45
  "generate:client": "node ../../scripts/generate-clients/single-service",
15
46
  "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
16
47
  },
17
- "main": "./dist-cjs/index.js",
18
- "types": "./dist-types/index.d.ts",
19
- "module": "./dist-es/index.js",
20
- "sideEffects": false,
21
48
  "dependencies": {
22
- "@aws-sdk/core": "^3.975.1",
23
- "@aws-sdk/credential-provider-node": "^3.972.67",
24
- "@aws-sdk/types": "^3.974.0",
25
- "@smithy/core": "^3.29.2",
26
- "@smithy/fetch-http-handler": "^5.6.4",
27
- "@smithy/node-http-handler": "^4.9.4",
28
- "@smithy/types": "^4.16.0",
49
+ "@aws-sdk/core": "^3.975.3",
50
+ "@aws-sdk/credential-provider-node": "^3.972.69",
51
+ "@aws-sdk/types": "^3.974.2",
52
+ "@smithy/core": "^3.29.4",
53
+ "@smithy/fetch-http-handler": "^5.6.6",
54
+ "@smithy/node-http-handler": "^4.9.6",
55
+ "@smithy/types": "^4.16.1",
29
56
  "tslib": "^2.6.2"
30
57
  },
31
58
  "devDependencies": {
@@ -38,32 +65,5 @@
38
65
  },
39
66
  "engines": {
40
67
  "node": ">=20.0.0"
41
- },
42
- "typesVersions": {
43
- "<4.5": {
44
- "dist-types/*": [
45
- "dist-types/ts3.4/*"
46
- ]
47
- }
48
- },
49
- "files": [
50
- "dist-*/**"
51
- ],
52
- "author": {
53
- "name": "AWS SDK for JavaScript Team",
54
- "url": "https://aws.amazon.com/sdk-for-javascript/"
55
- },
56
- "license": "Apache-2.0",
57
- "browser": {
58
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
59
- },
60
- "react-native": {
61
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
62
- },
63
- "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-redshift-serverless",
64
- "repository": {
65
- "type": "git",
66
- "url": "https://github.com/aws/aws-sdk-js-v3.git",
67
- "directory": "clients/client-redshift-serverless"
68
68
  }
69
69
  }