@aws-sdk/client-redshift 3.312.0 → 3.316.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/dist-cjs/Redshift.js +123 -1666
- package/dist-cjs/protocols/Aws_query.js +239 -357
- package/dist-es/Redshift.js +123 -1666
- package/dist-es/protocols/Aws_query.js +240 -358
- package/dist-types/Redshift.d.ts +146 -772
- package/dist-types/ts3.4/Redshift.d.ts +2 -1
- package/package.json +6 -6
package/dist-cjs/Redshift.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Redshift = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const AcceptReservedNodeExchangeCommand_1 = require("./commands/AcceptReservedNodeExchangeCommand");
|
|
5
6
|
const AddPartnerCommand_1 = require("./commands/AddPartnerCommand");
|
|
6
7
|
const AssociateDataShareConsumerCommand_1 = require("./commands/AssociateDataShareConsumerCommand");
|
|
@@ -121,1672 +122,128 @@ const RevokeSnapshotAccessCommand_1 = require("./commands/RevokeSnapshotAccessCo
|
|
|
121
122
|
const RotateEncryptionKeyCommand_1 = require("./commands/RotateEncryptionKeyCommand");
|
|
122
123
|
const UpdatePartnerStatusCommand_1 = require("./commands/UpdatePartnerStatusCommand");
|
|
123
124
|
const RedshiftClient_1 = require("./RedshiftClient");
|
|
125
|
+
const commands = {
|
|
126
|
+
AcceptReservedNodeExchangeCommand: AcceptReservedNodeExchangeCommand_1.AcceptReservedNodeExchangeCommand,
|
|
127
|
+
AddPartnerCommand: AddPartnerCommand_1.AddPartnerCommand,
|
|
128
|
+
AssociateDataShareConsumerCommand: AssociateDataShareConsumerCommand_1.AssociateDataShareConsumerCommand,
|
|
129
|
+
AuthorizeClusterSecurityGroupIngressCommand: AuthorizeClusterSecurityGroupIngressCommand_1.AuthorizeClusterSecurityGroupIngressCommand,
|
|
130
|
+
AuthorizeDataShareCommand: AuthorizeDataShareCommand_1.AuthorizeDataShareCommand,
|
|
131
|
+
AuthorizeEndpointAccessCommand: AuthorizeEndpointAccessCommand_1.AuthorizeEndpointAccessCommand,
|
|
132
|
+
AuthorizeSnapshotAccessCommand: AuthorizeSnapshotAccessCommand_1.AuthorizeSnapshotAccessCommand,
|
|
133
|
+
BatchDeleteClusterSnapshotsCommand: BatchDeleteClusterSnapshotsCommand_1.BatchDeleteClusterSnapshotsCommand,
|
|
134
|
+
BatchModifyClusterSnapshotsCommand: BatchModifyClusterSnapshotsCommand_1.BatchModifyClusterSnapshotsCommand,
|
|
135
|
+
CancelResizeCommand: CancelResizeCommand_1.CancelResizeCommand,
|
|
136
|
+
CopyClusterSnapshotCommand: CopyClusterSnapshotCommand_1.CopyClusterSnapshotCommand,
|
|
137
|
+
CreateAuthenticationProfileCommand: CreateAuthenticationProfileCommand_1.CreateAuthenticationProfileCommand,
|
|
138
|
+
CreateClusterCommand: CreateClusterCommand_1.CreateClusterCommand,
|
|
139
|
+
CreateClusterParameterGroupCommand: CreateClusterParameterGroupCommand_1.CreateClusterParameterGroupCommand,
|
|
140
|
+
CreateClusterSecurityGroupCommand: CreateClusterSecurityGroupCommand_1.CreateClusterSecurityGroupCommand,
|
|
141
|
+
CreateClusterSnapshotCommand: CreateClusterSnapshotCommand_1.CreateClusterSnapshotCommand,
|
|
142
|
+
CreateClusterSubnetGroupCommand: CreateClusterSubnetGroupCommand_1.CreateClusterSubnetGroupCommand,
|
|
143
|
+
CreateEndpointAccessCommand: CreateEndpointAccessCommand_1.CreateEndpointAccessCommand,
|
|
144
|
+
CreateEventSubscriptionCommand: CreateEventSubscriptionCommand_1.CreateEventSubscriptionCommand,
|
|
145
|
+
CreateHsmClientCertificateCommand: CreateHsmClientCertificateCommand_1.CreateHsmClientCertificateCommand,
|
|
146
|
+
CreateHsmConfigurationCommand: CreateHsmConfigurationCommand_1.CreateHsmConfigurationCommand,
|
|
147
|
+
CreateScheduledActionCommand: CreateScheduledActionCommand_1.CreateScheduledActionCommand,
|
|
148
|
+
CreateSnapshotCopyGrantCommand: CreateSnapshotCopyGrantCommand_1.CreateSnapshotCopyGrantCommand,
|
|
149
|
+
CreateSnapshotScheduleCommand: CreateSnapshotScheduleCommand_1.CreateSnapshotScheduleCommand,
|
|
150
|
+
CreateTagsCommand: CreateTagsCommand_1.CreateTagsCommand,
|
|
151
|
+
CreateUsageLimitCommand: CreateUsageLimitCommand_1.CreateUsageLimitCommand,
|
|
152
|
+
DeauthorizeDataShareCommand: DeauthorizeDataShareCommand_1.DeauthorizeDataShareCommand,
|
|
153
|
+
DeleteAuthenticationProfileCommand: DeleteAuthenticationProfileCommand_1.DeleteAuthenticationProfileCommand,
|
|
154
|
+
DeleteClusterCommand: DeleteClusterCommand_1.DeleteClusterCommand,
|
|
155
|
+
DeleteClusterParameterGroupCommand: DeleteClusterParameterGroupCommand_1.DeleteClusterParameterGroupCommand,
|
|
156
|
+
DeleteClusterSecurityGroupCommand: DeleteClusterSecurityGroupCommand_1.DeleteClusterSecurityGroupCommand,
|
|
157
|
+
DeleteClusterSnapshotCommand: DeleteClusterSnapshotCommand_1.DeleteClusterSnapshotCommand,
|
|
158
|
+
DeleteClusterSubnetGroupCommand: DeleteClusterSubnetGroupCommand_1.DeleteClusterSubnetGroupCommand,
|
|
159
|
+
DeleteEndpointAccessCommand: DeleteEndpointAccessCommand_1.DeleteEndpointAccessCommand,
|
|
160
|
+
DeleteEventSubscriptionCommand: DeleteEventSubscriptionCommand_1.DeleteEventSubscriptionCommand,
|
|
161
|
+
DeleteHsmClientCertificateCommand: DeleteHsmClientCertificateCommand_1.DeleteHsmClientCertificateCommand,
|
|
162
|
+
DeleteHsmConfigurationCommand: DeleteHsmConfigurationCommand_1.DeleteHsmConfigurationCommand,
|
|
163
|
+
DeletePartnerCommand: DeletePartnerCommand_1.DeletePartnerCommand,
|
|
164
|
+
DeleteScheduledActionCommand: DeleteScheduledActionCommand_1.DeleteScheduledActionCommand,
|
|
165
|
+
DeleteSnapshotCopyGrantCommand: DeleteSnapshotCopyGrantCommand_1.DeleteSnapshotCopyGrantCommand,
|
|
166
|
+
DeleteSnapshotScheduleCommand: DeleteSnapshotScheduleCommand_1.DeleteSnapshotScheduleCommand,
|
|
167
|
+
DeleteTagsCommand: DeleteTagsCommand_1.DeleteTagsCommand,
|
|
168
|
+
DeleteUsageLimitCommand: DeleteUsageLimitCommand_1.DeleteUsageLimitCommand,
|
|
169
|
+
DescribeAccountAttributesCommand: DescribeAccountAttributesCommand_1.DescribeAccountAttributesCommand,
|
|
170
|
+
DescribeAuthenticationProfilesCommand: DescribeAuthenticationProfilesCommand_1.DescribeAuthenticationProfilesCommand,
|
|
171
|
+
DescribeClusterDbRevisionsCommand: DescribeClusterDbRevisionsCommand_1.DescribeClusterDbRevisionsCommand,
|
|
172
|
+
DescribeClusterParameterGroupsCommand: DescribeClusterParameterGroupsCommand_1.DescribeClusterParameterGroupsCommand,
|
|
173
|
+
DescribeClusterParametersCommand: DescribeClusterParametersCommand_1.DescribeClusterParametersCommand,
|
|
174
|
+
DescribeClustersCommand: DescribeClustersCommand_1.DescribeClustersCommand,
|
|
175
|
+
DescribeClusterSecurityGroupsCommand: DescribeClusterSecurityGroupsCommand_1.DescribeClusterSecurityGroupsCommand,
|
|
176
|
+
DescribeClusterSnapshotsCommand: DescribeClusterSnapshotsCommand_1.DescribeClusterSnapshotsCommand,
|
|
177
|
+
DescribeClusterSubnetGroupsCommand: DescribeClusterSubnetGroupsCommand_1.DescribeClusterSubnetGroupsCommand,
|
|
178
|
+
DescribeClusterTracksCommand: DescribeClusterTracksCommand_1.DescribeClusterTracksCommand,
|
|
179
|
+
DescribeClusterVersionsCommand: DescribeClusterVersionsCommand_1.DescribeClusterVersionsCommand,
|
|
180
|
+
DescribeDataSharesCommand: DescribeDataSharesCommand_1.DescribeDataSharesCommand,
|
|
181
|
+
DescribeDataSharesForConsumerCommand: DescribeDataSharesForConsumerCommand_1.DescribeDataSharesForConsumerCommand,
|
|
182
|
+
DescribeDataSharesForProducerCommand: DescribeDataSharesForProducerCommand_1.DescribeDataSharesForProducerCommand,
|
|
183
|
+
DescribeDefaultClusterParametersCommand: DescribeDefaultClusterParametersCommand_1.DescribeDefaultClusterParametersCommand,
|
|
184
|
+
DescribeEndpointAccessCommand: DescribeEndpointAccessCommand_1.DescribeEndpointAccessCommand,
|
|
185
|
+
DescribeEndpointAuthorizationCommand: DescribeEndpointAuthorizationCommand_1.DescribeEndpointAuthorizationCommand,
|
|
186
|
+
DescribeEventCategoriesCommand: DescribeEventCategoriesCommand_1.DescribeEventCategoriesCommand,
|
|
187
|
+
DescribeEventsCommand: DescribeEventsCommand_1.DescribeEventsCommand,
|
|
188
|
+
DescribeEventSubscriptionsCommand: DescribeEventSubscriptionsCommand_1.DescribeEventSubscriptionsCommand,
|
|
189
|
+
DescribeHsmClientCertificatesCommand: DescribeHsmClientCertificatesCommand_1.DescribeHsmClientCertificatesCommand,
|
|
190
|
+
DescribeHsmConfigurationsCommand: DescribeHsmConfigurationsCommand_1.DescribeHsmConfigurationsCommand,
|
|
191
|
+
DescribeLoggingStatusCommand: DescribeLoggingStatusCommand_1.DescribeLoggingStatusCommand,
|
|
192
|
+
DescribeNodeConfigurationOptionsCommand: DescribeNodeConfigurationOptionsCommand_1.DescribeNodeConfigurationOptionsCommand,
|
|
193
|
+
DescribeOrderableClusterOptionsCommand: DescribeOrderableClusterOptionsCommand_1.DescribeOrderableClusterOptionsCommand,
|
|
194
|
+
DescribePartnersCommand: DescribePartnersCommand_1.DescribePartnersCommand,
|
|
195
|
+
DescribeReservedNodeExchangeStatusCommand: DescribeReservedNodeExchangeStatusCommand_1.DescribeReservedNodeExchangeStatusCommand,
|
|
196
|
+
DescribeReservedNodeOfferingsCommand: DescribeReservedNodeOfferingsCommand_1.DescribeReservedNodeOfferingsCommand,
|
|
197
|
+
DescribeReservedNodesCommand: DescribeReservedNodesCommand_1.DescribeReservedNodesCommand,
|
|
198
|
+
DescribeResizeCommand: DescribeResizeCommand_1.DescribeResizeCommand,
|
|
199
|
+
DescribeScheduledActionsCommand: DescribeScheduledActionsCommand_1.DescribeScheduledActionsCommand,
|
|
200
|
+
DescribeSnapshotCopyGrantsCommand: DescribeSnapshotCopyGrantsCommand_1.DescribeSnapshotCopyGrantsCommand,
|
|
201
|
+
DescribeSnapshotSchedulesCommand: DescribeSnapshotSchedulesCommand_1.DescribeSnapshotSchedulesCommand,
|
|
202
|
+
DescribeStorageCommand: DescribeStorageCommand_1.DescribeStorageCommand,
|
|
203
|
+
DescribeTableRestoreStatusCommand: DescribeTableRestoreStatusCommand_1.DescribeTableRestoreStatusCommand,
|
|
204
|
+
DescribeTagsCommand: DescribeTagsCommand_1.DescribeTagsCommand,
|
|
205
|
+
DescribeUsageLimitsCommand: DescribeUsageLimitsCommand_1.DescribeUsageLimitsCommand,
|
|
206
|
+
DisableLoggingCommand: DisableLoggingCommand_1.DisableLoggingCommand,
|
|
207
|
+
DisableSnapshotCopyCommand: DisableSnapshotCopyCommand_1.DisableSnapshotCopyCommand,
|
|
208
|
+
DisassociateDataShareConsumerCommand: DisassociateDataShareConsumerCommand_1.DisassociateDataShareConsumerCommand,
|
|
209
|
+
EnableLoggingCommand: EnableLoggingCommand_1.EnableLoggingCommand,
|
|
210
|
+
EnableSnapshotCopyCommand: EnableSnapshotCopyCommand_1.EnableSnapshotCopyCommand,
|
|
211
|
+
GetClusterCredentialsCommand: GetClusterCredentialsCommand_1.GetClusterCredentialsCommand,
|
|
212
|
+
GetClusterCredentialsWithIAMCommand: GetClusterCredentialsWithIAMCommand_1.GetClusterCredentialsWithIAMCommand,
|
|
213
|
+
GetReservedNodeExchangeConfigurationOptionsCommand: GetReservedNodeExchangeConfigurationOptionsCommand_1.GetReservedNodeExchangeConfigurationOptionsCommand,
|
|
214
|
+
GetReservedNodeExchangeOfferingsCommand: GetReservedNodeExchangeOfferingsCommand_1.GetReservedNodeExchangeOfferingsCommand,
|
|
215
|
+
ModifyAquaConfigurationCommand: ModifyAquaConfigurationCommand_1.ModifyAquaConfigurationCommand,
|
|
216
|
+
ModifyAuthenticationProfileCommand: ModifyAuthenticationProfileCommand_1.ModifyAuthenticationProfileCommand,
|
|
217
|
+
ModifyClusterCommand: ModifyClusterCommand_1.ModifyClusterCommand,
|
|
218
|
+
ModifyClusterDbRevisionCommand: ModifyClusterDbRevisionCommand_1.ModifyClusterDbRevisionCommand,
|
|
219
|
+
ModifyClusterIamRolesCommand: ModifyClusterIamRolesCommand_1.ModifyClusterIamRolesCommand,
|
|
220
|
+
ModifyClusterMaintenanceCommand: ModifyClusterMaintenanceCommand_1.ModifyClusterMaintenanceCommand,
|
|
221
|
+
ModifyClusterParameterGroupCommand: ModifyClusterParameterGroupCommand_1.ModifyClusterParameterGroupCommand,
|
|
222
|
+
ModifyClusterSnapshotCommand: ModifyClusterSnapshotCommand_1.ModifyClusterSnapshotCommand,
|
|
223
|
+
ModifyClusterSnapshotScheduleCommand: ModifyClusterSnapshotScheduleCommand_1.ModifyClusterSnapshotScheduleCommand,
|
|
224
|
+
ModifyClusterSubnetGroupCommand: ModifyClusterSubnetGroupCommand_1.ModifyClusterSubnetGroupCommand,
|
|
225
|
+
ModifyEndpointAccessCommand: ModifyEndpointAccessCommand_1.ModifyEndpointAccessCommand,
|
|
226
|
+
ModifyEventSubscriptionCommand: ModifyEventSubscriptionCommand_1.ModifyEventSubscriptionCommand,
|
|
227
|
+
ModifyScheduledActionCommand: ModifyScheduledActionCommand_1.ModifyScheduledActionCommand,
|
|
228
|
+
ModifySnapshotCopyRetentionPeriodCommand: ModifySnapshotCopyRetentionPeriodCommand_1.ModifySnapshotCopyRetentionPeriodCommand,
|
|
229
|
+
ModifySnapshotScheduleCommand: ModifySnapshotScheduleCommand_1.ModifySnapshotScheduleCommand,
|
|
230
|
+
ModifyUsageLimitCommand: ModifyUsageLimitCommand_1.ModifyUsageLimitCommand,
|
|
231
|
+
PauseClusterCommand: PauseClusterCommand_1.PauseClusterCommand,
|
|
232
|
+
PurchaseReservedNodeOfferingCommand: PurchaseReservedNodeOfferingCommand_1.PurchaseReservedNodeOfferingCommand,
|
|
233
|
+
RebootClusterCommand: RebootClusterCommand_1.RebootClusterCommand,
|
|
234
|
+
RejectDataShareCommand: RejectDataShareCommand_1.RejectDataShareCommand,
|
|
235
|
+
ResetClusterParameterGroupCommand: ResetClusterParameterGroupCommand_1.ResetClusterParameterGroupCommand,
|
|
236
|
+
ResizeClusterCommand: ResizeClusterCommand_1.ResizeClusterCommand,
|
|
237
|
+
RestoreFromClusterSnapshotCommand: RestoreFromClusterSnapshotCommand_1.RestoreFromClusterSnapshotCommand,
|
|
238
|
+
RestoreTableFromClusterSnapshotCommand: RestoreTableFromClusterSnapshotCommand_1.RestoreTableFromClusterSnapshotCommand,
|
|
239
|
+
ResumeClusterCommand: ResumeClusterCommand_1.ResumeClusterCommand,
|
|
240
|
+
RevokeClusterSecurityGroupIngressCommand: RevokeClusterSecurityGroupIngressCommand_1.RevokeClusterSecurityGroupIngressCommand,
|
|
241
|
+
RevokeEndpointAccessCommand: RevokeEndpointAccessCommand_1.RevokeEndpointAccessCommand,
|
|
242
|
+
RevokeSnapshotAccessCommand: RevokeSnapshotAccessCommand_1.RevokeSnapshotAccessCommand,
|
|
243
|
+
RotateEncryptionKeyCommand: RotateEncryptionKeyCommand_1.RotateEncryptionKeyCommand,
|
|
244
|
+
UpdatePartnerStatusCommand: UpdatePartnerStatusCommand_1.UpdatePartnerStatusCommand,
|
|
245
|
+
};
|
|
124
246
|
class Redshift extends RedshiftClient_1.RedshiftClient {
|
|
125
|
-
acceptReservedNodeExchange(args, optionsOrCb, cb) {
|
|
126
|
-
const command = new AcceptReservedNodeExchangeCommand_1.AcceptReservedNodeExchangeCommand(args);
|
|
127
|
-
if (typeof optionsOrCb === "function") {
|
|
128
|
-
this.send(command, optionsOrCb);
|
|
129
|
-
}
|
|
130
|
-
else if (typeof cb === "function") {
|
|
131
|
-
if (typeof optionsOrCb !== "object")
|
|
132
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
133
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
134
|
-
}
|
|
135
|
-
else {
|
|
136
|
-
return this.send(command, optionsOrCb);
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
addPartner(args, optionsOrCb, cb) {
|
|
140
|
-
const command = new AddPartnerCommand_1.AddPartnerCommand(args);
|
|
141
|
-
if (typeof optionsOrCb === "function") {
|
|
142
|
-
this.send(command, optionsOrCb);
|
|
143
|
-
}
|
|
144
|
-
else if (typeof cb === "function") {
|
|
145
|
-
if (typeof optionsOrCb !== "object")
|
|
146
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
147
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
148
|
-
}
|
|
149
|
-
else {
|
|
150
|
-
return this.send(command, optionsOrCb);
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
associateDataShareConsumer(args, optionsOrCb, cb) {
|
|
154
|
-
const command = new AssociateDataShareConsumerCommand_1.AssociateDataShareConsumerCommand(args);
|
|
155
|
-
if (typeof optionsOrCb === "function") {
|
|
156
|
-
this.send(command, optionsOrCb);
|
|
157
|
-
}
|
|
158
|
-
else if (typeof cb === "function") {
|
|
159
|
-
if (typeof optionsOrCb !== "object")
|
|
160
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
161
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
162
|
-
}
|
|
163
|
-
else {
|
|
164
|
-
return this.send(command, optionsOrCb);
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
authorizeClusterSecurityGroupIngress(args, optionsOrCb, cb) {
|
|
168
|
-
const command = new AuthorizeClusterSecurityGroupIngressCommand_1.AuthorizeClusterSecurityGroupIngressCommand(args);
|
|
169
|
-
if (typeof optionsOrCb === "function") {
|
|
170
|
-
this.send(command, optionsOrCb);
|
|
171
|
-
}
|
|
172
|
-
else if (typeof cb === "function") {
|
|
173
|
-
if (typeof optionsOrCb !== "object")
|
|
174
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
175
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
176
|
-
}
|
|
177
|
-
else {
|
|
178
|
-
return this.send(command, optionsOrCb);
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
authorizeDataShare(args, optionsOrCb, cb) {
|
|
182
|
-
const command = new AuthorizeDataShareCommand_1.AuthorizeDataShareCommand(args);
|
|
183
|
-
if (typeof optionsOrCb === "function") {
|
|
184
|
-
this.send(command, optionsOrCb);
|
|
185
|
-
}
|
|
186
|
-
else if (typeof cb === "function") {
|
|
187
|
-
if (typeof optionsOrCb !== "object")
|
|
188
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
189
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
190
|
-
}
|
|
191
|
-
else {
|
|
192
|
-
return this.send(command, optionsOrCb);
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
authorizeEndpointAccess(args, optionsOrCb, cb) {
|
|
196
|
-
const command = new AuthorizeEndpointAccessCommand_1.AuthorizeEndpointAccessCommand(args);
|
|
197
|
-
if (typeof optionsOrCb === "function") {
|
|
198
|
-
this.send(command, optionsOrCb);
|
|
199
|
-
}
|
|
200
|
-
else if (typeof cb === "function") {
|
|
201
|
-
if (typeof optionsOrCb !== "object")
|
|
202
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
203
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
204
|
-
}
|
|
205
|
-
else {
|
|
206
|
-
return this.send(command, optionsOrCb);
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
authorizeSnapshotAccess(args, optionsOrCb, cb) {
|
|
210
|
-
const command = new AuthorizeSnapshotAccessCommand_1.AuthorizeSnapshotAccessCommand(args);
|
|
211
|
-
if (typeof optionsOrCb === "function") {
|
|
212
|
-
this.send(command, optionsOrCb);
|
|
213
|
-
}
|
|
214
|
-
else if (typeof cb === "function") {
|
|
215
|
-
if (typeof optionsOrCb !== "object")
|
|
216
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
217
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
218
|
-
}
|
|
219
|
-
else {
|
|
220
|
-
return this.send(command, optionsOrCb);
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
batchDeleteClusterSnapshots(args, optionsOrCb, cb) {
|
|
224
|
-
const command = new BatchDeleteClusterSnapshotsCommand_1.BatchDeleteClusterSnapshotsCommand(args);
|
|
225
|
-
if (typeof optionsOrCb === "function") {
|
|
226
|
-
this.send(command, optionsOrCb);
|
|
227
|
-
}
|
|
228
|
-
else if (typeof cb === "function") {
|
|
229
|
-
if (typeof optionsOrCb !== "object")
|
|
230
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
231
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
232
|
-
}
|
|
233
|
-
else {
|
|
234
|
-
return this.send(command, optionsOrCb);
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
batchModifyClusterSnapshots(args, optionsOrCb, cb) {
|
|
238
|
-
const command = new BatchModifyClusterSnapshotsCommand_1.BatchModifyClusterSnapshotsCommand(args);
|
|
239
|
-
if (typeof optionsOrCb === "function") {
|
|
240
|
-
this.send(command, optionsOrCb);
|
|
241
|
-
}
|
|
242
|
-
else if (typeof cb === "function") {
|
|
243
|
-
if (typeof optionsOrCb !== "object")
|
|
244
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
245
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
246
|
-
}
|
|
247
|
-
else {
|
|
248
|
-
return this.send(command, optionsOrCb);
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
cancelResize(args, optionsOrCb, cb) {
|
|
252
|
-
const command = new CancelResizeCommand_1.CancelResizeCommand(args);
|
|
253
|
-
if (typeof optionsOrCb === "function") {
|
|
254
|
-
this.send(command, optionsOrCb);
|
|
255
|
-
}
|
|
256
|
-
else if (typeof cb === "function") {
|
|
257
|
-
if (typeof optionsOrCb !== "object")
|
|
258
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
259
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
260
|
-
}
|
|
261
|
-
else {
|
|
262
|
-
return this.send(command, optionsOrCb);
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
copyClusterSnapshot(args, optionsOrCb, cb) {
|
|
266
|
-
const command = new CopyClusterSnapshotCommand_1.CopyClusterSnapshotCommand(args);
|
|
267
|
-
if (typeof optionsOrCb === "function") {
|
|
268
|
-
this.send(command, optionsOrCb);
|
|
269
|
-
}
|
|
270
|
-
else if (typeof cb === "function") {
|
|
271
|
-
if (typeof optionsOrCb !== "object")
|
|
272
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
273
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
274
|
-
}
|
|
275
|
-
else {
|
|
276
|
-
return this.send(command, optionsOrCb);
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
createAuthenticationProfile(args, optionsOrCb, cb) {
|
|
280
|
-
const command = new CreateAuthenticationProfileCommand_1.CreateAuthenticationProfileCommand(args);
|
|
281
|
-
if (typeof optionsOrCb === "function") {
|
|
282
|
-
this.send(command, optionsOrCb);
|
|
283
|
-
}
|
|
284
|
-
else if (typeof cb === "function") {
|
|
285
|
-
if (typeof optionsOrCb !== "object")
|
|
286
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
287
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
288
|
-
}
|
|
289
|
-
else {
|
|
290
|
-
return this.send(command, optionsOrCb);
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
createCluster(args, optionsOrCb, cb) {
|
|
294
|
-
const command = new CreateClusterCommand_1.CreateClusterCommand(args);
|
|
295
|
-
if (typeof optionsOrCb === "function") {
|
|
296
|
-
this.send(command, optionsOrCb);
|
|
297
|
-
}
|
|
298
|
-
else if (typeof cb === "function") {
|
|
299
|
-
if (typeof optionsOrCb !== "object")
|
|
300
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
301
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
302
|
-
}
|
|
303
|
-
else {
|
|
304
|
-
return this.send(command, optionsOrCb);
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
createClusterParameterGroup(args, optionsOrCb, cb) {
|
|
308
|
-
const command = new CreateClusterParameterGroupCommand_1.CreateClusterParameterGroupCommand(args);
|
|
309
|
-
if (typeof optionsOrCb === "function") {
|
|
310
|
-
this.send(command, optionsOrCb);
|
|
311
|
-
}
|
|
312
|
-
else if (typeof cb === "function") {
|
|
313
|
-
if (typeof optionsOrCb !== "object")
|
|
314
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
315
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
316
|
-
}
|
|
317
|
-
else {
|
|
318
|
-
return this.send(command, optionsOrCb);
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
createClusterSecurityGroup(args, optionsOrCb, cb) {
|
|
322
|
-
const command = new CreateClusterSecurityGroupCommand_1.CreateClusterSecurityGroupCommand(args);
|
|
323
|
-
if (typeof optionsOrCb === "function") {
|
|
324
|
-
this.send(command, optionsOrCb);
|
|
325
|
-
}
|
|
326
|
-
else if (typeof cb === "function") {
|
|
327
|
-
if (typeof optionsOrCb !== "object")
|
|
328
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
329
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
330
|
-
}
|
|
331
|
-
else {
|
|
332
|
-
return this.send(command, optionsOrCb);
|
|
333
|
-
}
|
|
334
|
-
}
|
|
335
|
-
createClusterSnapshot(args, optionsOrCb, cb) {
|
|
336
|
-
const command = new CreateClusterSnapshotCommand_1.CreateClusterSnapshotCommand(args);
|
|
337
|
-
if (typeof optionsOrCb === "function") {
|
|
338
|
-
this.send(command, optionsOrCb);
|
|
339
|
-
}
|
|
340
|
-
else if (typeof cb === "function") {
|
|
341
|
-
if (typeof optionsOrCb !== "object")
|
|
342
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
343
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
344
|
-
}
|
|
345
|
-
else {
|
|
346
|
-
return this.send(command, optionsOrCb);
|
|
347
|
-
}
|
|
348
|
-
}
|
|
349
|
-
createClusterSubnetGroup(args, optionsOrCb, cb) {
|
|
350
|
-
const command = new CreateClusterSubnetGroupCommand_1.CreateClusterSubnetGroupCommand(args);
|
|
351
|
-
if (typeof optionsOrCb === "function") {
|
|
352
|
-
this.send(command, optionsOrCb);
|
|
353
|
-
}
|
|
354
|
-
else if (typeof cb === "function") {
|
|
355
|
-
if (typeof optionsOrCb !== "object")
|
|
356
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
357
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
358
|
-
}
|
|
359
|
-
else {
|
|
360
|
-
return this.send(command, optionsOrCb);
|
|
361
|
-
}
|
|
362
|
-
}
|
|
363
|
-
createEndpointAccess(args, optionsOrCb, cb) {
|
|
364
|
-
const command = new CreateEndpointAccessCommand_1.CreateEndpointAccessCommand(args);
|
|
365
|
-
if (typeof optionsOrCb === "function") {
|
|
366
|
-
this.send(command, optionsOrCb);
|
|
367
|
-
}
|
|
368
|
-
else if (typeof cb === "function") {
|
|
369
|
-
if (typeof optionsOrCb !== "object")
|
|
370
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
371
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
372
|
-
}
|
|
373
|
-
else {
|
|
374
|
-
return this.send(command, optionsOrCb);
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
createEventSubscription(args, optionsOrCb, cb) {
|
|
378
|
-
const command = new CreateEventSubscriptionCommand_1.CreateEventSubscriptionCommand(args);
|
|
379
|
-
if (typeof optionsOrCb === "function") {
|
|
380
|
-
this.send(command, optionsOrCb);
|
|
381
|
-
}
|
|
382
|
-
else if (typeof cb === "function") {
|
|
383
|
-
if (typeof optionsOrCb !== "object")
|
|
384
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
385
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
386
|
-
}
|
|
387
|
-
else {
|
|
388
|
-
return this.send(command, optionsOrCb);
|
|
389
|
-
}
|
|
390
|
-
}
|
|
391
|
-
createHsmClientCertificate(args, optionsOrCb, cb) {
|
|
392
|
-
const command = new CreateHsmClientCertificateCommand_1.CreateHsmClientCertificateCommand(args);
|
|
393
|
-
if (typeof optionsOrCb === "function") {
|
|
394
|
-
this.send(command, optionsOrCb);
|
|
395
|
-
}
|
|
396
|
-
else if (typeof cb === "function") {
|
|
397
|
-
if (typeof optionsOrCb !== "object")
|
|
398
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
399
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
400
|
-
}
|
|
401
|
-
else {
|
|
402
|
-
return this.send(command, optionsOrCb);
|
|
403
|
-
}
|
|
404
|
-
}
|
|
405
|
-
createHsmConfiguration(args, optionsOrCb, cb) {
|
|
406
|
-
const command = new CreateHsmConfigurationCommand_1.CreateHsmConfigurationCommand(args);
|
|
407
|
-
if (typeof optionsOrCb === "function") {
|
|
408
|
-
this.send(command, optionsOrCb);
|
|
409
|
-
}
|
|
410
|
-
else if (typeof cb === "function") {
|
|
411
|
-
if (typeof optionsOrCb !== "object")
|
|
412
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
413
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
414
|
-
}
|
|
415
|
-
else {
|
|
416
|
-
return this.send(command, optionsOrCb);
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
|
-
createScheduledAction(args, optionsOrCb, cb) {
|
|
420
|
-
const command = new CreateScheduledActionCommand_1.CreateScheduledActionCommand(args);
|
|
421
|
-
if (typeof optionsOrCb === "function") {
|
|
422
|
-
this.send(command, optionsOrCb);
|
|
423
|
-
}
|
|
424
|
-
else if (typeof cb === "function") {
|
|
425
|
-
if (typeof optionsOrCb !== "object")
|
|
426
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
427
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
428
|
-
}
|
|
429
|
-
else {
|
|
430
|
-
return this.send(command, optionsOrCb);
|
|
431
|
-
}
|
|
432
|
-
}
|
|
433
|
-
createSnapshotCopyGrant(args, optionsOrCb, cb) {
|
|
434
|
-
const command = new CreateSnapshotCopyGrantCommand_1.CreateSnapshotCopyGrantCommand(args);
|
|
435
|
-
if (typeof optionsOrCb === "function") {
|
|
436
|
-
this.send(command, optionsOrCb);
|
|
437
|
-
}
|
|
438
|
-
else if (typeof cb === "function") {
|
|
439
|
-
if (typeof optionsOrCb !== "object")
|
|
440
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
441
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
442
|
-
}
|
|
443
|
-
else {
|
|
444
|
-
return this.send(command, optionsOrCb);
|
|
445
|
-
}
|
|
446
|
-
}
|
|
447
|
-
createSnapshotSchedule(args, optionsOrCb, cb) {
|
|
448
|
-
const command = new CreateSnapshotScheduleCommand_1.CreateSnapshotScheduleCommand(args);
|
|
449
|
-
if (typeof optionsOrCb === "function") {
|
|
450
|
-
this.send(command, optionsOrCb);
|
|
451
|
-
}
|
|
452
|
-
else if (typeof cb === "function") {
|
|
453
|
-
if (typeof optionsOrCb !== "object")
|
|
454
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
455
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
456
|
-
}
|
|
457
|
-
else {
|
|
458
|
-
return this.send(command, optionsOrCb);
|
|
459
|
-
}
|
|
460
|
-
}
|
|
461
|
-
createTags(args, optionsOrCb, cb) {
|
|
462
|
-
const command = new CreateTagsCommand_1.CreateTagsCommand(args);
|
|
463
|
-
if (typeof optionsOrCb === "function") {
|
|
464
|
-
this.send(command, optionsOrCb);
|
|
465
|
-
}
|
|
466
|
-
else if (typeof cb === "function") {
|
|
467
|
-
if (typeof optionsOrCb !== "object")
|
|
468
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
469
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
470
|
-
}
|
|
471
|
-
else {
|
|
472
|
-
return this.send(command, optionsOrCb);
|
|
473
|
-
}
|
|
474
|
-
}
|
|
475
|
-
createUsageLimit(args, optionsOrCb, cb) {
|
|
476
|
-
const command = new CreateUsageLimitCommand_1.CreateUsageLimitCommand(args);
|
|
477
|
-
if (typeof optionsOrCb === "function") {
|
|
478
|
-
this.send(command, optionsOrCb);
|
|
479
|
-
}
|
|
480
|
-
else if (typeof cb === "function") {
|
|
481
|
-
if (typeof optionsOrCb !== "object")
|
|
482
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
483
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
484
|
-
}
|
|
485
|
-
else {
|
|
486
|
-
return this.send(command, optionsOrCb);
|
|
487
|
-
}
|
|
488
|
-
}
|
|
489
|
-
deauthorizeDataShare(args, optionsOrCb, cb) {
|
|
490
|
-
const command = new DeauthorizeDataShareCommand_1.DeauthorizeDataShareCommand(args);
|
|
491
|
-
if (typeof optionsOrCb === "function") {
|
|
492
|
-
this.send(command, optionsOrCb);
|
|
493
|
-
}
|
|
494
|
-
else if (typeof cb === "function") {
|
|
495
|
-
if (typeof optionsOrCb !== "object")
|
|
496
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
497
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
498
|
-
}
|
|
499
|
-
else {
|
|
500
|
-
return this.send(command, optionsOrCb);
|
|
501
|
-
}
|
|
502
|
-
}
|
|
503
|
-
deleteAuthenticationProfile(args, optionsOrCb, cb) {
|
|
504
|
-
const command = new DeleteAuthenticationProfileCommand_1.DeleteAuthenticationProfileCommand(args);
|
|
505
|
-
if (typeof optionsOrCb === "function") {
|
|
506
|
-
this.send(command, optionsOrCb);
|
|
507
|
-
}
|
|
508
|
-
else if (typeof cb === "function") {
|
|
509
|
-
if (typeof optionsOrCb !== "object")
|
|
510
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
511
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
512
|
-
}
|
|
513
|
-
else {
|
|
514
|
-
return this.send(command, optionsOrCb);
|
|
515
|
-
}
|
|
516
|
-
}
|
|
517
|
-
deleteCluster(args, optionsOrCb, cb) {
|
|
518
|
-
const command = new DeleteClusterCommand_1.DeleteClusterCommand(args);
|
|
519
|
-
if (typeof optionsOrCb === "function") {
|
|
520
|
-
this.send(command, optionsOrCb);
|
|
521
|
-
}
|
|
522
|
-
else if (typeof cb === "function") {
|
|
523
|
-
if (typeof optionsOrCb !== "object")
|
|
524
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
525
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
526
|
-
}
|
|
527
|
-
else {
|
|
528
|
-
return this.send(command, optionsOrCb);
|
|
529
|
-
}
|
|
530
|
-
}
|
|
531
|
-
deleteClusterParameterGroup(args, optionsOrCb, cb) {
|
|
532
|
-
const command = new DeleteClusterParameterGroupCommand_1.DeleteClusterParameterGroupCommand(args);
|
|
533
|
-
if (typeof optionsOrCb === "function") {
|
|
534
|
-
this.send(command, optionsOrCb);
|
|
535
|
-
}
|
|
536
|
-
else if (typeof cb === "function") {
|
|
537
|
-
if (typeof optionsOrCb !== "object")
|
|
538
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
539
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
540
|
-
}
|
|
541
|
-
else {
|
|
542
|
-
return this.send(command, optionsOrCb);
|
|
543
|
-
}
|
|
544
|
-
}
|
|
545
|
-
deleteClusterSecurityGroup(args, optionsOrCb, cb) {
|
|
546
|
-
const command = new DeleteClusterSecurityGroupCommand_1.DeleteClusterSecurityGroupCommand(args);
|
|
547
|
-
if (typeof optionsOrCb === "function") {
|
|
548
|
-
this.send(command, optionsOrCb);
|
|
549
|
-
}
|
|
550
|
-
else if (typeof cb === "function") {
|
|
551
|
-
if (typeof optionsOrCb !== "object")
|
|
552
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
553
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
554
|
-
}
|
|
555
|
-
else {
|
|
556
|
-
return this.send(command, optionsOrCb);
|
|
557
|
-
}
|
|
558
|
-
}
|
|
559
|
-
deleteClusterSnapshot(args, optionsOrCb, cb) {
|
|
560
|
-
const command = new DeleteClusterSnapshotCommand_1.DeleteClusterSnapshotCommand(args);
|
|
561
|
-
if (typeof optionsOrCb === "function") {
|
|
562
|
-
this.send(command, optionsOrCb);
|
|
563
|
-
}
|
|
564
|
-
else if (typeof cb === "function") {
|
|
565
|
-
if (typeof optionsOrCb !== "object")
|
|
566
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
567
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
568
|
-
}
|
|
569
|
-
else {
|
|
570
|
-
return this.send(command, optionsOrCb);
|
|
571
|
-
}
|
|
572
|
-
}
|
|
573
|
-
deleteClusterSubnetGroup(args, optionsOrCb, cb) {
|
|
574
|
-
const command = new DeleteClusterSubnetGroupCommand_1.DeleteClusterSubnetGroupCommand(args);
|
|
575
|
-
if (typeof optionsOrCb === "function") {
|
|
576
|
-
this.send(command, optionsOrCb);
|
|
577
|
-
}
|
|
578
|
-
else if (typeof cb === "function") {
|
|
579
|
-
if (typeof optionsOrCb !== "object")
|
|
580
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
581
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
582
|
-
}
|
|
583
|
-
else {
|
|
584
|
-
return this.send(command, optionsOrCb);
|
|
585
|
-
}
|
|
586
|
-
}
|
|
587
|
-
deleteEndpointAccess(args, optionsOrCb, cb) {
|
|
588
|
-
const command = new DeleteEndpointAccessCommand_1.DeleteEndpointAccessCommand(args);
|
|
589
|
-
if (typeof optionsOrCb === "function") {
|
|
590
|
-
this.send(command, optionsOrCb);
|
|
591
|
-
}
|
|
592
|
-
else if (typeof cb === "function") {
|
|
593
|
-
if (typeof optionsOrCb !== "object")
|
|
594
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
595
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
596
|
-
}
|
|
597
|
-
else {
|
|
598
|
-
return this.send(command, optionsOrCb);
|
|
599
|
-
}
|
|
600
|
-
}
|
|
601
|
-
deleteEventSubscription(args, optionsOrCb, cb) {
|
|
602
|
-
const command = new DeleteEventSubscriptionCommand_1.DeleteEventSubscriptionCommand(args);
|
|
603
|
-
if (typeof optionsOrCb === "function") {
|
|
604
|
-
this.send(command, optionsOrCb);
|
|
605
|
-
}
|
|
606
|
-
else if (typeof cb === "function") {
|
|
607
|
-
if (typeof optionsOrCb !== "object")
|
|
608
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
609
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
610
|
-
}
|
|
611
|
-
else {
|
|
612
|
-
return this.send(command, optionsOrCb);
|
|
613
|
-
}
|
|
614
|
-
}
|
|
615
|
-
deleteHsmClientCertificate(args, optionsOrCb, cb) {
|
|
616
|
-
const command = new DeleteHsmClientCertificateCommand_1.DeleteHsmClientCertificateCommand(args);
|
|
617
|
-
if (typeof optionsOrCb === "function") {
|
|
618
|
-
this.send(command, optionsOrCb);
|
|
619
|
-
}
|
|
620
|
-
else if (typeof cb === "function") {
|
|
621
|
-
if (typeof optionsOrCb !== "object")
|
|
622
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
623
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
624
|
-
}
|
|
625
|
-
else {
|
|
626
|
-
return this.send(command, optionsOrCb);
|
|
627
|
-
}
|
|
628
|
-
}
|
|
629
|
-
deleteHsmConfiguration(args, optionsOrCb, cb) {
|
|
630
|
-
const command = new DeleteHsmConfigurationCommand_1.DeleteHsmConfigurationCommand(args);
|
|
631
|
-
if (typeof optionsOrCb === "function") {
|
|
632
|
-
this.send(command, optionsOrCb);
|
|
633
|
-
}
|
|
634
|
-
else if (typeof cb === "function") {
|
|
635
|
-
if (typeof optionsOrCb !== "object")
|
|
636
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
637
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
638
|
-
}
|
|
639
|
-
else {
|
|
640
|
-
return this.send(command, optionsOrCb);
|
|
641
|
-
}
|
|
642
|
-
}
|
|
643
|
-
deletePartner(args, optionsOrCb, cb) {
|
|
644
|
-
const command = new DeletePartnerCommand_1.DeletePartnerCommand(args);
|
|
645
|
-
if (typeof optionsOrCb === "function") {
|
|
646
|
-
this.send(command, optionsOrCb);
|
|
647
|
-
}
|
|
648
|
-
else if (typeof cb === "function") {
|
|
649
|
-
if (typeof optionsOrCb !== "object")
|
|
650
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
651
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
652
|
-
}
|
|
653
|
-
else {
|
|
654
|
-
return this.send(command, optionsOrCb);
|
|
655
|
-
}
|
|
656
|
-
}
|
|
657
|
-
deleteScheduledAction(args, optionsOrCb, cb) {
|
|
658
|
-
const command = new DeleteScheduledActionCommand_1.DeleteScheduledActionCommand(args);
|
|
659
|
-
if (typeof optionsOrCb === "function") {
|
|
660
|
-
this.send(command, optionsOrCb);
|
|
661
|
-
}
|
|
662
|
-
else if (typeof cb === "function") {
|
|
663
|
-
if (typeof optionsOrCb !== "object")
|
|
664
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
665
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
666
|
-
}
|
|
667
|
-
else {
|
|
668
|
-
return this.send(command, optionsOrCb);
|
|
669
|
-
}
|
|
670
|
-
}
|
|
671
|
-
deleteSnapshotCopyGrant(args, optionsOrCb, cb) {
|
|
672
|
-
const command = new DeleteSnapshotCopyGrantCommand_1.DeleteSnapshotCopyGrantCommand(args);
|
|
673
|
-
if (typeof optionsOrCb === "function") {
|
|
674
|
-
this.send(command, optionsOrCb);
|
|
675
|
-
}
|
|
676
|
-
else if (typeof cb === "function") {
|
|
677
|
-
if (typeof optionsOrCb !== "object")
|
|
678
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
679
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
680
|
-
}
|
|
681
|
-
else {
|
|
682
|
-
return this.send(command, optionsOrCb);
|
|
683
|
-
}
|
|
684
|
-
}
|
|
685
|
-
deleteSnapshotSchedule(args, optionsOrCb, cb) {
|
|
686
|
-
const command = new DeleteSnapshotScheduleCommand_1.DeleteSnapshotScheduleCommand(args);
|
|
687
|
-
if (typeof optionsOrCb === "function") {
|
|
688
|
-
this.send(command, optionsOrCb);
|
|
689
|
-
}
|
|
690
|
-
else if (typeof cb === "function") {
|
|
691
|
-
if (typeof optionsOrCb !== "object")
|
|
692
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
693
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
694
|
-
}
|
|
695
|
-
else {
|
|
696
|
-
return this.send(command, optionsOrCb);
|
|
697
|
-
}
|
|
698
|
-
}
|
|
699
|
-
deleteTags(args, optionsOrCb, cb) {
|
|
700
|
-
const command = new DeleteTagsCommand_1.DeleteTagsCommand(args);
|
|
701
|
-
if (typeof optionsOrCb === "function") {
|
|
702
|
-
this.send(command, optionsOrCb);
|
|
703
|
-
}
|
|
704
|
-
else if (typeof cb === "function") {
|
|
705
|
-
if (typeof optionsOrCb !== "object")
|
|
706
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
707
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
708
|
-
}
|
|
709
|
-
else {
|
|
710
|
-
return this.send(command, optionsOrCb);
|
|
711
|
-
}
|
|
712
|
-
}
|
|
713
|
-
deleteUsageLimit(args, optionsOrCb, cb) {
|
|
714
|
-
const command = new DeleteUsageLimitCommand_1.DeleteUsageLimitCommand(args);
|
|
715
|
-
if (typeof optionsOrCb === "function") {
|
|
716
|
-
this.send(command, optionsOrCb);
|
|
717
|
-
}
|
|
718
|
-
else if (typeof cb === "function") {
|
|
719
|
-
if (typeof optionsOrCb !== "object")
|
|
720
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
721
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
722
|
-
}
|
|
723
|
-
else {
|
|
724
|
-
return this.send(command, optionsOrCb);
|
|
725
|
-
}
|
|
726
|
-
}
|
|
727
|
-
describeAccountAttributes(args, optionsOrCb, cb) {
|
|
728
|
-
const command = new DescribeAccountAttributesCommand_1.DescribeAccountAttributesCommand(args);
|
|
729
|
-
if (typeof optionsOrCb === "function") {
|
|
730
|
-
this.send(command, optionsOrCb);
|
|
731
|
-
}
|
|
732
|
-
else if (typeof cb === "function") {
|
|
733
|
-
if (typeof optionsOrCb !== "object")
|
|
734
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
735
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
736
|
-
}
|
|
737
|
-
else {
|
|
738
|
-
return this.send(command, optionsOrCb);
|
|
739
|
-
}
|
|
740
|
-
}
|
|
741
|
-
describeAuthenticationProfiles(args, optionsOrCb, cb) {
|
|
742
|
-
const command = new DescribeAuthenticationProfilesCommand_1.DescribeAuthenticationProfilesCommand(args);
|
|
743
|
-
if (typeof optionsOrCb === "function") {
|
|
744
|
-
this.send(command, optionsOrCb);
|
|
745
|
-
}
|
|
746
|
-
else if (typeof cb === "function") {
|
|
747
|
-
if (typeof optionsOrCb !== "object")
|
|
748
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
749
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
750
|
-
}
|
|
751
|
-
else {
|
|
752
|
-
return this.send(command, optionsOrCb);
|
|
753
|
-
}
|
|
754
|
-
}
|
|
755
|
-
describeClusterDbRevisions(args, optionsOrCb, cb) {
|
|
756
|
-
const command = new DescribeClusterDbRevisionsCommand_1.DescribeClusterDbRevisionsCommand(args);
|
|
757
|
-
if (typeof optionsOrCb === "function") {
|
|
758
|
-
this.send(command, optionsOrCb);
|
|
759
|
-
}
|
|
760
|
-
else if (typeof cb === "function") {
|
|
761
|
-
if (typeof optionsOrCb !== "object")
|
|
762
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
763
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
764
|
-
}
|
|
765
|
-
else {
|
|
766
|
-
return this.send(command, optionsOrCb);
|
|
767
|
-
}
|
|
768
|
-
}
|
|
769
|
-
describeClusterParameterGroups(args, optionsOrCb, cb) {
|
|
770
|
-
const command = new DescribeClusterParameterGroupsCommand_1.DescribeClusterParameterGroupsCommand(args);
|
|
771
|
-
if (typeof optionsOrCb === "function") {
|
|
772
|
-
this.send(command, optionsOrCb);
|
|
773
|
-
}
|
|
774
|
-
else if (typeof cb === "function") {
|
|
775
|
-
if (typeof optionsOrCb !== "object")
|
|
776
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
777
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
778
|
-
}
|
|
779
|
-
else {
|
|
780
|
-
return this.send(command, optionsOrCb);
|
|
781
|
-
}
|
|
782
|
-
}
|
|
783
|
-
describeClusterParameters(args, optionsOrCb, cb) {
|
|
784
|
-
const command = new DescribeClusterParametersCommand_1.DescribeClusterParametersCommand(args);
|
|
785
|
-
if (typeof optionsOrCb === "function") {
|
|
786
|
-
this.send(command, optionsOrCb);
|
|
787
|
-
}
|
|
788
|
-
else if (typeof cb === "function") {
|
|
789
|
-
if (typeof optionsOrCb !== "object")
|
|
790
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
791
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
792
|
-
}
|
|
793
|
-
else {
|
|
794
|
-
return this.send(command, optionsOrCb);
|
|
795
|
-
}
|
|
796
|
-
}
|
|
797
|
-
describeClusters(args, optionsOrCb, cb) {
|
|
798
|
-
const command = new DescribeClustersCommand_1.DescribeClustersCommand(args);
|
|
799
|
-
if (typeof optionsOrCb === "function") {
|
|
800
|
-
this.send(command, optionsOrCb);
|
|
801
|
-
}
|
|
802
|
-
else if (typeof cb === "function") {
|
|
803
|
-
if (typeof optionsOrCb !== "object")
|
|
804
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
805
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
806
|
-
}
|
|
807
|
-
else {
|
|
808
|
-
return this.send(command, optionsOrCb);
|
|
809
|
-
}
|
|
810
|
-
}
|
|
811
|
-
describeClusterSecurityGroups(args, optionsOrCb, cb) {
|
|
812
|
-
const command = new DescribeClusterSecurityGroupsCommand_1.DescribeClusterSecurityGroupsCommand(args);
|
|
813
|
-
if (typeof optionsOrCb === "function") {
|
|
814
|
-
this.send(command, optionsOrCb);
|
|
815
|
-
}
|
|
816
|
-
else if (typeof cb === "function") {
|
|
817
|
-
if (typeof optionsOrCb !== "object")
|
|
818
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
819
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
820
|
-
}
|
|
821
|
-
else {
|
|
822
|
-
return this.send(command, optionsOrCb);
|
|
823
|
-
}
|
|
824
|
-
}
|
|
825
|
-
describeClusterSnapshots(args, optionsOrCb, cb) {
|
|
826
|
-
const command = new DescribeClusterSnapshotsCommand_1.DescribeClusterSnapshotsCommand(args);
|
|
827
|
-
if (typeof optionsOrCb === "function") {
|
|
828
|
-
this.send(command, optionsOrCb);
|
|
829
|
-
}
|
|
830
|
-
else if (typeof cb === "function") {
|
|
831
|
-
if (typeof optionsOrCb !== "object")
|
|
832
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
833
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
834
|
-
}
|
|
835
|
-
else {
|
|
836
|
-
return this.send(command, optionsOrCb);
|
|
837
|
-
}
|
|
838
|
-
}
|
|
839
|
-
describeClusterSubnetGroups(args, optionsOrCb, cb) {
|
|
840
|
-
const command = new DescribeClusterSubnetGroupsCommand_1.DescribeClusterSubnetGroupsCommand(args);
|
|
841
|
-
if (typeof optionsOrCb === "function") {
|
|
842
|
-
this.send(command, optionsOrCb);
|
|
843
|
-
}
|
|
844
|
-
else if (typeof cb === "function") {
|
|
845
|
-
if (typeof optionsOrCb !== "object")
|
|
846
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
847
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
848
|
-
}
|
|
849
|
-
else {
|
|
850
|
-
return this.send(command, optionsOrCb);
|
|
851
|
-
}
|
|
852
|
-
}
|
|
853
|
-
describeClusterTracks(args, optionsOrCb, cb) {
|
|
854
|
-
const command = new DescribeClusterTracksCommand_1.DescribeClusterTracksCommand(args);
|
|
855
|
-
if (typeof optionsOrCb === "function") {
|
|
856
|
-
this.send(command, optionsOrCb);
|
|
857
|
-
}
|
|
858
|
-
else if (typeof cb === "function") {
|
|
859
|
-
if (typeof optionsOrCb !== "object")
|
|
860
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
861
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
862
|
-
}
|
|
863
|
-
else {
|
|
864
|
-
return this.send(command, optionsOrCb);
|
|
865
|
-
}
|
|
866
|
-
}
|
|
867
|
-
describeClusterVersions(args, optionsOrCb, cb) {
|
|
868
|
-
const command = new DescribeClusterVersionsCommand_1.DescribeClusterVersionsCommand(args);
|
|
869
|
-
if (typeof optionsOrCb === "function") {
|
|
870
|
-
this.send(command, optionsOrCb);
|
|
871
|
-
}
|
|
872
|
-
else if (typeof cb === "function") {
|
|
873
|
-
if (typeof optionsOrCb !== "object")
|
|
874
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
875
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
876
|
-
}
|
|
877
|
-
else {
|
|
878
|
-
return this.send(command, optionsOrCb);
|
|
879
|
-
}
|
|
880
|
-
}
|
|
881
|
-
describeDataShares(args, optionsOrCb, cb) {
|
|
882
|
-
const command = new DescribeDataSharesCommand_1.DescribeDataSharesCommand(args);
|
|
883
|
-
if (typeof optionsOrCb === "function") {
|
|
884
|
-
this.send(command, optionsOrCb);
|
|
885
|
-
}
|
|
886
|
-
else if (typeof cb === "function") {
|
|
887
|
-
if (typeof optionsOrCb !== "object")
|
|
888
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
889
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
890
|
-
}
|
|
891
|
-
else {
|
|
892
|
-
return this.send(command, optionsOrCb);
|
|
893
|
-
}
|
|
894
|
-
}
|
|
895
|
-
describeDataSharesForConsumer(args, optionsOrCb, cb) {
|
|
896
|
-
const command = new DescribeDataSharesForConsumerCommand_1.DescribeDataSharesForConsumerCommand(args);
|
|
897
|
-
if (typeof optionsOrCb === "function") {
|
|
898
|
-
this.send(command, optionsOrCb);
|
|
899
|
-
}
|
|
900
|
-
else if (typeof cb === "function") {
|
|
901
|
-
if (typeof optionsOrCb !== "object")
|
|
902
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
903
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
904
|
-
}
|
|
905
|
-
else {
|
|
906
|
-
return this.send(command, optionsOrCb);
|
|
907
|
-
}
|
|
908
|
-
}
|
|
909
|
-
describeDataSharesForProducer(args, optionsOrCb, cb) {
|
|
910
|
-
const command = new DescribeDataSharesForProducerCommand_1.DescribeDataSharesForProducerCommand(args);
|
|
911
|
-
if (typeof optionsOrCb === "function") {
|
|
912
|
-
this.send(command, optionsOrCb);
|
|
913
|
-
}
|
|
914
|
-
else if (typeof cb === "function") {
|
|
915
|
-
if (typeof optionsOrCb !== "object")
|
|
916
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
917
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
918
|
-
}
|
|
919
|
-
else {
|
|
920
|
-
return this.send(command, optionsOrCb);
|
|
921
|
-
}
|
|
922
|
-
}
|
|
923
|
-
describeDefaultClusterParameters(args, optionsOrCb, cb) {
|
|
924
|
-
const command = new DescribeDefaultClusterParametersCommand_1.DescribeDefaultClusterParametersCommand(args);
|
|
925
|
-
if (typeof optionsOrCb === "function") {
|
|
926
|
-
this.send(command, optionsOrCb);
|
|
927
|
-
}
|
|
928
|
-
else if (typeof cb === "function") {
|
|
929
|
-
if (typeof optionsOrCb !== "object")
|
|
930
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
931
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
932
|
-
}
|
|
933
|
-
else {
|
|
934
|
-
return this.send(command, optionsOrCb);
|
|
935
|
-
}
|
|
936
|
-
}
|
|
937
|
-
describeEndpointAccess(args, optionsOrCb, cb) {
|
|
938
|
-
const command = new DescribeEndpointAccessCommand_1.DescribeEndpointAccessCommand(args);
|
|
939
|
-
if (typeof optionsOrCb === "function") {
|
|
940
|
-
this.send(command, optionsOrCb);
|
|
941
|
-
}
|
|
942
|
-
else if (typeof cb === "function") {
|
|
943
|
-
if (typeof optionsOrCb !== "object")
|
|
944
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
945
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
946
|
-
}
|
|
947
|
-
else {
|
|
948
|
-
return this.send(command, optionsOrCb);
|
|
949
|
-
}
|
|
950
|
-
}
|
|
951
|
-
describeEndpointAuthorization(args, optionsOrCb, cb) {
|
|
952
|
-
const command = new DescribeEndpointAuthorizationCommand_1.DescribeEndpointAuthorizationCommand(args);
|
|
953
|
-
if (typeof optionsOrCb === "function") {
|
|
954
|
-
this.send(command, optionsOrCb);
|
|
955
|
-
}
|
|
956
|
-
else if (typeof cb === "function") {
|
|
957
|
-
if (typeof optionsOrCb !== "object")
|
|
958
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
959
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
960
|
-
}
|
|
961
|
-
else {
|
|
962
|
-
return this.send(command, optionsOrCb);
|
|
963
|
-
}
|
|
964
|
-
}
|
|
965
|
-
describeEventCategories(args, optionsOrCb, cb) {
|
|
966
|
-
const command = new DescribeEventCategoriesCommand_1.DescribeEventCategoriesCommand(args);
|
|
967
|
-
if (typeof optionsOrCb === "function") {
|
|
968
|
-
this.send(command, optionsOrCb);
|
|
969
|
-
}
|
|
970
|
-
else if (typeof cb === "function") {
|
|
971
|
-
if (typeof optionsOrCb !== "object")
|
|
972
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
973
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
974
|
-
}
|
|
975
|
-
else {
|
|
976
|
-
return this.send(command, optionsOrCb);
|
|
977
|
-
}
|
|
978
|
-
}
|
|
979
|
-
describeEvents(args, optionsOrCb, cb) {
|
|
980
|
-
const command = new DescribeEventsCommand_1.DescribeEventsCommand(args);
|
|
981
|
-
if (typeof optionsOrCb === "function") {
|
|
982
|
-
this.send(command, optionsOrCb);
|
|
983
|
-
}
|
|
984
|
-
else if (typeof cb === "function") {
|
|
985
|
-
if (typeof optionsOrCb !== "object")
|
|
986
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
987
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
988
|
-
}
|
|
989
|
-
else {
|
|
990
|
-
return this.send(command, optionsOrCb);
|
|
991
|
-
}
|
|
992
|
-
}
|
|
993
|
-
describeEventSubscriptions(args, optionsOrCb, cb) {
|
|
994
|
-
const command = new DescribeEventSubscriptionsCommand_1.DescribeEventSubscriptionsCommand(args);
|
|
995
|
-
if (typeof optionsOrCb === "function") {
|
|
996
|
-
this.send(command, optionsOrCb);
|
|
997
|
-
}
|
|
998
|
-
else if (typeof cb === "function") {
|
|
999
|
-
if (typeof optionsOrCb !== "object")
|
|
1000
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1001
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1002
|
-
}
|
|
1003
|
-
else {
|
|
1004
|
-
return this.send(command, optionsOrCb);
|
|
1005
|
-
}
|
|
1006
|
-
}
|
|
1007
|
-
describeHsmClientCertificates(args, optionsOrCb, cb) {
|
|
1008
|
-
const command = new DescribeHsmClientCertificatesCommand_1.DescribeHsmClientCertificatesCommand(args);
|
|
1009
|
-
if (typeof optionsOrCb === "function") {
|
|
1010
|
-
this.send(command, optionsOrCb);
|
|
1011
|
-
}
|
|
1012
|
-
else if (typeof cb === "function") {
|
|
1013
|
-
if (typeof optionsOrCb !== "object")
|
|
1014
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1015
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1016
|
-
}
|
|
1017
|
-
else {
|
|
1018
|
-
return this.send(command, optionsOrCb);
|
|
1019
|
-
}
|
|
1020
|
-
}
|
|
1021
|
-
describeHsmConfigurations(args, optionsOrCb, cb) {
|
|
1022
|
-
const command = new DescribeHsmConfigurationsCommand_1.DescribeHsmConfigurationsCommand(args);
|
|
1023
|
-
if (typeof optionsOrCb === "function") {
|
|
1024
|
-
this.send(command, optionsOrCb);
|
|
1025
|
-
}
|
|
1026
|
-
else if (typeof cb === "function") {
|
|
1027
|
-
if (typeof optionsOrCb !== "object")
|
|
1028
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1029
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1030
|
-
}
|
|
1031
|
-
else {
|
|
1032
|
-
return this.send(command, optionsOrCb);
|
|
1033
|
-
}
|
|
1034
|
-
}
|
|
1035
|
-
describeLoggingStatus(args, optionsOrCb, cb) {
|
|
1036
|
-
const command = new DescribeLoggingStatusCommand_1.DescribeLoggingStatusCommand(args);
|
|
1037
|
-
if (typeof optionsOrCb === "function") {
|
|
1038
|
-
this.send(command, optionsOrCb);
|
|
1039
|
-
}
|
|
1040
|
-
else if (typeof cb === "function") {
|
|
1041
|
-
if (typeof optionsOrCb !== "object")
|
|
1042
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1043
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1044
|
-
}
|
|
1045
|
-
else {
|
|
1046
|
-
return this.send(command, optionsOrCb);
|
|
1047
|
-
}
|
|
1048
|
-
}
|
|
1049
|
-
describeNodeConfigurationOptions(args, optionsOrCb, cb) {
|
|
1050
|
-
const command = new DescribeNodeConfigurationOptionsCommand_1.DescribeNodeConfigurationOptionsCommand(args);
|
|
1051
|
-
if (typeof optionsOrCb === "function") {
|
|
1052
|
-
this.send(command, optionsOrCb);
|
|
1053
|
-
}
|
|
1054
|
-
else if (typeof cb === "function") {
|
|
1055
|
-
if (typeof optionsOrCb !== "object")
|
|
1056
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1057
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1058
|
-
}
|
|
1059
|
-
else {
|
|
1060
|
-
return this.send(command, optionsOrCb);
|
|
1061
|
-
}
|
|
1062
|
-
}
|
|
1063
|
-
describeOrderableClusterOptions(args, optionsOrCb, cb) {
|
|
1064
|
-
const command = new DescribeOrderableClusterOptionsCommand_1.DescribeOrderableClusterOptionsCommand(args);
|
|
1065
|
-
if (typeof optionsOrCb === "function") {
|
|
1066
|
-
this.send(command, optionsOrCb);
|
|
1067
|
-
}
|
|
1068
|
-
else if (typeof cb === "function") {
|
|
1069
|
-
if (typeof optionsOrCb !== "object")
|
|
1070
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1071
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1072
|
-
}
|
|
1073
|
-
else {
|
|
1074
|
-
return this.send(command, optionsOrCb);
|
|
1075
|
-
}
|
|
1076
|
-
}
|
|
1077
|
-
describePartners(args, optionsOrCb, cb) {
|
|
1078
|
-
const command = new DescribePartnersCommand_1.DescribePartnersCommand(args);
|
|
1079
|
-
if (typeof optionsOrCb === "function") {
|
|
1080
|
-
this.send(command, optionsOrCb);
|
|
1081
|
-
}
|
|
1082
|
-
else if (typeof cb === "function") {
|
|
1083
|
-
if (typeof optionsOrCb !== "object")
|
|
1084
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1085
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1086
|
-
}
|
|
1087
|
-
else {
|
|
1088
|
-
return this.send(command, optionsOrCb);
|
|
1089
|
-
}
|
|
1090
|
-
}
|
|
1091
|
-
describeReservedNodeExchangeStatus(args, optionsOrCb, cb) {
|
|
1092
|
-
const command = new DescribeReservedNodeExchangeStatusCommand_1.DescribeReservedNodeExchangeStatusCommand(args);
|
|
1093
|
-
if (typeof optionsOrCb === "function") {
|
|
1094
|
-
this.send(command, optionsOrCb);
|
|
1095
|
-
}
|
|
1096
|
-
else if (typeof cb === "function") {
|
|
1097
|
-
if (typeof optionsOrCb !== "object")
|
|
1098
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1099
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1100
|
-
}
|
|
1101
|
-
else {
|
|
1102
|
-
return this.send(command, optionsOrCb);
|
|
1103
|
-
}
|
|
1104
|
-
}
|
|
1105
|
-
describeReservedNodeOfferings(args, optionsOrCb, cb) {
|
|
1106
|
-
const command = new DescribeReservedNodeOfferingsCommand_1.DescribeReservedNodeOfferingsCommand(args);
|
|
1107
|
-
if (typeof optionsOrCb === "function") {
|
|
1108
|
-
this.send(command, optionsOrCb);
|
|
1109
|
-
}
|
|
1110
|
-
else if (typeof cb === "function") {
|
|
1111
|
-
if (typeof optionsOrCb !== "object")
|
|
1112
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1113
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1114
|
-
}
|
|
1115
|
-
else {
|
|
1116
|
-
return this.send(command, optionsOrCb);
|
|
1117
|
-
}
|
|
1118
|
-
}
|
|
1119
|
-
describeReservedNodes(args, optionsOrCb, cb) {
|
|
1120
|
-
const command = new DescribeReservedNodesCommand_1.DescribeReservedNodesCommand(args);
|
|
1121
|
-
if (typeof optionsOrCb === "function") {
|
|
1122
|
-
this.send(command, optionsOrCb);
|
|
1123
|
-
}
|
|
1124
|
-
else if (typeof cb === "function") {
|
|
1125
|
-
if (typeof optionsOrCb !== "object")
|
|
1126
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1127
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1128
|
-
}
|
|
1129
|
-
else {
|
|
1130
|
-
return this.send(command, optionsOrCb);
|
|
1131
|
-
}
|
|
1132
|
-
}
|
|
1133
|
-
describeResize(args, optionsOrCb, cb) {
|
|
1134
|
-
const command = new DescribeResizeCommand_1.DescribeResizeCommand(args);
|
|
1135
|
-
if (typeof optionsOrCb === "function") {
|
|
1136
|
-
this.send(command, optionsOrCb);
|
|
1137
|
-
}
|
|
1138
|
-
else if (typeof cb === "function") {
|
|
1139
|
-
if (typeof optionsOrCb !== "object")
|
|
1140
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1141
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1142
|
-
}
|
|
1143
|
-
else {
|
|
1144
|
-
return this.send(command, optionsOrCb);
|
|
1145
|
-
}
|
|
1146
|
-
}
|
|
1147
|
-
describeScheduledActions(args, optionsOrCb, cb) {
|
|
1148
|
-
const command = new DescribeScheduledActionsCommand_1.DescribeScheduledActionsCommand(args);
|
|
1149
|
-
if (typeof optionsOrCb === "function") {
|
|
1150
|
-
this.send(command, optionsOrCb);
|
|
1151
|
-
}
|
|
1152
|
-
else if (typeof cb === "function") {
|
|
1153
|
-
if (typeof optionsOrCb !== "object")
|
|
1154
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1155
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1156
|
-
}
|
|
1157
|
-
else {
|
|
1158
|
-
return this.send(command, optionsOrCb);
|
|
1159
|
-
}
|
|
1160
|
-
}
|
|
1161
|
-
describeSnapshotCopyGrants(args, optionsOrCb, cb) {
|
|
1162
|
-
const command = new DescribeSnapshotCopyGrantsCommand_1.DescribeSnapshotCopyGrantsCommand(args);
|
|
1163
|
-
if (typeof optionsOrCb === "function") {
|
|
1164
|
-
this.send(command, optionsOrCb);
|
|
1165
|
-
}
|
|
1166
|
-
else if (typeof cb === "function") {
|
|
1167
|
-
if (typeof optionsOrCb !== "object")
|
|
1168
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1169
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1170
|
-
}
|
|
1171
|
-
else {
|
|
1172
|
-
return this.send(command, optionsOrCb);
|
|
1173
|
-
}
|
|
1174
|
-
}
|
|
1175
|
-
describeSnapshotSchedules(args, optionsOrCb, cb) {
|
|
1176
|
-
const command = new DescribeSnapshotSchedulesCommand_1.DescribeSnapshotSchedulesCommand(args);
|
|
1177
|
-
if (typeof optionsOrCb === "function") {
|
|
1178
|
-
this.send(command, optionsOrCb);
|
|
1179
|
-
}
|
|
1180
|
-
else if (typeof cb === "function") {
|
|
1181
|
-
if (typeof optionsOrCb !== "object")
|
|
1182
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1183
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1184
|
-
}
|
|
1185
|
-
else {
|
|
1186
|
-
return this.send(command, optionsOrCb);
|
|
1187
|
-
}
|
|
1188
|
-
}
|
|
1189
|
-
describeStorage(args, optionsOrCb, cb) {
|
|
1190
|
-
const command = new DescribeStorageCommand_1.DescribeStorageCommand(args);
|
|
1191
|
-
if (typeof optionsOrCb === "function") {
|
|
1192
|
-
this.send(command, optionsOrCb);
|
|
1193
|
-
}
|
|
1194
|
-
else if (typeof cb === "function") {
|
|
1195
|
-
if (typeof optionsOrCb !== "object")
|
|
1196
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1197
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1198
|
-
}
|
|
1199
|
-
else {
|
|
1200
|
-
return this.send(command, optionsOrCb);
|
|
1201
|
-
}
|
|
1202
|
-
}
|
|
1203
|
-
describeTableRestoreStatus(args, optionsOrCb, cb) {
|
|
1204
|
-
const command = new DescribeTableRestoreStatusCommand_1.DescribeTableRestoreStatusCommand(args);
|
|
1205
|
-
if (typeof optionsOrCb === "function") {
|
|
1206
|
-
this.send(command, optionsOrCb);
|
|
1207
|
-
}
|
|
1208
|
-
else if (typeof cb === "function") {
|
|
1209
|
-
if (typeof optionsOrCb !== "object")
|
|
1210
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1211
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1212
|
-
}
|
|
1213
|
-
else {
|
|
1214
|
-
return this.send(command, optionsOrCb);
|
|
1215
|
-
}
|
|
1216
|
-
}
|
|
1217
|
-
describeTags(args, optionsOrCb, cb) {
|
|
1218
|
-
const command = new DescribeTagsCommand_1.DescribeTagsCommand(args);
|
|
1219
|
-
if (typeof optionsOrCb === "function") {
|
|
1220
|
-
this.send(command, optionsOrCb);
|
|
1221
|
-
}
|
|
1222
|
-
else if (typeof cb === "function") {
|
|
1223
|
-
if (typeof optionsOrCb !== "object")
|
|
1224
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1225
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1226
|
-
}
|
|
1227
|
-
else {
|
|
1228
|
-
return this.send(command, optionsOrCb);
|
|
1229
|
-
}
|
|
1230
|
-
}
|
|
1231
|
-
describeUsageLimits(args, optionsOrCb, cb) {
|
|
1232
|
-
const command = new DescribeUsageLimitsCommand_1.DescribeUsageLimitsCommand(args);
|
|
1233
|
-
if (typeof optionsOrCb === "function") {
|
|
1234
|
-
this.send(command, optionsOrCb);
|
|
1235
|
-
}
|
|
1236
|
-
else if (typeof cb === "function") {
|
|
1237
|
-
if (typeof optionsOrCb !== "object")
|
|
1238
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1239
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1240
|
-
}
|
|
1241
|
-
else {
|
|
1242
|
-
return this.send(command, optionsOrCb);
|
|
1243
|
-
}
|
|
1244
|
-
}
|
|
1245
|
-
disableLogging(args, optionsOrCb, cb) {
|
|
1246
|
-
const command = new DisableLoggingCommand_1.DisableLoggingCommand(args);
|
|
1247
|
-
if (typeof optionsOrCb === "function") {
|
|
1248
|
-
this.send(command, optionsOrCb);
|
|
1249
|
-
}
|
|
1250
|
-
else if (typeof cb === "function") {
|
|
1251
|
-
if (typeof optionsOrCb !== "object")
|
|
1252
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1253
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1254
|
-
}
|
|
1255
|
-
else {
|
|
1256
|
-
return this.send(command, optionsOrCb);
|
|
1257
|
-
}
|
|
1258
|
-
}
|
|
1259
|
-
disableSnapshotCopy(args, optionsOrCb, cb) {
|
|
1260
|
-
const command = new DisableSnapshotCopyCommand_1.DisableSnapshotCopyCommand(args);
|
|
1261
|
-
if (typeof optionsOrCb === "function") {
|
|
1262
|
-
this.send(command, optionsOrCb);
|
|
1263
|
-
}
|
|
1264
|
-
else if (typeof cb === "function") {
|
|
1265
|
-
if (typeof optionsOrCb !== "object")
|
|
1266
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1267
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1268
|
-
}
|
|
1269
|
-
else {
|
|
1270
|
-
return this.send(command, optionsOrCb);
|
|
1271
|
-
}
|
|
1272
|
-
}
|
|
1273
|
-
disassociateDataShareConsumer(args, optionsOrCb, cb) {
|
|
1274
|
-
const command = new DisassociateDataShareConsumerCommand_1.DisassociateDataShareConsumerCommand(args);
|
|
1275
|
-
if (typeof optionsOrCb === "function") {
|
|
1276
|
-
this.send(command, optionsOrCb);
|
|
1277
|
-
}
|
|
1278
|
-
else if (typeof cb === "function") {
|
|
1279
|
-
if (typeof optionsOrCb !== "object")
|
|
1280
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1281
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1282
|
-
}
|
|
1283
|
-
else {
|
|
1284
|
-
return this.send(command, optionsOrCb);
|
|
1285
|
-
}
|
|
1286
|
-
}
|
|
1287
|
-
enableLogging(args, optionsOrCb, cb) {
|
|
1288
|
-
const command = new EnableLoggingCommand_1.EnableLoggingCommand(args);
|
|
1289
|
-
if (typeof optionsOrCb === "function") {
|
|
1290
|
-
this.send(command, optionsOrCb);
|
|
1291
|
-
}
|
|
1292
|
-
else if (typeof cb === "function") {
|
|
1293
|
-
if (typeof optionsOrCb !== "object")
|
|
1294
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1295
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1296
|
-
}
|
|
1297
|
-
else {
|
|
1298
|
-
return this.send(command, optionsOrCb);
|
|
1299
|
-
}
|
|
1300
|
-
}
|
|
1301
|
-
enableSnapshotCopy(args, optionsOrCb, cb) {
|
|
1302
|
-
const command = new EnableSnapshotCopyCommand_1.EnableSnapshotCopyCommand(args);
|
|
1303
|
-
if (typeof optionsOrCb === "function") {
|
|
1304
|
-
this.send(command, optionsOrCb);
|
|
1305
|
-
}
|
|
1306
|
-
else if (typeof cb === "function") {
|
|
1307
|
-
if (typeof optionsOrCb !== "object")
|
|
1308
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1309
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1310
|
-
}
|
|
1311
|
-
else {
|
|
1312
|
-
return this.send(command, optionsOrCb);
|
|
1313
|
-
}
|
|
1314
|
-
}
|
|
1315
|
-
getClusterCredentials(args, optionsOrCb, cb) {
|
|
1316
|
-
const command = new GetClusterCredentialsCommand_1.GetClusterCredentialsCommand(args);
|
|
1317
|
-
if (typeof optionsOrCb === "function") {
|
|
1318
|
-
this.send(command, optionsOrCb);
|
|
1319
|
-
}
|
|
1320
|
-
else if (typeof cb === "function") {
|
|
1321
|
-
if (typeof optionsOrCb !== "object")
|
|
1322
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1323
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1324
|
-
}
|
|
1325
|
-
else {
|
|
1326
|
-
return this.send(command, optionsOrCb);
|
|
1327
|
-
}
|
|
1328
|
-
}
|
|
1329
|
-
getClusterCredentialsWithIAM(args, optionsOrCb, cb) {
|
|
1330
|
-
const command = new GetClusterCredentialsWithIAMCommand_1.GetClusterCredentialsWithIAMCommand(args);
|
|
1331
|
-
if (typeof optionsOrCb === "function") {
|
|
1332
|
-
this.send(command, optionsOrCb);
|
|
1333
|
-
}
|
|
1334
|
-
else if (typeof cb === "function") {
|
|
1335
|
-
if (typeof optionsOrCb !== "object")
|
|
1336
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1337
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1338
|
-
}
|
|
1339
|
-
else {
|
|
1340
|
-
return this.send(command, optionsOrCb);
|
|
1341
|
-
}
|
|
1342
|
-
}
|
|
1343
|
-
getReservedNodeExchangeConfigurationOptions(args, optionsOrCb, cb) {
|
|
1344
|
-
const command = new GetReservedNodeExchangeConfigurationOptionsCommand_1.GetReservedNodeExchangeConfigurationOptionsCommand(args);
|
|
1345
|
-
if (typeof optionsOrCb === "function") {
|
|
1346
|
-
this.send(command, optionsOrCb);
|
|
1347
|
-
}
|
|
1348
|
-
else if (typeof cb === "function") {
|
|
1349
|
-
if (typeof optionsOrCb !== "object")
|
|
1350
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1351
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1352
|
-
}
|
|
1353
|
-
else {
|
|
1354
|
-
return this.send(command, optionsOrCb);
|
|
1355
|
-
}
|
|
1356
|
-
}
|
|
1357
|
-
getReservedNodeExchangeOfferings(args, optionsOrCb, cb) {
|
|
1358
|
-
const command = new GetReservedNodeExchangeOfferingsCommand_1.GetReservedNodeExchangeOfferingsCommand(args);
|
|
1359
|
-
if (typeof optionsOrCb === "function") {
|
|
1360
|
-
this.send(command, optionsOrCb);
|
|
1361
|
-
}
|
|
1362
|
-
else if (typeof cb === "function") {
|
|
1363
|
-
if (typeof optionsOrCb !== "object")
|
|
1364
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1365
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1366
|
-
}
|
|
1367
|
-
else {
|
|
1368
|
-
return this.send(command, optionsOrCb);
|
|
1369
|
-
}
|
|
1370
|
-
}
|
|
1371
|
-
modifyAquaConfiguration(args, optionsOrCb, cb) {
|
|
1372
|
-
const command = new ModifyAquaConfigurationCommand_1.ModifyAquaConfigurationCommand(args);
|
|
1373
|
-
if (typeof optionsOrCb === "function") {
|
|
1374
|
-
this.send(command, optionsOrCb);
|
|
1375
|
-
}
|
|
1376
|
-
else if (typeof cb === "function") {
|
|
1377
|
-
if (typeof optionsOrCb !== "object")
|
|
1378
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1379
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1380
|
-
}
|
|
1381
|
-
else {
|
|
1382
|
-
return this.send(command, optionsOrCb);
|
|
1383
|
-
}
|
|
1384
|
-
}
|
|
1385
|
-
modifyAuthenticationProfile(args, optionsOrCb, cb) {
|
|
1386
|
-
const command = new ModifyAuthenticationProfileCommand_1.ModifyAuthenticationProfileCommand(args);
|
|
1387
|
-
if (typeof optionsOrCb === "function") {
|
|
1388
|
-
this.send(command, optionsOrCb);
|
|
1389
|
-
}
|
|
1390
|
-
else if (typeof cb === "function") {
|
|
1391
|
-
if (typeof optionsOrCb !== "object")
|
|
1392
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1393
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1394
|
-
}
|
|
1395
|
-
else {
|
|
1396
|
-
return this.send(command, optionsOrCb);
|
|
1397
|
-
}
|
|
1398
|
-
}
|
|
1399
|
-
modifyCluster(args, optionsOrCb, cb) {
|
|
1400
|
-
const command = new ModifyClusterCommand_1.ModifyClusterCommand(args);
|
|
1401
|
-
if (typeof optionsOrCb === "function") {
|
|
1402
|
-
this.send(command, optionsOrCb);
|
|
1403
|
-
}
|
|
1404
|
-
else if (typeof cb === "function") {
|
|
1405
|
-
if (typeof optionsOrCb !== "object")
|
|
1406
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1407
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1408
|
-
}
|
|
1409
|
-
else {
|
|
1410
|
-
return this.send(command, optionsOrCb);
|
|
1411
|
-
}
|
|
1412
|
-
}
|
|
1413
|
-
modifyClusterDbRevision(args, optionsOrCb, cb) {
|
|
1414
|
-
const command = new ModifyClusterDbRevisionCommand_1.ModifyClusterDbRevisionCommand(args);
|
|
1415
|
-
if (typeof optionsOrCb === "function") {
|
|
1416
|
-
this.send(command, optionsOrCb);
|
|
1417
|
-
}
|
|
1418
|
-
else if (typeof cb === "function") {
|
|
1419
|
-
if (typeof optionsOrCb !== "object")
|
|
1420
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1421
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1422
|
-
}
|
|
1423
|
-
else {
|
|
1424
|
-
return this.send(command, optionsOrCb);
|
|
1425
|
-
}
|
|
1426
|
-
}
|
|
1427
|
-
modifyClusterIamRoles(args, optionsOrCb, cb) {
|
|
1428
|
-
const command = new ModifyClusterIamRolesCommand_1.ModifyClusterIamRolesCommand(args);
|
|
1429
|
-
if (typeof optionsOrCb === "function") {
|
|
1430
|
-
this.send(command, optionsOrCb);
|
|
1431
|
-
}
|
|
1432
|
-
else if (typeof cb === "function") {
|
|
1433
|
-
if (typeof optionsOrCb !== "object")
|
|
1434
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1435
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1436
|
-
}
|
|
1437
|
-
else {
|
|
1438
|
-
return this.send(command, optionsOrCb);
|
|
1439
|
-
}
|
|
1440
|
-
}
|
|
1441
|
-
modifyClusterMaintenance(args, optionsOrCb, cb) {
|
|
1442
|
-
const command = new ModifyClusterMaintenanceCommand_1.ModifyClusterMaintenanceCommand(args);
|
|
1443
|
-
if (typeof optionsOrCb === "function") {
|
|
1444
|
-
this.send(command, optionsOrCb);
|
|
1445
|
-
}
|
|
1446
|
-
else if (typeof cb === "function") {
|
|
1447
|
-
if (typeof optionsOrCb !== "object")
|
|
1448
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1449
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1450
|
-
}
|
|
1451
|
-
else {
|
|
1452
|
-
return this.send(command, optionsOrCb);
|
|
1453
|
-
}
|
|
1454
|
-
}
|
|
1455
|
-
modifyClusterParameterGroup(args, optionsOrCb, cb) {
|
|
1456
|
-
const command = new ModifyClusterParameterGroupCommand_1.ModifyClusterParameterGroupCommand(args);
|
|
1457
|
-
if (typeof optionsOrCb === "function") {
|
|
1458
|
-
this.send(command, optionsOrCb);
|
|
1459
|
-
}
|
|
1460
|
-
else if (typeof cb === "function") {
|
|
1461
|
-
if (typeof optionsOrCb !== "object")
|
|
1462
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1463
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1464
|
-
}
|
|
1465
|
-
else {
|
|
1466
|
-
return this.send(command, optionsOrCb);
|
|
1467
|
-
}
|
|
1468
|
-
}
|
|
1469
|
-
modifyClusterSnapshot(args, optionsOrCb, cb) {
|
|
1470
|
-
const command = new ModifyClusterSnapshotCommand_1.ModifyClusterSnapshotCommand(args);
|
|
1471
|
-
if (typeof optionsOrCb === "function") {
|
|
1472
|
-
this.send(command, optionsOrCb);
|
|
1473
|
-
}
|
|
1474
|
-
else if (typeof cb === "function") {
|
|
1475
|
-
if (typeof optionsOrCb !== "object")
|
|
1476
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1477
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1478
|
-
}
|
|
1479
|
-
else {
|
|
1480
|
-
return this.send(command, optionsOrCb);
|
|
1481
|
-
}
|
|
1482
|
-
}
|
|
1483
|
-
modifyClusterSnapshotSchedule(args, optionsOrCb, cb) {
|
|
1484
|
-
const command = new ModifyClusterSnapshotScheduleCommand_1.ModifyClusterSnapshotScheduleCommand(args);
|
|
1485
|
-
if (typeof optionsOrCb === "function") {
|
|
1486
|
-
this.send(command, optionsOrCb);
|
|
1487
|
-
}
|
|
1488
|
-
else if (typeof cb === "function") {
|
|
1489
|
-
if (typeof optionsOrCb !== "object")
|
|
1490
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1491
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1492
|
-
}
|
|
1493
|
-
else {
|
|
1494
|
-
return this.send(command, optionsOrCb);
|
|
1495
|
-
}
|
|
1496
|
-
}
|
|
1497
|
-
modifyClusterSubnetGroup(args, optionsOrCb, cb) {
|
|
1498
|
-
const command = new ModifyClusterSubnetGroupCommand_1.ModifyClusterSubnetGroupCommand(args);
|
|
1499
|
-
if (typeof optionsOrCb === "function") {
|
|
1500
|
-
this.send(command, optionsOrCb);
|
|
1501
|
-
}
|
|
1502
|
-
else if (typeof cb === "function") {
|
|
1503
|
-
if (typeof optionsOrCb !== "object")
|
|
1504
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1505
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1506
|
-
}
|
|
1507
|
-
else {
|
|
1508
|
-
return this.send(command, optionsOrCb);
|
|
1509
|
-
}
|
|
1510
|
-
}
|
|
1511
|
-
modifyEndpointAccess(args, optionsOrCb, cb) {
|
|
1512
|
-
const command = new ModifyEndpointAccessCommand_1.ModifyEndpointAccessCommand(args);
|
|
1513
|
-
if (typeof optionsOrCb === "function") {
|
|
1514
|
-
this.send(command, optionsOrCb);
|
|
1515
|
-
}
|
|
1516
|
-
else if (typeof cb === "function") {
|
|
1517
|
-
if (typeof optionsOrCb !== "object")
|
|
1518
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1519
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1520
|
-
}
|
|
1521
|
-
else {
|
|
1522
|
-
return this.send(command, optionsOrCb);
|
|
1523
|
-
}
|
|
1524
|
-
}
|
|
1525
|
-
modifyEventSubscription(args, optionsOrCb, cb) {
|
|
1526
|
-
const command = new ModifyEventSubscriptionCommand_1.ModifyEventSubscriptionCommand(args);
|
|
1527
|
-
if (typeof optionsOrCb === "function") {
|
|
1528
|
-
this.send(command, optionsOrCb);
|
|
1529
|
-
}
|
|
1530
|
-
else if (typeof cb === "function") {
|
|
1531
|
-
if (typeof optionsOrCb !== "object")
|
|
1532
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1533
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1534
|
-
}
|
|
1535
|
-
else {
|
|
1536
|
-
return this.send(command, optionsOrCb);
|
|
1537
|
-
}
|
|
1538
|
-
}
|
|
1539
|
-
modifyScheduledAction(args, optionsOrCb, cb) {
|
|
1540
|
-
const command = new ModifyScheduledActionCommand_1.ModifyScheduledActionCommand(args);
|
|
1541
|
-
if (typeof optionsOrCb === "function") {
|
|
1542
|
-
this.send(command, optionsOrCb);
|
|
1543
|
-
}
|
|
1544
|
-
else if (typeof cb === "function") {
|
|
1545
|
-
if (typeof optionsOrCb !== "object")
|
|
1546
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1547
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1548
|
-
}
|
|
1549
|
-
else {
|
|
1550
|
-
return this.send(command, optionsOrCb);
|
|
1551
|
-
}
|
|
1552
|
-
}
|
|
1553
|
-
modifySnapshotCopyRetentionPeriod(args, optionsOrCb, cb) {
|
|
1554
|
-
const command = new ModifySnapshotCopyRetentionPeriodCommand_1.ModifySnapshotCopyRetentionPeriodCommand(args);
|
|
1555
|
-
if (typeof optionsOrCb === "function") {
|
|
1556
|
-
this.send(command, optionsOrCb);
|
|
1557
|
-
}
|
|
1558
|
-
else if (typeof cb === "function") {
|
|
1559
|
-
if (typeof optionsOrCb !== "object")
|
|
1560
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1561
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1562
|
-
}
|
|
1563
|
-
else {
|
|
1564
|
-
return this.send(command, optionsOrCb);
|
|
1565
|
-
}
|
|
1566
|
-
}
|
|
1567
|
-
modifySnapshotSchedule(args, optionsOrCb, cb) {
|
|
1568
|
-
const command = new ModifySnapshotScheduleCommand_1.ModifySnapshotScheduleCommand(args);
|
|
1569
|
-
if (typeof optionsOrCb === "function") {
|
|
1570
|
-
this.send(command, optionsOrCb);
|
|
1571
|
-
}
|
|
1572
|
-
else if (typeof cb === "function") {
|
|
1573
|
-
if (typeof optionsOrCb !== "object")
|
|
1574
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1575
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1576
|
-
}
|
|
1577
|
-
else {
|
|
1578
|
-
return this.send(command, optionsOrCb);
|
|
1579
|
-
}
|
|
1580
|
-
}
|
|
1581
|
-
modifyUsageLimit(args, optionsOrCb, cb) {
|
|
1582
|
-
const command = new ModifyUsageLimitCommand_1.ModifyUsageLimitCommand(args);
|
|
1583
|
-
if (typeof optionsOrCb === "function") {
|
|
1584
|
-
this.send(command, optionsOrCb);
|
|
1585
|
-
}
|
|
1586
|
-
else if (typeof cb === "function") {
|
|
1587
|
-
if (typeof optionsOrCb !== "object")
|
|
1588
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1589
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1590
|
-
}
|
|
1591
|
-
else {
|
|
1592
|
-
return this.send(command, optionsOrCb);
|
|
1593
|
-
}
|
|
1594
|
-
}
|
|
1595
|
-
pauseCluster(args, optionsOrCb, cb) {
|
|
1596
|
-
const command = new PauseClusterCommand_1.PauseClusterCommand(args);
|
|
1597
|
-
if (typeof optionsOrCb === "function") {
|
|
1598
|
-
this.send(command, optionsOrCb);
|
|
1599
|
-
}
|
|
1600
|
-
else if (typeof cb === "function") {
|
|
1601
|
-
if (typeof optionsOrCb !== "object")
|
|
1602
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1603
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1604
|
-
}
|
|
1605
|
-
else {
|
|
1606
|
-
return this.send(command, optionsOrCb);
|
|
1607
|
-
}
|
|
1608
|
-
}
|
|
1609
|
-
purchaseReservedNodeOffering(args, optionsOrCb, cb) {
|
|
1610
|
-
const command = new PurchaseReservedNodeOfferingCommand_1.PurchaseReservedNodeOfferingCommand(args);
|
|
1611
|
-
if (typeof optionsOrCb === "function") {
|
|
1612
|
-
this.send(command, optionsOrCb);
|
|
1613
|
-
}
|
|
1614
|
-
else if (typeof cb === "function") {
|
|
1615
|
-
if (typeof optionsOrCb !== "object")
|
|
1616
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1617
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1618
|
-
}
|
|
1619
|
-
else {
|
|
1620
|
-
return this.send(command, optionsOrCb);
|
|
1621
|
-
}
|
|
1622
|
-
}
|
|
1623
|
-
rebootCluster(args, optionsOrCb, cb) {
|
|
1624
|
-
const command = new RebootClusterCommand_1.RebootClusterCommand(args);
|
|
1625
|
-
if (typeof optionsOrCb === "function") {
|
|
1626
|
-
this.send(command, optionsOrCb);
|
|
1627
|
-
}
|
|
1628
|
-
else if (typeof cb === "function") {
|
|
1629
|
-
if (typeof optionsOrCb !== "object")
|
|
1630
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1631
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1632
|
-
}
|
|
1633
|
-
else {
|
|
1634
|
-
return this.send(command, optionsOrCb);
|
|
1635
|
-
}
|
|
1636
|
-
}
|
|
1637
|
-
rejectDataShare(args, optionsOrCb, cb) {
|
|
1638
|
-
const command = new RejectDataShareCommand_1.RejectDataShareCommand(args);
|
|
1639
|
-
if (typeof optionsOrCb === "function") {
|
|
1640
|
-
this.send(command, optionsOrCb);
|
|
1641
|
-
}
|
|
1642
|
-
else if (typeof cb === "function") {
|
|
1643
|
-
if (typeof optionsOrCb !== "object")
|
|
1644
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1645
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1646
|
-
}
|
|
1647
|
-
else {
|
|
1648
|
-
return this.send(command, optionsOrCb);
|
|
1649
|
-
}
|
|
1650
|
-
}
|
|
1651
|
-
resetClusterParameterGroup(args, optionsOrCb, cb) {
|
|
1652
|
-
const command = new ResetClusterParameterGroupCommand_1.ResetClusterParameterGroupCommand(args);
|
|
1653
|
-
if (typeof optionsOrCb === "function") {
|
|
1654
|
-
this.send(command, optionsOrCb);
|
|
1655
|
-
}
|
|
1656
|
-
else if (typeof cb === "function") {
|
|
1657
|
-
if (typeof optionsOrCb !== "object")
|
|
1658
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1659
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1660
|
-
}
|
|
1661
|
-
else {
|
|
1662
|
-
return this.send(command, optionsOrCb);
|
|
1663
|
-
}
|
|
1664
|
-
}
|
|
1665
|
-
resizeCluster(args, optionsOrCb, cb) {
|
|
1666
|
-
const command = new ResizeClusterCommand_1.ResizeClusterCommand(args);
|
|
1667
|
-
if (typeof optionsOrCb === "function") {
|
|
1668
|
-
this.send(command, optionsOrCb);
|
|
1669
|
-
}
|
|
1670
|
-
else if (typeof cb === "function") {
|
|
1671
|
-
if (typeof optionsOrCb !== "object")
|
|
1672
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1673
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1674
|
-
}
|
|
1675
|
-
else {
|
|
1676
|
-
return this.send(command, optionsOrCb);
|
|
1677
|
-
}
|
|
1678
|
-
}
|
|
1679
|
-
restoreFromClusterSnapshot(args, optionsOrCb, cb) {
|
|
1680
|
-
const command = new RestoreFromClusterSnapshotCommand_1.RestoreFromClusterSnapshotCommand(args);
|
|
1681
|
-
if (typeof optionsOrCb === "function") {
|
|
1682
|
-
this.send(command, optionsOrCb);
|
|
1683
|
-
}
|
|
1684
|
-
else if (typeof cb === "function") {
|
|
1685
|
-
if (typeof optionsOrCb !== "object")
|
|
1686
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1687
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1688
|
-
}
|
|
1689
|
-
else {
|
|
1690
|
-
return this.send(command, optionsOrCb);
|
|
1691
|
-
}
|
|
1692
|
-
}
|
|
1693
|
-
restoreTableFromClusterSnapshot(args, optionsOrCb, cb) {
|
|
1694
|
-
const command = new RestoreTableFromClusterSnapshotCommand_1.RestoreTableFromClusterSnapshotCommand(args);
|
|
1695
|
-
if (typeof optionsOrCb === "function") {
|
|
1696
|
-
this.send(command, optionsOrCb);
|
|
1697
|
-
}
|
|
1698
|
-
else if (typeof cb === "function") {
|
|
1699
|
-
if (typeof optionsOrCb !== "object")
|
|
1700
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1701
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1702
|
-
}
|
|
1703
|
-
else {
|
|
1704
|
-
return this.send(command, optionsOrCb);
|
|
1705
|
-
}
|
|
1706
|
-
}
|
|
1707
|
-
resumeCluster(args, optionsOrCb, cb) {
|
|
1708
|
-
const command = new ResumeClusterCommand_1.ResumeClusterCommand(args);
|
|
1709
|
-
if (typeof optionsOrCb === "function") {
|
|
1710
|
-
this.send(command, optionsOrCb);
|
|
1711
|
-
}
|
|
1712
|
-
else if (typeof cb === "function") {
|
|
1713
|
-
if (typeof optionsOrCb !== "object")
|
|
1714
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1715
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1716
|
-
}
|
|
1717
|
-
else {
|
|
1718
|
-
return this.send(command, optionsOrCb);
|
|
1719
|
-
}
|
|
1720
|
-
}
|
|
1721
|
-
revokeClusterSecurityGroupIngress(args, optionsOrCb, cb) {
|
|
1722
|
-
const command = new RevokeClusterSecurityGroupIngressCommand_1.RevokeClusterSecurityGroupIngressCommand(args);
|
|
1723
|
-
if (typeof optionsOrCb === "function") {
|
|
1724
|
-
this.send(command, optionsOrCb);
|
|
1725
|
-
}
|
|
1726
|
-
else if (typeof cb === "function") {
|
|
1727
|
-
if (typeof optionsOrCb !== "object")
|
|
1728
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1729
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1730
|
-
}
|
|
1731
|
-
else {
|
|
1732
|
-
return this.send(command, optionsOrCb);
|
|
1733
|
-
}
|
|
1734
|
-
}
|
|
1735
|
-
revokeEndpointAccess(args, optionsOrCb, cb) {
|
|
1736
|
-
const command = new RevokeEndpointAccessCommand_1.RevokeEndpointAccessCommand(args);
|
|
1737
|
-
if (typeof optionsOrCb === "function") {
|
|
1738
|
-
this.send(command, optionsOrCb);
|
|
1739
|
-
}
|
|
1740
|
-
else if (typeof cb === "function") {
|
|
1741
|
-
if (typeof optionsOrCb !== "object")
|
|
1742
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1743
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1744
|
-
}
|
|
1745
|
-
else {
|
|
1746
|
-
return this.send(command, optionsOrCb);
|
|
1747
|
-
}
|
|
1748
|
-
}
|
|
1749
|
-
revokeSnapshotAccess(args, optionsOrCb, cb) {
|
|
1750
|
-
const command = new RevokeSnapshotAccessCommand_1.RevokeSnapshotAccessCommand(args);
|
|
1751
|
-
if (typeof optionsOrCb === "function") {
|
|
1752
|
-
this.send(command, optionsOrCb);
|
|
1753
|
-
}
|
|
1754
|
-
else if (typeof cb === "function") {
|
|
1755
|
-
if (typeof optionsOrCb !== "object")
|
|
1756
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1757
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1758
|
-
}
|
|
1759
|
-
else {
|
|
1760
|
-
return this.send(command, optionsOrCb);
|
|
1761
|
-
}
|
|
1762
|
-
}
|
|
1763
|
-
rotateEncryptionKey(args, optionsOrCb, cb) {
|
|
1764
|
-
const command = new RotateEncryptionKeyCommand_1.RotateEncryptionKeyCommand(args);
|
|
1765
|
-
if (typeof optionsOrCb === "function") {
|
|
1766
|
-
this.send(command, optionsOrCb);
|
|
1767
|
-
}
|
|
1768
|
-
else if (typeof cb === "function") {
|
|
1769
|
-
if (typeof optionsOrCb !== "object")
|
|
1770
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1771
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1772
|
-
}
|
|
1773
|
-
else {
|
|
1774
|
-
return this.send(command, optionsOrCb);
|
|
1775
|
-
}
|
|
1776
|
-
}
|
|
1777
|
-
updatePartnerStatus(args, optionsOrCb, cb) {
|
|
1778
|
-
const command = new UpdatePartnerStatusCommand_1.UpdatePartnerStatusCommand(args);
|
|
1779
|
-
if (typeof optionsOrCb === "function") {
|
|
1780
|
-
this.send(command, optionsOrCb);
|
|
1781
|
-
}
|
|
1782
|
-
else if (typeof cb === "function") {
|
|
1783
|
-
if (typeof optionsOrCb !== "object")
|
|
1784
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1785
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1786
|
-
}
|
|
1787
|
-
else {
|
|
1788
|
-
return this.send(command, optionsOrCb);
|
|
1789
|
-
}
|
|
1790
|
-
}
|
|
1791
247
|
}
|
|
1792
248
|
exports.Redshift = Redshift;
|
|
249
|
+
(0, smithy_client_1.createAggregatedClient)(commands, Redshift);
|