@aws-sdk/client-rds-data 3.928.0 → 3.929.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.
@@ -5,7 +5,7 @@ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-
5
5
  import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
6
6
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
7
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
- import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
8
+ import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput } from "./commands/BatchExecuteStatementCommand";
11
11
  import { BeginTransactionCommandInput, BeginTransactionCommandOutput } from "./commands/BeginTransactionCommand";
@@ -147,6 +147,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
147
147
  * Optional extensions
148
148
  */
149
149
  extensions?: RuntimeExtension[];
150
+ /**
151
+ * The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
152
+ * may be overridden. A default will always be set by the client.
153
+ * Available options depend on the service's supported protocols and will not be validated by
154
+ * the client.
155
+ * @alpha
156
+ *
157
+ */
158
+ protocol?: ClientProtocol<HttpRequest, HttpResponse>;
150
159
  /**
151
160
  * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
152
161
  */
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (config: RDSDataClientConfig) => {
29
29
  profile?: string;
30
30
  logger: import("@smithy/types").Logger;
31
31
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
32
33
  customUserAgent?: string | import("@smithy/types").UserAgent;
33
34
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
34
35
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
@@ -31,6 +31,7 @@ export declare const getRuntimeConfig: (config: RDSDataClientConfig) => {
31
31
  profile?: string;
32
32
  logger: import("@smithy/types").Logger;
33
33
  extensions: import("./runtimeExtensions").RuntimeExtension[];
34
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
34
35
  customUserAgent?: string | import("@smithy/types").UserAgent;
35
36
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
36
37
  endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: RDSDataClientConfig) => {
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
29
29
  extensions: import("./runtimeExtensions").RuntimeExtension[];
30
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
30
31
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
31
32
  customUserAgent?: string | import("@smithy/types").UserAgent;
32
33
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
@@ -14,6 +14,7 @@ export declare const getRuntimeConfig: (config: RDSDataClientConfig) => {
14
14
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").RDSDataHttpAuthSchemeProvider;
15
15
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
16
  logger: import("@smithy/types").Logger;
17
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
17
18
  serviceId: string;
18
19
  urlParser: import("@smithy/types").UrlParser;
19
20
  utf8Decoder: import("@smithy/types").Decoder;
@@ -0,0 +1,64 @@
1
+ import { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
2
+ export declare var AccessDeniedException: StaticErrorSchema;
3
+ export declare var BadRequestException: StaticErrorSchema;
4
+ export declare var BatchExecuteStatementRequest: StaticStructureSchema;
5
+ export declare var BatchExecuteStatementResponse: StaticStructureSchema;
6
+ export declare var BeginTransactionRequest: StaticStructureSchema;
7
+ export declare var BeginTransactionResponse: StaticStructureSchema;
8
+ export declare var ColumnMetadata: StaticStructureSchema;
9
+ export declare var CommitTransactionRequest: StaticStructureSchema;
10
+ export declare var CommitTransactionResponse: StaticStructureSchema;
11
+ export declare var DatabaseErrorException: StaticErrorSchema;
12
+ export declare var DatabaseNotFoundException: StaticErrorSchema;
13
+ export declare var DatabaseResumingException: StaticErrorSchema;
14
+ export declare var DatabaseUnavailableException: StaticErrorSchema;
15
+ export declare var ExecuteSqlRequest: StaticStructureSchema;
16
+ export declare var ExecuteSqlResponse: StaticStructureSchema;
17
+ export declare var ExecuteStatementRequest: StaticStructureSchema;
18
+ export declare var ExecuteStatementResponse: StaticStructureSchema;
19
+ export declare var ForbiddenException: StaticErrorSchema;
20
+ export declare var HttpEndpointNotEnabledException: StaticErrorSchema;
21
+ export declare var InternalServerErrorException: StaticErrorSchema;
22
+ export declare var InvalidResourceStateException: StaticErrorSchema;
23
+ export declare var InvalidSecretException: StaticErrorSchema;
24
+ export declare var NotFoundException: StaticErrorSchema;
25
+ export declare var _Record: StaticStructureSchema;
26
+ export declare var ResultFrame: StaticStructureSchema;
27
+ export declare var ResultSetMetadata: StaticStructureSchema;
28
+ export declare var ResultSetOptions: StaticStructureSchema;
29
+ export declare var RollbackTransactionRequest: StaticStructureSchema;
30
+ export declare var RollbackTransactionResponse: StaticStructureSchema;
31
+ export declare var SecretsErrorException: StaticErrorSchema;
32
+ export declare var ServiceUnavailableError: StaticErrorSchema;
33
+ export declare var SqlParameter: StaticStructureSchema;
34
+ export declare var SqlStatementResult: StaticStructureSchema;
35
+ export declare var StatementTimeoutException: StaticErrorSchema;
36
+ export declare var StructValue: StaticStructureSchema;
37
+ export declare var TransactionNotFoundException: StaticErrorSchema;
38
+ export declare var UnsupportedResultException: StaticErrorSchema;
39
+ export declare var UpdateResult: StaticStructureSchema;
40
+ export declare var RDSDataServiceException: StaticErrorSchema;
41
+ export declare var ArrayOfArray: StaticListSchema;
42
+ export declare var ArrayValueList: StaticListSchema;
43
+ export declare var BooleanArray: number;
44
+ export declare var DoubleArray: number;
45
+ export declare var FieldList: StaticListSchema;
46
+ export declare var LongArray: number;
47
+ export declare var Metadata: StaticListSchema;
48
+ export declare var Records: StaticListSchema;
49
+ export declare var Row: StaticListSchema;
50
+ export declare var SqlParameterSets: StaticListSchema;
51
+ export declare var SqlParametersList: StaticListSchema;
52
+ export declare var SqlRecords: StaticListSchema;
53
+ export declare var SqlStatementResults: StaticListSchema;
54
+ export declare var StringArray: number;
55
+ export declare var UpdateResults: StaticListSchema;
56
+ export declare var ArrayValue: StaticStructureSchema;
57
+ export declare var Field: StaticStructureSchema;
58
+ export declare var Value: StaticStructureSchema;
59
+ export declare var BatchExecuteStatement: StaticOperationSchema;
60
+ export declare var BeginTransaction: StaticOperationSchema;
61
+ export declare var CommitTransaction: StaticOperationSchema;
62
+ export declare var ExecuteSql: StaticOperationSchema;
63
+ export declare var ExecuteStatement: StaticOperationSchema;
64
+ export declare var RollbackTransaction: StaticOperationSchema;
@@ -30,10 +30,13 @@ import {
30
30
  BodyLengthCalculator as __BodyLengthCalculator,
31
31
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
32
32
  ChecksumConstructor as __ChecksumConstructor,
33
+ ClientProtocol,
33
34
  Decoder as __Decoder,
34
35
  Encoder as __Encoder,
35
36
  HashConstructor as __HashConstructor,
36
37
  HttpHandlerOptions as __HttpHandlerOptions,
38
+ HttpRequest,
39
+ HttpResponse,
37
40
  Logger as __Logger,
38
41
  Provider as __Provider,
39
42
  Provider,
@@ -114,6 +117,7 @@ export interface ClientDefaults
114
117
  retryMode?: string | __Provider<string>;
115
118
  logger?: __Logger;
116
119
  extensions?: RuntimeExtension[];
120
+ protocol?: ClientProtocol<HttpRequest, HttpResponse>;
117
121
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
118
122
  }
119
123
  export type RDSDataClientConfigType = Partial<
@@ -38,6 +38,10 @@ export declare const getRuntimeConfig: (config: RDSDataClientConfig) => {
38
38
  profile?: string;
39
39
  logger: import("@smithy/types").Logger;
40
40
  extensions: import("./runtimeExtensions").RuntimeExtension[];
41
+ protocol: import("@smithy/types").ClientProtocol<
42
+ import("@smithy/types").HttpRequest,
43
+ import("@smithy/types").HttpResponse
44
+ >;
41
45
  customUserAgent?: string | import("@smithy/types").UserAgent;
42
46
  userAgentAppId?:
43
47
  | string
@@ -38,6 +38,10 @@ export declare const getRuntimeConfig: (config: RDSDataClientConfig) => {
38
38
  profile?: string;
39
39
  logger: import("@smithy/types").Logger;
40
40
  extensions: import("./runtimeExtensions").RuntimeExtension[];
41
+ protocol: import("@smithy/types").ClientProtocol<
42
+ import("@smithy/types").HttpRequest,
43
+ import("@smithy/types").HttpResponse
44
+ >;
41
45
  customUserAgent?: string | import("@smithy/types").UserAgent;
42
46
  retryStrategy?:
43
47
  | import("@smithy/types").RetryStrategy
@@ -37,6 +37,10 @@ export declare const getRuntimeConfig: (config: RDSDataClientConfig) => {
37
37
  retryMode: string | import("@smithy/types").Provider<string>;
38
38
  logger: import("@smithy/types").Logger;
39
39
  extensions: import("./runtimeExtensions").RuntimeExtension[];
40
+ protocol: import("@smithy/types").ClientProtocol<
41
+ import("@smithy/types").HttpRequest,
42
+ import("@smithy/types").HttpResponse
43
+ >;
40
44
  defaultsMode:
41
45
  | import("@smithy/smithy-client").DefaultsMode
42
46
  | import("@smithy/types").Provider<
@@ -14,6 +14,10 @@ export declare const getRuntimeConfig: (config: RDSDataClientConfig) => {
14
14
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").RDSDataHttpAuthSchemeProvider;
15
15
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
16
  logger: import("@smithy/types").Logger;
17
+ protocol: import("@smithy/types").ClientProtocol<
18
+ import("@smithy/types").HttpRequest,
19
+ import("@smithy/types").HttpResponse
20
+ >;
17
21
  serviceId: string;
18
22
  urlParser: import("@smithy/types").UrlParser;
19
23
  utf8Decoder: import("@smithy/types").Decoder;
@@ -0,0 +1,69 @@
1
+ import {
2
+ StaticErrorSchema,
3
+ StaticListSchema,
4
+ StaticOperationSchema,
5
+ StaticStructureSchema,
6
+ } from "@smithy/types";
7
+ export declare var AccessDeniedException: StaticErrorSchema;
8
+ export declare var BadRequestException: StaticErrorSchema;
9
+ export declare var BatchExecuteStatementRequest: StaticStructureSchema;
10
+ export declare var BatchExecuteStatementResponse: StaticStructureSchema;
11
+ export declare var BeginTransactionRequest: StaticStructureSchema;
12
+ export declare var BeginTransactionResponse: StaticStructureSchema;
13
+ export declare var ColumnMetadata: StaticStructureSchema;
14
+ export declare var CommitTransactionRequest: StaticStructureSchema;
15
+ export declare var CommitTransactionResponse: StaticStructureSchema;
16
+ export declare var DatabaseErrorException: StaticErrorSchema;
17
+ export declare var DatabaseNotFoundException: StaticErrorSchema;
18
+ export declare var DatabaseResumingException: StaticErrorSchema;
19
+ export declare var DatabaseUnavailableException: StaticErrorSchema;
20
+ export declare var ExecuteSqlRequest: StaticStructureSchema;
21
+ export declare var ExecuteSqlResponse: StaticStructureSchema;
22
+ export declare var ExecuteStatementRequest: StaticStructureSchema;
23
+ export declare var ExecuteStatementResponse: StaticStructureSchema;
24
+ export declare var ForbiddenException: StaticErrorSchema;
25
+ export declare var HttpEndpointNotEnabledException: StaticErrorSchema;
26
+ export declare var InternalServerErrorException: StaticErrorSchema;
27
+ export declare var InvalidResourceStateException: StaticErrorSchema;
28
+ export declare var InvalidSecretException: StaticErrorSchema;
29
+ export declare var NotFoundException: StaticErrorSchema;
30
+ export declare var _Record: StaticStructureSchema;
31
+ export declare var ResultFrame: StaticStructureSchema;
32
+ export declare var ResultSetMetadata: StaticStructureSchema;
33
+ export declare var ResultSetOptions: StaticStructureSchema;
34
+ export declare var RollbackTransactionRequest: StaticStructureSchema;
35
+ export declare var RollbackTransactionResponse: StaticStructureSchema;
36
+ export declare var SecretsErrorException: StaticErrorSchema;
37
+ export declare var ServiceUnavailableError: StaticErrorSchema;
38
+ export declare var SqlParameter: StaticStructureSchema;
39
+ export declare var SqlStatementResult: StaticStructureSchema;
40
+ export declare var StatementTimeoutException: StaticErrorSchema;
41
+ export declare var StructValue: StaticStructureSchema;
42
+ export declare var TransactionNotFoundException: StaticErrorSchema;
43
+ export declare var UnsupportedResultException: StaticErrorSchema;
44
+ export declare var UpdateResult: StaticStructureSchema;
45
+ export declare var RDSDataServiceException: StaticErrorSchema;
46
+ export declare var ArrayOfArray: StaticListSchema;
47
+ export declare var ArrayValueList: StaticListSchema;
48
+ export declare var BooleanArray: number;
49
+ export declare var DoubleArray: number;
50
+ export declare var FieldList: StaticListSchema;
51
+ export declare var LongArray: number;
52
+ export declare var Metadata: StaticListSchema;
53
+ export declare var Records: StaticListSchema;
54
+ export declare var Row: StaticListSchema;
55
+ export declare var SqlParameterSets: StaticListSchema;
56
+ export declare var SqlParametersList: StaticListSchema;
57
+ export declare var SqlRecords: StaticListSchema;
58
+ export declare var SqlStatementResults: StaticListSchema;
59
+ export declare var StringArray: number;
60
+ export declare var UpdateResults: StaticListSchema;
61
+ export declare var ArrayValue: StaticStructureSchema;
62
+ export declare var Field: StaticStructureSchema;
63
+ export declare var Value: StaticStructureSchema;
64
+ export declare var BatchExecuteStatement: StaticOperationSchema;
65
+ export declare var BeginTransaction: StaticOperationSchema;
66
+ export declare var CommitTransaction: StaticOperationSchema;
67
+ export declare var ExecuteSql: StaticOperationSchema;
68
+ export declare var ExecuteStatement: StaticOperationSchema;
69
+ export declare var RollbackTransaction: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-rds-data",
3
3
  "description": "AWS SDK for JavaScript Rds Data Client for Node.js, Browser and React Native",
4
- "version": "3.928.0",
4
+ "version": "3.929.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-rds-data",
@@ -21,7 +21,7 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.928.0",
24
- "@aws-sdk/credential-provider-node": "3.928.0",
24
+ "@aws-sdk/credential-provider-node": "3.929.0",
25
25
  "@aws-sdk/middleware-host-header": "3.922.0",
26
26
  "@aws-sdk/middleware-logger": "3.922.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.922.0",