@aws-sdk/client-redshift 3.186.0 → 3.188.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/CHANGELOG.md +8 -0
- package/dist-cjs/protocols/Aws_query.js +8 -4
- package/dist-es/Redshift.js +478 -485
- package/dist-es/RedshiftClient.js +22 -28
- package/dist-es/commands/AcceptReservedNodeExchangeCommand.js +21 -28
- package/dist-es/commands/AddPartnerCommand.js +21 -28
- package/dist-es/commands/AssociateDataShareConsumerCommand.js +21 -28
- package/dist-es/commands/AuthorizeClusterSecurityGroupIngressCommand.js +21 -28
- package/dist-es/commands/AuthorizeDataShareCommand.js +21 -28
- package/dist-es/commands/AuthorizeEndpointAccessCommand.js +21 -28
- package/dist-es/commands/AuthorizeSnapshotAccessCommand.js +21 -28
- package/dist-es/commands/BatchDeleteClusterSnapshotsCommand.js +21 -28
- package/dist-es/commands/BatchModifyClusterSnapshotsCommand.js +21 -28
- package/dist-es/commands/CancelResizeCommand.js +21 -28
- package/dist-es/commands/CopyClusterSnapshotCommand.js +21 -28
- package/dist-es/commands/CreateAuthenticationProfileCommand.js +21 -28
- package/dist-es/commands/CreateClusterCommand.js +21 -28
- package/dist-es/commands/CreateClusterParameterGroupCommand.js +21 -28
- package/dist-es/commands/CreateClusterSecurityGroupCommand.js +21 -28
- package/dist-es/commands/CreateClusterSnapshotCommand.js +21 -28
- package/dist-es/commands/CreateClusterSubnetGroupCommand.js +21 -28
- package/dist-es/commands/CreateEndpointAccessCommand.js +21 -28
- package/dist-es/commands/CreateEventSubscriptionCommand.js +21 -28
- package/dist-es/commands/CreateHsmClientCertificateCommand.js +21 -28
- package/dist-es/commands/CreateHsmConfigurationCommand.js +21 -28
- package/dist-es/commands/CreateScheduledActionCommand.js +21 -28
- package/dist-es/commands/CreateSnapshotCopyGrantCommand.js +21 -28
- package/dist-es/commands/CreateSnapshotScheduleCommand.js +21 -28
- package/dist-es/commands/CreateTagsCommand.js +22 -29
- package/dist-es/commands/CreateUsageLimitCommand.js +21 -28
- package/dist-es/commands/DeauthorizeDataShareCommand.js +21 -28
- package/dist-es/commands/DeleteAuthenticationProfileCommand.js +21 -28
- package/dist-es/commands/DeleteClusterCommand.js +21 -28
- package/dist-es/commands/DeleteClusterParameterGroupCommand.js +22 -29
- package/dist-es/commands/DeleteClusterSecurityGroupCommand.js +22 -29
- package/dist-es/commands/DeleteClusterSnapshotCommand.js +21 -28
- package/dist-es/commands/DeleteClusterSubnetGroupCommand.js +22 -29
- package/dist-es/commands/DeleteEndpointAccessCommand.js +21 -28
- package/dist-es/commands/DeleteEventSubscriptionCommand.js +22 -29
- package/dist-es/commands/DeleteHsmClientCertificateCommand.js +22 -29
- package/dist-es/commands/DeleteHsmConfigurationCommand.js +22 -29
- package/dist-es/commands/DeletePartnerCommand.js +21 -28
- package/dist-es/commands/DeleteScheduledActionCommand.js +22 -29
- package/dist-es/commands/DeleteSnapshotCopyGrantCommand.js +22 -29
- package/dist-es/commands/DeleteSnapshotScheduleCommand.js +22 -29
- package/dist-es/commands/DeleteTagsCommand.js +22 -29
- package/dist-es/commands/DeleteUsageLimitCommand.js +22 -29
- package/dist-es/commands/DescribeAccountAttributesCommand.js +21 -28
- package/dist-es/commands/DescribeAuthenticationProfilesCommand.js +21 -28
- package/dist-es/commands/DescribeClusterDbRevisionsCommand.js +21 -28
- package/dist-es/commands/DescribeClusterParameterGroupsCommand.js +21 -28
- package/dist-es/commands/DescribeClusterParametersCommand.js +21 -28
- package/dist-es/commands/DescribeClusterSecurityGroupsCommand.js +21 -28
- package/dist-es/commands/DescribeClusterSnapshotsCommand.js +21 -28
- package/dist-es/commands/DescribeClusterSubnetGroupsCommand.js +21 -28
- package/dist-es/commands/DescribeClusterTracksCommand.js +21 -28
- package/dist-es/commands/DescribeClusterVersionsCommand.js +21 -28
- package/dist-es/commands/DescribeClustersCommand.js +21 -28
- package/dist-es/commands/DescribeDataSharesCommand.js +21 -28
- package/dist-es/commands/DescribeDataSharesForConsumerCommand.js +21 -28
- package/dist-es/commands/DescribeDataSharesForProducerCommand.js +21 -28
- package/dist-es/commands/DescribeDefaultClusterParametersCommand.js +21 -28
- package/dist-es/commands/DescribeEndpointAccessCommand.js +21 -28
- package/dist-es/commands/DescribeEndpointAuthorizationCommand.js +21 -28
- package/dist-es/commands/DescribeEventCategoriesCommand.js +21 -28
- package/dist-es/commands/DescribeEventSubscriptionsCommand.js +21 -28
- package/dist-es/commands/DescribeEventsCommand.js +21 -28
- package/dist-es/commands/DescribeHsmClientCertificatesCommand.js +21 -28
- package/dist-es/commands/DescribeHsmConfigurationsCommand.js +21 -28
- package/dist-es/commands/DescribeLoggingStatusCommand.js +21 -28
- package/dist-es/commands/DescribeNodeConfigurationOptionsCommand.js +21 -28
- package/dist-es/commands/DescribeOrderableClusterOptionsCommand.js +21 -28
- package/dist-es/commands/DescribePartnersCommand.js +21 -28
- package/dist-es/commands/DescribeReservedNodeExchangeStatusCommand.js +21 -28
- package/dist-es/commands/DescribeReservedNodeOfferingsCommand.js +21 -28
- package/dist-es/commands/DescribeReservedNodesCommand.js +21 -28
- package/dist-es/commands/DescribeResizeCommand.js +21 -28
- package/dist-es/commands/DescribeScheduledActionsCommand.js +21 -28
- package/dist-es/commands/DescribeSnapshotCopyGrantsCommand.js +21 -28
- package/dist-es/commands/DescribeSnapshotSchedulesCommand.js +21 -28
- package/dist-es/commands/DescribeStorageCommand.js +22 -29
- package/dist-es/commands/DescribeTableRestoreStatusCommand.js +21 -28
- package/dist-es/commands/DescribeTagsCommand.js +21 -28
- package/dist-es/commands/DescribeUsageLimitsCommand.js +21 -28
- package/dist-es/commands/DisableLoggingCommand.js +21 -28
- package/dist-es/commands/DisableSnapshotCopyCommand.js +21 -28
- package/dist-es/commands/DisassociateDataShareConsumerCommand.js +21 -28
- package/dist-es/commands/EnableLoggingCommand.js +21 -28
- package/dist-es/commands/EnableSnapshotCopyCommand.js +21 -28
- package/dist-es/commands/GetClusterCredentialsCommand.js +21 -28
- package/dist-es/commands/GetClusterCredentialsWithIAMCommand.js +21 -28
- package/dist-es/commands/GetReservedNodeExchangeConfigurationOptionsCommand.js +21 -28
- package/dist-es/commands/GetReservedNodeExchangeOfferingsCommand.js +21 -28
- package/dist-es/commands/ModifyAquaConfigurationCommand.js +21 -28
- package/dist-es/commands/ModifyAuthenticationProfileCommand.js +21 -28
- package/dist-es/commands/ModifyClusterCommand.js +21 -28
- package/dist-es/commands/ModifyClusterDbRevisionCommand.js +21 -28
- package/dist-es/commands/ModifyClusterIamRolesCommand.js +21 -28
- package/dist-es/commands/ModifyClusterMaintenanceCommand.js +21 -28
- package/dist-es/commands/ModifyClusterParameterGroupCommand.js +21 -28
- package/dist-es/commands/ModifyClusterSnapshotCommand.js +21 -28
- package/dist-es/commands/ModifyClusterSnapshotScheduleCommand.js +22 -29
- package/dist-es/commands/ModifyClusterSubnetGroupCommand.js +21 -28
- package/dist-es/commands/ModifyEndpointAccessCommand.js +21 -28
- package/dist-es/commands/ModifyEventSubscriptionCommand.js +21 -28
- package/dist-es/commands/ModifyScheduledActionCommand.js +21 -28
- package/dist-es/commands/ModifySnapshotCopyRetentionPeriodCommand.js +21 -28
- package/dist-es/commands/ModifySnapshotScheduleCommand.js +21 -28
- package/dist-es/commands/ModifyUsageLimitCommand.js +21 -28
- package/dist-es/commands/PauseClusterCommand.js +21 -28
- package/dist-es/commands/PurchaseReservedNodeOfferingCommand.js +21 -28
- package/dist-es/commands/RebootClusterCommand.js +21 -28
- package/dist-es/commands/RejectDataShareCommand.js +21 -28
- package/dist-es/commands/ResetClusterParameterGroupCommand.js +21 -28
- package/dist-es/commands/ResizeClusterCommand.js +21 -28
- package/dist-es/commands/RestoreFromClusterSnapshotCommand.js +21 -28
- package/dist-es/commands/RestoreTableFromClusterSnapshotCommand.js +21 -28
- package/dist-es/commands/ResumeClusterCommand.js +21 -28
- package/dist-es/commands/RevokeClusterSecurityGroupIngressCommand.js +21 -28
- package/dist-es/commands/RevokeEndpointAccessCommand.js +21 -28
- package/dist-es/commands/RevokeSnapshotAccessCommand.js +21 -28
- package/dist-es/commands/RotateEncryptionKeyCommand.js +21 -28
- package/dist-es/commands/UpdatePartnerStatusCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/RedshiftServiceException.js +5 -10
- package/dist-es/models/models_0.js +1808 -1459
- package/dist-es/models/models_1.js +503 -308
- package/dist-es/pagination/DescribeClusterDbRevisionsPaginator.js +25 -68
- package/dist-es/pagination/DescribeClusterParameterGroupsPaginator.js +25 -68
- package/dist-es/pagination/DescribeClusterParametersPaginator.js +25 -68
- package/dist-es/pagination/DescribeClusterSecurityGroupsPaginator.js +25 -68
- package/dist-es/pagination/DescribeClusterSnapshotsPaginator.js +25 -68
- package/dist-es/pagination/DescribeClusterSubnetGroupsPaginator.js +25 -68
- package/dist-es/pagination/DescribeClusterTracksPaginator.js +25 -68
- package/dist-es/pagination/DescribeClusterVersionsPaginator.js +25 -68
- package/dist-es/pagination/DescribeClustersPaginator.js +25 -68
- package/dist-es/pagination/DescribeDataSharesForConsumerPaginator.js +25 -68
- package/dist-es/pagination/DescribeDataSharesForProducerPaginator.js +25 -68
- package/dist-es/pagination/DescribeDataSharesPaginator.js +25 -68
- package/dist-es/pagination/DescribeDefaultClusterParametersPaginator.js +25 -68
- package/dist-es/pagination/DescribeEndpointAccessPaginator.js +25 -68
- package/dist-es/pagination/DescribeEndpointAuthorizationPaginator.js +25 -68
- package/dist-es/pagination/DescribeEventSubscriptionsPaginator.js +25 -68
- package/dist-es/pagination/DescribeEventsPaginator.js +25 -68
- package/dist-es/pagination/DescribeHsmClientCertificatesPaginator.js +25 -68
- package/dist-es/pagination/DescribeHsmConfigurationsPaginator.js +25 -68
- package/dist-es/pagination/DescribeNodeConfigurationOptionsPaginator.js +25 -68
- package/dist-es/pagination/DescribeOrderableClusterOptionsPaginator.js +25 -68
- package/dist-es/pagination/DescribeReservedNodeExchangeStatusPaginator.js +25 -68
- package/dist-es/pagination/DescribeReservedNodeOfferingsPaginator.js +25 -68
- package/dist-es/pagination/DescribeReservedNodesPaginator.js +25 -68
- package/dist-es/pagination/DescribeScheduledActionsPaginator.js +25 -68
- package/dist-es/pagination/DescribeSnapshotCopyGrantsPaginator.js +25 -68
- package/dist-es/pagination/DescribeSnapshotSchedulesPaginator.js +25 -68
- package/dist-es/pagination/DescribeTableRestoreStatusPaginator.js +25 -68
- package/dist-es/pagination/DescribeTagsPaginator.js +25 -68
- package/dist-es/pagination/DescribeUsageLimitsPaginator.js +25 -68
- package/dist-es/pagination/GetReservedNodeExchangeConfigurationOptionsPaginator.js +25 -68
- package/dist-es/pagination/GetReservedNodeExchangeOfferingsPaginator.js +25 -68
- package/dist-es/protocols/Aws_query.js +8827 -11428
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/dist-es/waiters/waitForClusterAvailable.js +52 -93
- package/dist-es/waiters/waitForClusterDeleted.js +49 -90
- package/dist-es/waiters/waitForClusterRestored.js +50 -91
- package/dist-es/waiters/waitForSnapshotAvailable.js +64 -115
- package/package.json +35 -36
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
3
2
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
4
3
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -9,31 +8,26 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
|
|
|
9
8
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
10
9
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
11
10
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
31
|
-
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
32
|
-
return _this;
|
|
11
|
+
export class RedshiftClient extends __Client {
|
|
12
|
+
constructor(configuration) {
|
|
13
|
+
const _config_0 = __getRuntimeConfig(configuration);
|
|
14
|
+
const _config_1 = resolveRegionConfig(_config_0);
|
|
15
|
+
const _config_2 = resolveEndpointsConfig(_config_1);
|
|
16
|
+
const _config_3 = resolveRetryConfig(_config_2);
|
|
17
|
+
const _config_4 = resolveHostHeaderConfig(_config_3);
|
|
18
|
+
const _config_5 = resolveAwsAuthConfig(_config_4);
|
|
19
|
+
const _config_6 = resolveUserAgentConfig(_config_5);
|
|
20
|
+
super(_config_6);
|
|
21
|
+
this.config = _config_6;
|
|
22
|
+
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
23
|
+
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
24
|
+
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
25
|
+
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
26
|
+
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
27
|
+
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
28
|
+
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
33
29
|
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}(__Client));
|
|
39
|
-
export { RedshiftClient };
|
|
30
|
+
destroy() {
|
|
31
|
+
super.destroy();
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { AcceptReservedNodeExchangeInputMessageFilterSensitiveLog, AcceptReservedNodeExchangeOutputMessageFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_queryAcceptReservedNodeExchangeCommand, serializeAws_queryAcceptReservedNodeExchangeCommand, } from "../protocols/Aws_query";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class AcceptReservedNodeExchangeCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "RedshiftClient";
|
|
15
|
+
const commandName = "AcceptReservedNodeExchangeCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: AcceptReservedNodeExchangeInputMessageFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: AcceptReservedNodeExchangeOutputMessageFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
AcceptReservedNodeExchangeCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_queryAcceptReservedNodeExchangeCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_queryAcceptReservedNodeExchangeCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { AcceptReservedNodeExchangeCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { PartnerIntegrationInputMessageFilterSensitiveLog, PartnerIntegrationOutputMessageFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_queryAddPartnerCommand, serializeAws_queryAddPartnerCommand } from "../protocols/Aws_query";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class AddPartnerCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "RedshiftClient";
|
|
15
|
+
const commandName = "AddPartnerCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: PartnerIntegrationInputMessageFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: PartnerIntegrationOutputMessageFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
AddPartnerCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_queryAddPartnerCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_queryAddPartnerCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { AddPartnerCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { AssociateDataShareConsumerMessageFilterSensitiveLog, DataShareFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_queryAssociateDataShareConsumerCommand, serializeAws_queryAssociateDataShareConsumerCommand, } from "../protocols/Aws_query";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class AssociateDataShareConsumerCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "RedshiftClient";
|
|
15
|
+
const commandName = "AssociateDataShareConsumerCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: AssociateDataShareConsumerMessageFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: DataShareFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
AssociateDataShareConsumerCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_queryAssociateDataShareConsumerCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_queryAssociateDataShareConsumerCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { AssociateDataShareConsumerCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { AuthorizeClusterSecurityGroupIngressMessageFilterSensitiveLog, AuthorizeClusterSecurityGroupIngressResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_queryAuthorizeClusterSecurityGroupIngressCommand, serializeAws_queryAuthorizeClusterSecurityGroupIngressCommand, } from "../protocols/Aws_query";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class AuthorizeClusterSecurityGroupIngressCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "RedshiftClient";
|
|
15
|
+
const commandName = "AuthorizeClusterSecurityGroupIngressCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: AuthorizeClusterSecurityGroupIngressMessageFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: AuthorizeClusterSecurityGroupIngressResultFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
AuthorizeClusterSecurityGroupIngressCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_queryAuthorizeClusterSecurityGroupIngressCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_queryAuthorizeClusterSecurityGroupIngressCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { AuthorizeClusterSecurityGroupIngressCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { AuthorizeDataShareMessageFilterSensitiveLog, DataShareFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_queryAuthorizeDataShareCommand, serializeAws_queryAuthorizeDataShareCommand, } from "../protocols/Aws_query";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class AuthorizeDataShareCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "RedshiftClient";
|
|
15
|
+
const commandName = "AuthorizeDataShareCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: AuthorizeDataShareMessageFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: DataShareFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
AuthorizeDataShareCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_queryAuthorizeDataShareCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_queryAuthorizeDataShareCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { AuthorizeDataShareCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { AuthorizeEndpointAccessMessageFilterSensitiveLog, EndpointAuthorizationFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_queryAuthorizeEndpointAccessCommand, serializeAws_queryAuthorizeEndpointAccessCommand, } from "../protocols/Aws_query";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class AuthorizeEndpointAccessCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "RedshiftClient";
|
|
15
|
+
const commandName = "AuthorizeEndpointAccessCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: AuthorizeEndpointAccessMessageFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: EndpointAuthorizationFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
AuthorizeEndpointAccessCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_queryAuthorizeEndpointAccessCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_queryAuthorizeEndpointAccessCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { AuthorizeEndpointAccessCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { AuthorizeSnapshotAccessMessageFilterSensitiveLog, AuthorizeSnapshotAccessResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_queryAuthorizeSnapshotAccessCommand, serializeAws_queryAuthorizeSnapshotAccessCommand, } from "../protocols/Aws_query";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class AuthorizeSnapshotAccessCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "RedshiftClient";
|
|
15
|
+
const commandName = "AuthorizeSnapshotAccessCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: AuthorizeSnapshotAccessMessageFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: AuthorizeSnapshotAccessResultFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
AuthorizeSnapshotAccessCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_queryAuthorizeSnapshotAccessCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_queryAuthorizeSnapshotAccessCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { AuthorizeSnapshotAccessCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { BatchDeleteClusterSnapshotsRequestFilterSensitiveLog, BatchDeleteClusterSnapshotsResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_queryBatchDeleteClusterSnapshotsCommand, serializeAws_queryBatchDeleteClusterSnapshotsCommand, } from "../protocols/Aws_query";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class BatchDeleteClusterSnapshotsCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "RedshiftClient";
|
|
15
|
+
const commandName = "BatchDeleteClusterSnapshotsCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: BatchDeleteClusterSnapshotsRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: BatchDeleteClusterSnapshotsResultFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
BatchDeleteClusterSnapshotsCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_queryBatchDeleteClusterSnapshotsCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_queryBatchDeleteClusterSnapshotsCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { BatchDeleteClusterSnapshotsCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { BatchModifyClusterSnapshotsMessageFilterSensitiveLog, BatchModifyClusterSnapshotsOutputMessageFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_queryBatchModifyClusterSnapshotsCommand, serializeAws_queryBatchModifyClusterSnapshotsCommand, } from "../protocols/Aws_query";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class BatchModifyClusterSnapshotsCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "RedshiftClient";
|
|
15
|
+
const commandName = "BatchModifyClusterSnapshotsCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: BatchModifyClusterSnapshotsMessageFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: BatchModifyClusterSnapshotsOutputMessageFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
BatchModifyClusterSnapshotsCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_queryBatchModifyClusterSnapshotsCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_queryBatchModifyClusterSnapshotsCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { BatchModifyClusterSnapshotsCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|