@aws-sdk/client-rds-data 3.296.0 → 3.298.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.
@@ -14,15 +14,24 @@ import { ExecuteSqlCommandInput, ExecuteSqlCommandOutput } from "./commands/Exec
14
14
  import { ExecuteStatementCommandInput, ExecuteStatementCommandOutput } from "./commands/ExecuteStatementCommand";
15
15
  import { RollbackTransactionCommandInput, RollbackTransactionCommandOutput } from "./commands/RollbackTransactionCommand";
16
16
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
17
+ /**
18
+ * @public
19
+ */
17
20
  export type ServiceInputTypes = BatchExecuteStatementCommandInput | BeginTransactionCommandInput | CommitTransactionCommandInput | ExecuteSqlCommandInput | ExecuteStatementCommandInput | RollbackTransactionCommandInput;
21
+ /**
22
+ * @public
23
+ */
18
24
  export type ServiceOutputTypes = BatchExecuteStatementCommandOutput | BeginTransactionCommandOutput | CommitTransactionCommandOutput | ExecuteSqlCommandOutput | ExecuteStatementCommandOutput | RollbackTransactionCommandOutput;
25
+ /**
26
+ * @public
27
+ */
19
28
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
20
29
  /**
21
30
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
22
31
  */
23
32
  requestHandler?: __HttpHandler;
24
33
  /**
25
- * A constructor for a class implementing the {@link __Checksum} interface
34
+ * A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
26
35
  * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
27
36
  * @internal
28
37
  */
@@ -112,23 +121,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
112
121
  */
113
122
  logger?: __Logger;
114
123
  /**
115
- * The {@link __DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
124
+ * The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
116
125
  */
117
126
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
118
127
  }
128
+ /**
129
+ * @public
130
+ */
119
131
  type RDSDataClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
120
132
  /**
121
- * The configuration interface of RDSDataClient class constructor that set the region, credentials and other options.
133
+ * @public
134
+ *
135
+ * The configuration interface of RDSDataClient class constructor that set the region, credentials and other options.
122
136
  */
123
137
  export interface RDSDataClientConfig extends RDSDataClientConfigType {
124
138
  }
139
+ /**
140
+ * @public
141
+ */
125
142
  type RDSDataClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
126
143
  /**
127
- * The resolved configuration interface of RDSDataClient class. This is resolved and normalized from the {@link RDSDataClientConfig | constructor configuration interface}.
144
+ * @public
145
+ *
146
+ * The resolved configuration interface of RDSDataClient class. This is resolved and normalized from the {@link RDSDataClientConfig | constructor configuration interface}.
128
147
  */
129
148
  export interface RDSDataClientResolvedConfig extends RDSDataClientResolvedConfigType {
130
149
  }
131
150
  /**
151
+ * @public
132
152
  * <fullname>Amazon RDS Data Service</fullname>
133
153
  * <p>Amazon RDS provides an HTTP endpoint to run SQL statements on an Amazon Aurora Serverless v1 DB cluster. To run these
134
154
  * statements, you work with the Data Service API.</p>
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { BatchExecuteStatementRequest, BatchExecuteStatementResponse } from "../models/models_0";
5
5
  import { RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSDataClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link BatchExecuteStatementCommand}.
8
10
  */
9
11
  export interface BatchExecuteStatementCommandInput extends BatchExecuteStatementRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link BatchExecuteStatementCommand}.
13
17
  */
14
18
  export interface BatchExecuteStatementCommandOutput extends BatchExecuteStatementResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Runs a batch SQL statement over an array of data.</p>
18
23
  * <p>You can run bulk update and insert operations for multiple records using a DML
19
24
  * statement with different parameter sets. Bulk operations can provide a significant
@@ -38,6 +43,8 @@ export interface BatchExecuteStatementCommandOutput extends BatchExecuteStatemen
38
43
  * const response = await client.send(command);
39
44
  * ```
40
45
  *
46
+ * @param BatchExecuteStatementCommandInput - {@link BatchExecuteStatementCommandInput}
47
+ * @returns {@link BatchExecuteStatementCommandOutput}
41
48
  * @see {@link BatchExecuteStatementCommandInput} for command's `input` shape.
42
49
  * @see {@link BatchExecuteStatementCommandOutput} for command's `response` shape.
43
50
  * @see {@link RDSDataClientResolvedConfig | config} for RDSDataClient's `config` shape.
@@ -66,11 +73,20 @@ export interface BatchExecuteStatementCommandOutput extends BatchExecuteStatemen
66
73
  export declare class BatchExecuteStatementCommand extends $Command<BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput, RDSDataClientResolvedConfig> {
67
74
  readonly input: BatchExecuteStatementCommandInput;
68
75
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
76
+ /**
77
+ * @public
78
+ */
69
79
  constructor(input: BatchExecuteStatementCommandInput);
70
80
  /**
71
81
  * @internal
72
82
  */
73
83
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RDSDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput>;
84
+ /**
85
+ * @internal
86
+ */
74
87
  private serialize;
88
+ /**
89
+ * @internal
90
+ */
75
91
  private deserialize;
76
92
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { BeginTransactionRequest, BeginTransactionResponse } from "../models/models_0";
5
5
  import { RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSDataClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link BeginTransactionCommand}.
8
10
  */
9
11
  export interface BeginTransactionCommandInput extends BeginTransactionRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link BeginTransactionCommand}.
13
17
  */
14
18
  export interface BeginTransactionCommandOutput extends BeginTransactionResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Starts a SQL transaction.</p>
18
23
  * <note>
19
24
  * <p>A transaction can run for a maximum of 24 hours. A transaction is terminated and rolled back automatically after 24
@@ -33,6 +38,8 @@ export interface BeginTransactionCommandOutput extends BeginTransactionResponse,
33
38
  * const response = await client.send(command);
34
39
  * ```
35
40
  *
41
+ * @param BeginTransactionCommandInput - {@link BeginTransactionCommandInput}
42
+ * @returns {@link BeginTransactionCommandOutput}
36
43
  * @see {@link BeginTransactionCommandInput} for command's `input` shape.
37
44
  * @see {@link BeginTransactionCommandOutput} for command's `response` shape.
38
45
  * @see {@link RDSDataClientResolvedConfig | config} for RDSDataClient's `config` shape.
@@ -61,11 +68,20 @@ export interface BeginTransactionCommandOutput extends BeginTransactionResponse,
61
68
  export declare class BeginTransactionCommand extends $Command<BeginTransactionCommandInput, BeginTransactionCommandOutput, RDSDataClientResolvedConfig> {
62
69
  readonly input: BeginTransactionCommandInput;
63
70
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
71
+ /**
72
+ * @public
73
+ */
64
74
  constructor(input: BeginTransactionCommandInput);
65
75
  /**
66
76
  * @internal
67
77
  */
68
78
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RDSDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BeginTransactionCommandInput, BeginTransactionCommandOutput>;
79
+ /**
80
+ * @internal
81
+ */
69
82
  private serialize;
83
+ /**
84
+ * @internal
85
+ */
70
86
  private deserialize;
71
87
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { CommitTransactionRequest, CommitTransactionResponse } from "../models/models_0";
5
5
  import { RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSDataClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link CommitTransactionCommand}.
8
10
  */
9
11
  export interface CommitTransactionCommandInput extends CommitTransactionRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link CommitTransactionCommand}.
13
17
  */
14
18
  export interface CommitTransactionCommandOutput extends CommitTransactionResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Ends a SQL transaction started with the <code>BeginTransaction</code> operation and
18
23
  * commits the changes.</p>
19
24
  * @example
@@ -26,6 +31,8 @@ export interface CommitTransactionCommandOutput extends CommitTransactionRespons
26
31
  * const response = await client.send(command);
27
32
  * ```
28
33
  *
34
+ * @param CommitTransactionCommandInput - {@link CommitTransactionCommandInput}
35
+ * @returns {@link CommitTransactionCommandOutput}
29
36
  * @see {@link CommitTransactionCommandInput} for command's `input` shape.
30
37
  * @see {@link CommitTransactionCommandOutput} for command's `response` shape.
31
38
  * @see {@link RDSDataClientResolvedConfig | config} for RDSDataClient's `config` shape.
@@ -57,11 +64,20 @@ export interface CommitTransactionCommandOutput extends CommitTransactionRespons
57
64
  export declare class CommitTransactionCommand extends $Command<CommitTransactionCommandInput, CommitTransactionCommandOutput, RDSDataClientResolvedConfig> {
58
65
  readonly input: CommitTransactionCommandInput;
59
66
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
67
+ /**
68
+ * @public
69
+ */
60
70
  constructor(input: CommitTransactionCommandInput);
61
71
  /**
62
72
  * @internal
63
73
  */
64
74
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RDSDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CommitTransactionCommandInput, CommitTransactionCommandOutput>;
75
+ /**
76
+ * @internal
77
+ */
65
78
  private serialize;
79
+ /**
80
+ * @internal
81
+ */
66
82
  private deserialize;
67
83
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { ExecuteSqlRequest, ExecuteSqlResponse } from "../models/models_0";
5
5
  import { RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSDataClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link ExecuteSqlCommand}.
8
10
  */
9
11
  export interface ExecuteSqlCommandInput extends ExecuteSqlRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link ExecuteSqlCommand}.
13
17
  */
14
18
  export interface ExecuteSqlCommandOutput extends ExecuteSqlResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * @deprecated
18
23
  *
19
24
  * <p>Runs one or more SQL statements.</p>
@@ -31,6 +36,8 @@ export interface ExecuteSqlCommandOutput extends ExecuteSqlResponse, __MetadataB
31
36
  * const response = await client.send(command);
32
37
  * ```
33
38
  *
39
+ * @param ExecuteSqlCommandInput - {@link ExecuteSqlCommandInput}
40
+ * @returns {@link ExecuteSqlCommandOutput}
34
41
  * @see {@link ExecuteSqlCommandInput} for command's `input` shape.
35
42
  * @see {@link ExecuteSqlCommandOutput} for command's `response` shape.
36
43
  * @see {@link RDSDataClientResolvedConfig | config} for RDSDataClient's `config` shape.
@@ -56,11 +63,20 @@ export interface ExecuteSqlCommandOutput extends ExecuteSqlResponse, __MetadataB
56
63
  export declare class ExecuteSqlCommand extends $Command<ExecuteSqlCommandInput, ExecuteSqlCommandOutput, RDSDataClientResolvedConfig> {
57
64
  readonly input: ExecuteSqlCommandInput;
58
65
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
66
+ /**
67
+ * @public
68
+ */
59
69
  constructor(input: ExecuteSqlCommandInput);
60
70
  /**
61
71
  * @internal
62
72
  */
63
73
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RDSDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ExecuteSqlCommandInput, ExecuteSqlCommandOutput>;
74
+ /**
75
+ * @internal
76
+ */
64
77
  private serialize;
78
+ /**
79
+ * @internal
80
+ */
65
81
  private deserialize;
66
82
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { ExecuteStatementRequest, ExecuteStatementResponse } from "../models/models_0";
5
5
  import { RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSDataClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link ExecuteStatementCommand}.
8
10
  */
9
11
  export interface ExecuteStatementCommandInput extends ExecuteStatementRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link ExecuteStatementCommand}.
13
17
  */
14
18
  export interface ExecuteStatementCommandOutput extends ExecuteStatementResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Runs a SQL statement against a database.</p>
18
23
  * <note>
19
24
  * <p>If a call isn't part of a transaction because it doesn't include the
@@ -31,6 +36,8 @@ export interface ExecuteStatementCommandOutput extends ExecuteStatementResponse,
31
36
  * const response = await client.send(command);
32
37
  * ```
33
38
  *
39
+ * @param ExecuteStatementCommandInput - {@link ExecuteStatementCommandInput}
40
+ * @returns {@link ExecuteStatementCommandOutput}
34
41
  * @see {@link ExecuteStatementCommandInput} for command's `input` shape.
35
42
  * @see {@link ExecuteStatementCommandOutput} for command's `response` shape.
36
43
  * @see {@link RDSDataClientResolvedConfig | config} for RDSDataClient's `config` shape.
@@ -59,11 +66,20 @@ export interface ExecuteStatementCommandOutput extends ExecuteStatementResponse,
59
66
  export declare class ExecuteStatementCommand extends $Command<ExecuteStatementCommandInput, ExecuteStatementCommandOutput, RDSDataClientResolvedConfig> {
60
67
  readonly input: ExecuteStatementCommandInput;
61
68
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
69
+ /**
70
+ * @public
71
+ */
62
72
  constructor(input: ExecuteStatementCommandInput);
63
73
  /**
64
74
  * @internal
65
75
  */
66
76
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RDSDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ExecuteStatementCommandInput, ExecuteStatementCommandOutput>;
77
+ /**
78
+ * @internal
79
+ */
67
80
  private serialize;
81
+ /**
82
+ * @internal
83
+ */
68
84
  private deserialize;
69
85
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { RollbackTransactionRequest, RollbackTransactionResponse } from "../models/models_0";
5
5
  import { RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSDataClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link RollbackTransactionCommand}.
8
10
  */
9
11
  export interface RollbackTransactionCommandInput extends RollbackTransactionRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link RollbackTransactionCommand}.
13
17
  */
14
18
  export interface RollbackTransactionCommandOutput extends RollbackTransactionResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Performs a rollback of a transaction. Rolling back a transaction cancels its changes.</p>
18
23
  * @example
19
24
  * Use a bare-bones client and the command you need to make an API call.
@@ -25,6 +30,8 @@ export interface RollbackTransactionCommandOutput extends RollbackTransactionRes
25
30
  * const response = await client.send(command);
26
31
  * ```
27
32
  *
33
+ * @param RollbackTransactionCommandInput - {@link RollbackTransactionCommandInput}
34
+ * @returns {@link RollbackTransactionCommandOutput}
28
35
  * @see {@link RollbackTransactionCommandInput} for command's `input` shape.
29
36
  * @see {@link RollbackTransactionCommandOutput} for command's `response` shape.
30
37
  * @see {@link RDSDataClientResolvedConfig | config} for RDSDataClient's `config` shape.
@@ -56,11 +63,20 @@ export interface RollbackTransactionCommandOutput extends RollbackTransactionRes
56
63
  export declare class RollbackTransactionCommand extends $Command<RollbackTransactionCommandInput, RollbackTransactionCommandOutput, RDSDataClientResolvedConfig> {
57
64
  readonly input: RollbackTransactionCommandInput;
58
65
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
66
+ /**
67
+ * @public
68
+ */
59
69
  constructor(input: RollbackTransactionCommandInput);
60
70
  /**
61
71
  * @internal
62
72
  */
63
73
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RDSDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RollbackTransactionCommandInput, RollbackTransactionCommandOutput>;
74
+ /**
75
+ * @internal
76
+ */
64
77
  private serialize;
78
+ /**
79
+ * @internal
80
+ */
65
81
  private deserialize;
66
82
  }
@@ -1,5 +1,7 @@
1
1
  import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
2
  /**
3
+ * @public
4
+ *
3
5
  * Base exception class for all service exceptions from RDSData service.
4
6
  */
5
7
  export declare class RDSDataServiceException extends __ServiceException {