@aws-sdk/client-redshift 3.691.0 → 3.692.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/index.js +91 -0
- package/dist-es/models/models_0.js +10 -0
- package/dist-es/protocols/Aws_query.js +83 -1
- package/dist-types/commands/CreateRedshiftIdcApplicationCommand.d.ts +14 -0
- package/dist-types/commands/DescribeClusterParametersCommand.d.ts +2 -1
- package/dist-types/commands/DescribeClustersCommand.d.ts +2 -1
- package/dist-types/commands/DescribeRedshiftIdcApplicationsCommand.d.ts +7 -0
- package/dist-types/commands/ModifyRedshiftIdcApplicationCommand.d.ts +14 -0
- package/dist-types/models/models_0.d.ts +54 -97
- package/dist-types/models/models_1.d.ts +96 -0
- package/dist-types/ts3.4/commands/DescribeClusterParametersCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeClustersCommand.d.ts +2 -1
- package/dist-types/ts3.4/models/models_0.d.ts +30 -13
- package/dist-types/ts3.4/models/models_1.d.ts +13 -0
- package/package.json +36 -36
package/dist-cjs/index.js
CHANGED
|
@@ -310,6 +310,7 @@ __export(src_exports, {
|
|
|
310
310
|
RevokeSnapshotAccessCommand: () => RevokeSnapshotAccessCommand,
|
|
311
311
|
RotateEncryptionKeyCommand: () => RotateEncryptionKeyCommand,
|
|
312
312
|
RotateEncryptionKeyResultFilterSensitiveLog: () => RotateEncryptionKeyResultFilterSensitiveLog,
|
|
313
|
+
S3AccessGrantsScopeUnion: () => S3AccessGrantsScopeUnion,
|
|
313
314
|
SNSInvalidTopicFault: () => SNSInvalidTopicFault,
|
|
314
315
|
SNSNoAuthorizationFault: () => SNSNoAuthorizationFault,
|
|
315
316
|
SNSTopicArnNotFoundFault: () => SNSTopicArnNotFoundFault,
|
|
@@ -2177,11 +2178,21 @@ var LakeFormationScopeUnion;
|
|
|
2177
2178
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
2178
2179
|
}, "visit");
|
|
2179
2180
|
})(LakeFormationScopeUnion || (LakeFormationScopeUnion = {}));
|
|
2181
|
+
var S3AccessGrantsScopeUnion;
|
|
2182
|
+
((S3AccessGrantsScopeUnion2) => {
|
|
2183
|
+
S3AccessGrantsScopeUnion2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
2184
|
+
if (value.ReadWriteAccess !== void 0)
|
|
2185
|
+
return visitor.ReadWriteAccess(value.ReadWriteAccess);
|
|
2186
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
2187
|
+
}, "visit");
|
|
2188
|
+
})(S3AccessGrantsScopeUnion || (S3AccessGrantsScopeUnion = {}));
|
|
2180
2189
|
var ServiceIntegrationsUnion;
|
|
2181
2190
|
((ServiceIntegrationsUnion3) => {
|
|
2182
2191
|
ServiceIntegrationsUnion3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
2183
2192
|
if (value.LakeFormation !== void 0)
|
|
2184
2193
|
return visitor.LakeFormation(value.LakeFormation);
|
|
2194
|
+
if (value.S3AccessGrants !== void 0)
|
|
2195
|
+
return visitor.S3AccessGrants(value.S3AccessGrants);
|
|
2185
2196
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
2186
2197
|
}, "visit");
|
|
2187
2198
|
})(ServiceIntegrationsUnion || (ServiceIntegrationsUnion = {}));
|
|
@@ -10943,6 +10954,13 @@ var se_PutResourcePolicyMessage = /* @__PURE__ */ __name((input, context) => {
|
|
|
10943
10954
|
}
|
|
10944
10955
|
return entries;
|
|
10945
10956
|
}, "se_PutResourcePolicyMessage");
|
|
10957
|
+
var se_ReadWriteAccess = /* @__PURE__ */ __name((input, context) => {
|
|
10958
|
+
const entries = {};
|
|
10959
|
+
if (input[_Au] != null) {
|
|
10960
|
+
entries[_Au] = input[_Au];
|
|
10961
|
+
}
|
|
10962
|
+
return entries;
|
|
10963
|
+
}, "se_ReadWriteAccess");
|
|
10946
10964
|
var se_RebootClusterMessage = /* @__PURE__ */ __name((input, context) => {
|
|
10947
10965
|
const entries = {};
|
|
10948
10966
|
if (input[_CIl] != null) {
|
|
@@ -11241,6 +11259,37 @@ var se_RotateEncryptionKeyMessage = /* @__PURE__ */ __name((input, context) => {
|
|
|
11241
11259
|
}
|
|
11242
11260
|
return entries;
|
|
11243
11261
|
}, "se_RotateEncryptionKeyMessage");
|
|
11262
|
+
var se_S3AccessGrantsScopeUnion = /* @__PURE__ */ __name((input, context) => {
|
|
11263
|
+
const entries = {};
|
|
11264
|
+
S3AccessGrantsScopeUnion.visit(input, {
|
|
11265
|
+
ReadWriteAccess: (value) => {
|
|
11266
|
+
const memberEntries = se_ReadWriteAccess(value, context);
|
|
11267
|
+
Object.entries(memberEntries).forEach(([key, value2]) => {
|
|
11268
|
+
const loc = `ReadWriteAccess.${key}`;
|
|
11269
|
+
entries[loc] = value2;
|
|
11270
|
+
});
|
|
11271
|
+
},
|
|
11272
|
+
_: (name, value) => {
|
|
11273
|
+
entries[name] = value;
|
|
11274
|
+
}
|
|
11275
|
+
});
|
|
11276
|
+
return entries;
|
|
11277
|
+
}, "se_S3AccessGrantsScopeUnion");
|
|
11278
|
+
var se_S3AccessGrantsServiceIntegrations = /* @__PURE__ */ __name((input, context) => {
|
|
11279
|
+
const entries = {};
|
|
11280
|
+
let counter = 1;
|
|
11281
|
+
for (const entry of input) {
|
|
11282
|
+
if (entry === null) {
|
|
11283
|
+
continue;
|
|
11284
|
+
}
|
|
11285
|
+
const memberEntries = se_S3AccessGrantsScopeUnion(entry, context);
|
|
11286
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
11287
|
+
entries[`member.${counter}.${key}`] = value;
|
|
11288
|
+
});
|
|
11289
|
+
counter++;
|
|
11290
|
+
}
|
|
11291
|
+
return entries;
|
|
11292
|
+
}, "se_S3AccessGrantsServiceIntegrations");
|
|
11244
11293
|
var se_ScheduledActionFilter = /* @__PURE__ */ __name((input, context) => {
|
|
11245
11294
|
var _a;
|
|
11246
11295
|
const entries = {};
|
|
@@ -11339,6 +11388,16 @@ var se_ServiceIntegrationsUnion = /* @__PURE__ */ __name((input, context) => {
|
|
|
11339
11388
|
entries[loc] = value2;
|
|
11340
11389
|
});
|
|
11341
11390
|
},
|
|
11391
|
+
S3AccessGrants: (value) => {
|
|
11392
|
+
const memberEntries = se_S3AccessGrantsServiceIntegrations(value, context);
|
|
11393
|
+
if ((value == null ? void 0 : value.length) === 0) {
|
|
11394
|
+
entries.S3AccessGrants = [];
|
|
11395
|
+
}
|
|
11396
|
+
Object.entries(memberEntries).forEach(([key, value2]) => {
|
|
11397
|
+
const loc = `S3AccessGrants.${key}`;
|
|
11398
|
+
entries[loc] = value2;
|
|
11399
|
+
});
|
|
11400
|
+
},
|
|
11342
11401
|
_: (name, value) => {
|
|
11343
11402
|
entries[name] = value;
|
|
11344
11403
|
}
|
|
@@ -14347,6 +14406,13 @@ var de_PutResourcePolicyResult = /* @__PURE__ */ __name((output, context) => {
|
|
|
14347
14406
|
}
|
|
14348
14407
|
return contents;
|
|
14349
14408
|
}, "de_PutResourcePolicyResult");
|
|
14409
|
+
var de_ReadWriteAccess = /* @__PURE__ */ __name((output, context) => {
|
|
14410
|
+
const contents = {};
|
|
14411
|
+
if (output[_Au] != null) {
|
|
14412
|
+
contents[_Au] = (0, import_smithy_client.expectString)(output[_Au]);
|
|
14413
|
+
}
|
|
14414
|
+
return contents;
|
|
14415
|
+
}, "de_ReadWriteAccess");
|
|
14350
14416
|
var de_RebootClusterResult = /* @__PURE__ */ __name((output, context) => {
|
|
14351
14417
|
const contents = {};
|
|
14352
14418
|
if (output[_Clu] != null) {
|
|
@@ -14944,6 +15010,19 @@ var de_RotateEncryptionKeyResult = /* @__PURE__ */ __name((output, context) => {
|
|
|
14944
15010
|
}
|
|
14945
15011
|
return contents;
|
|
14946
15012
|
}, "de_RotateEncryptionKeyResult");
|
|
15013
|
+
var de_S3AccessGrantsScopeUnion = /* @__PURE__ */ __name((output, context) => {
|
|
15014
|
+
if (output[_RWA] != null) {
|
|
15015
|
+
return {
|
|
15016
|
+
ReadWriteAccess: de_ReadWriteAccess(output[_RWA], context)
|
|
15017
|
+
};
|
|
15018
|
+
}
|
|
15019
|
+
return { $unknown: Object.entries(output)[0] };
|
|
15020
|
+
}, "de_S3AccessGrantsScopeUnion");
|
|
15021
|
+
var de_S3AccessGrantsServiceIntegrations = /* @__PURE__ */ __name((output, context) => {
|
|
15022
|
+
return (output || []).filter((e) => e != null).map((entry) => {
|
|
15023
|
+
return de_S3AccessGrantsScopeUnion((0, import_smithy_client.expectUnion)(entry), context);
|
|
15024
|
+
});
|
|
15025
|
+
}, "de_S3AccessGrantsServiceIntegrations");
|
|
14947
15026
|
var de_ScheduledAction = /* @__PURE__ */ __name((output, context) => {
|
|
14948
15027
|
const contents = {};
|
|
14949
15028
|
if (output[_SAN] != null) {
|
|
@@ -15084,6 +15163,15 @@ var de_ServiceIntegrationsUnion = /* @__PURE__ */ __name((output, context) => {
|
|
|
15084
15163
|
LakeFormation: de_LakeFormationServiceIntegrations((0, import_smithy_client.getArrayIfSingleItem)(output[_LF][_me]), context)
|
|
15085
15164
|
};
|
|
15086
15165
|
}
|
|
15166
|
+
if (output.S3AccessGrants === "") {
|
|
15167
|
+
return {
|
|
15168
|
+
[_SAG]: []
|
|
15169
|
+
};
|
|
15170
|
+
} else if (output[_SAG] != null && output[_SAG][_me] != null) {
|
|
15171
|
+
return {
|
|
15172
|
+
S3AccessGrants: de_S3AccessGrantsServiceIntegrations((0, import_smithy_client.getArrayIfSingleItem)(output[_SAG][_me]), context)
|
|
15173
|
+
};
|
|
15174
|
+
}
|
|
15087
15175
|
return { $unknown: Object.entries(output)[0] };
|
|
15088
15176
|
}, "de_ServiceIntegrationsUnion");
|
|
15089
15177
|
var de_Snapshot = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -16331,11 +16419,13 @@ var _RTeco = "RecommendationText";
|
|
|
16331
16419
|
var _RTeq = "RequestTime";
|
|
16332
16420
|
var _RTes = "ResizeType";
|
|
16333
16421
|
var _RTev = "RevisionTargets";
|
|
16422
|
+
var _RWA = "ReadWriteAccess";
|
|
16334
16423
|
var _Re = "Recommendations";
|
|
16335
16424
|
var _Rec = "Recommendation";
|
|
16336
16425
|
var _S = "Severity";
|
|
16337
16426
|
var _SA = "SnapshotArn";
|
|
16338
16427
|
var _SAD = "ScheduledActionDescription";
|
|
16428
|
+
var _SAG = "S3AccessGrants";
|
|
16339
16429
|
var _SAN = "ScheduledActionName";
|
|
16340
16430
|
var _SAS = "ScheduleAssociationState";
|
|
16341
16431
|
var _SAT = "ScheduledActionTime";
|
|
@@ -19212,6 +19302,7 @@ var waitUntilSnapshotAvailable = /* @__PURE__ */ __name(async (params, input) =>
|
|
|
19212
19302
|
IntegrationTargetNotFoundFault,
|
|
19213
19303
|
ServiceAuthorization,
|
|
19214
19304
|
LakeFormationScopeUnion,
|
|
19305
|
+
S3AccessGrantsScopeUnion,
|
|
19215
19306
|
ServiceIntegrationsUnion,
|
|
19216
19307
|
DependentServiceAccessDeniedFault,
|
|
19217
19308
|
RedshiftIdcApplicationAlreadyExistsFault,
|
|
@@ -1149,11 +1149,21 @@ export var LakeFormationScopeUnion;
|
|
|
1149
1149
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
1150
1150
|
};
|
|
1151
1151
|
})(LakeFormationScopeUnion || (LakeFormationScopeUnion = {}));
|
|
1152
|
+
export var S3AccessGrantsScopeUnion;
|
|
1153
|
+
(function (S3AccessGrantsScopeUnion) {
|
|
1154
|
+
S3AccessGrantsScopeUnion.visit = (value, visitor) => {
|
|
1155
|
+
if (value.ReadWriteAccess !== undefined)
|
|
1156
|
+
return visitor.ReadWriteAccess(value.ReadWriteAccess);
|
|
1157
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
1158
|
+
};
|
|
1159
|
+
})(S3AccessGrantsScopeUnion || (S3AccessGrantsScopeUnion = {}));
|
|
1152
1160
|
export var ServiceIntegrationsUnion;
|
|
1153
1161
|
(function (ServiceIntegrationsUnion) {
|
|
1154
1162
|
ServiceIntegrationsUnion.visit = (value, visitor) => {
|
|
1155
1163
|
if (value.LakeFormation !== undefined)
|
|
1156
1164
|
return visitor.LakeFormation(value.LakeFormation);
|
|
1165
|
+
if (value.S3AccessGrants !== undefined)
|
|
1166
|
+
return visitor.S3AccessGrants(value.S3AccessGrants);
|
|
1157
1167
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
1158
1168
|
};
|
|
1159
1169
|
})(ServiceIntegrationsUnion || (ServiceIntegrationsUnion = {}));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { parseXmlBody as parseBody, parseXmlErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
3
|
import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, expectUnion as __expectUnion, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeDateTime as __serializeDateTime, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, withBaseException, } from "@smithy/smithy-client";
|
|
4
|
-
import { AccessToClusterDeniedFault, AccessToSnapshotDeniedFault, AuthenticationProfileAlreadyExistsFault, AuthenticationProfileNotFoundFault, AuthenticationProfileQuotaExceededFault, AuthorizationAlreadyExistsFault, AuthorizationNotFoundFault, AuthorizationQuotaExceededFault, BatchDeleteRequestSizeExceededFault, BatchModifyClusterSnapshotsLimitExceededFault, BucketNotFoundFault, ClusterAlreadyExistsFault, ClusterNotFoundFault, ClusterOnLatestRevisionFault, ClusterParameterGroupAlreadyExistsFault, ClusterParameterGroupNotFoundFault, ClusterParameterGroupQuotaExceededFault, ClusterQuotaExceededFault, ClusterSecurityGroupAlreadyExistsFault, ClusterSecurityGroupNotFoundFault, ClusterSecurityGroupQuotaExceededFault, ClusterSnapshotAlreadyExistsFault, ClusterSnapshotNotFoundFault, ClusterSnapshotQuotaExceededFault, ClusterSubnetGroupAlreadyExistsFault, ClusterSubnetGroupNotFoundFault, ClusterSubnetGroupQuotaExceededFault, ClusterSubnetQuotaExceededFault, ConflictPolicyUpdateFault, CopyToRegionDisabledFault, CustomCnameAssociationFault, CustomDomainAssociationNotFoundFault, DependentServiceAccessDeniedFault, DependentServiceRequestThrottlingFault, DependentServiceUnavailableFault, EndpointAlreadyExistsFault, EndpointAuthorizationAlreadyExistsFault, EndpointAuthorizationsPerClusterLimitExceededFault, EndpointNotFoundFault, EndpointsPerAuthorizationLimitExceededFault, EndpointsPerClusterLimitExceededFault, EventSubscriptionQuotaExceededFault, HsmClientCertificateAlreadyExistsFault, HsmClientCertificateNotFoundFault, HsmClientCertificateQuotaExceededFault, HsmConfigurationAlreadyExistsFault, HsmConfigurationNotFoundFault, HsmConfigurationQuotaExceededFault, InsufficientClusterCapacityFault, IntegrationAlreadyExistsFault, IntegrationConflictOperationFault, IntegrationConflictStateFault, IntegrationNotFoundFault, IntegrationQuotaExceededFault, IntegrationSourceNotFoundFault, IntegrationTargetNotFoundFault, InvalidAuthenticationProfileRequestFault, InvalidAuthorizationStateFault, InvalidClusterParameterGroupStateFault, InvalidClusterSecurityGroupStateFault, InvalidClusterSnapshotScheduleStateFault, InvalidClusterSnapshotStateFault, InvalidClusterStateFault, InvalidClusterSubnetGroupStateFault, InvalidClusterSubnetStateFault, InvalidClusterTrackFault, InvalidDataShareFault, InvalidElasticIpFault, InvalidEndpointStateFault, InvalidHsmClientCertificateStateFault, InvalidHsmConfigurationStateFault, InvalidNamespaceFault, InvalidReservedNodeStateFault, InvalidRetentionPeriodFault, InvalidScheduledActionFault, InvalidScheduleFault, InvalidSnapshotCopyGrantStateFault, InvalidSubnet, InvalidSubscriptionStateFault, InvalidTagFault, InvalidUsageLimitFault, InvalidVPCNetworkStateFault, Ipv6CidrBlockNotFoundFault, LakeFormationScopeUnion, LimitExceededFault, NumberOfNodesPerClusterLimitExceededFault, NumberOfNodesQuotaExceededFault, PartnerNotFoundFault, RedshiftIdcApplicationAlreadyExistsFault, RedshiftIdcApplicationNotExistsFault, RedshiftIdcApplicationQuotaExceededFault, ReservedNodeAlreadyExistsFault, ReservedNodeAlreadyMigratedFault, ReservedNodeNotFoundFault, ReservedNodeOfferingNotFoundFault, ResizeNotFoundFault, ResourceNotFoundFault, ScheduledActionAlreadyExistsFault, ScheduledActionNotFoundFault, ScheduledActionQuotaExceededFault, ScheduledActionTypeUnsupportedFault, ScheduleDefinitionTypeUnsupportedFault, ServiceIntegrationsUnion, SnapshotCopyGrantAlreadyExistsFault, SnapshotCopyGrantNotFoundFault, SnapshotCopyGrantQuotaExceededFault, SnapshotScheduleAlreadyExistsFault, SnapshotScheduleNotFoundFault, SnapshotScheduleQuotaExceededFault, SNSInvalidTopicFault, SNSNoAuthorizationFault, SNSTopicArnNotFoundFault, SourceNotFoundFault, SubscriptionAlreadyExistFault, SubscriptionCategoryNotFoundFault, SubscriptionEventIdNotFoundFault, SubscriptionNotFoundFault, SubscriptionSeverityNotFoundFault, TagLimitExceededFault, UnauthorizedOperation, UnauthorizedPartnerIntegrationFault, UnsupportedOperationFault, UsageLimitAlreadyExistsFault, UsageLimitNotFoundFault, } from "../models/models_0";
|
|
4
|
+
import { AccessToClusterDeniedFault, AccessToSnapshotDeniedFault, AuthenticationProfileAlreadyExistsFault, AuthenticationProfileNotFoundFault, AuthenticationProfileQuotaExceededFault, AuthorizationAlreadyExistsFault, AuthorizationNotFoundFault, AuthorizationQuotaExceededFault, BatchDeleteRequestSizeExceededFault, BatchModifyClusterSnapshotsLimitExceededFault, BucketNotFoundFault, ClusterAlreadyExistsFault, ClusterNotFoundFault, ClusterOnLatestRevisionFault, ClusterParameterGroupAlreadyExistsFault, ClusterParameterGroupNotFoundFault, ClusterParameterGroupQuotaExceededFault, ClusterQuotaExceededFault, ClusterSecurityGroupAlreadyExistsFault, ClusterSecurityGroupNotFoundFault, ClusterSecurityGroupQuotaExceededFault, ClusterSnapshotAlreadyExistsFault, ClusterSnapshotNotFoundFault, ClusterSnapshotQuotaExceededFault, ClusterSubnetGroupAlreadyExistsFault, ClusterSubnetGroupNotFoundFault, ClusterSubnetGroupQuotaExceededFault, ClusterSubnetQuotaExceededFault, ConflictPolicyUpdateFault, CopyToRegionDisabledFault, CustomCnameAssociationFault, CustomDomainAssociationNotFoundFault, DependentServiceAccessDeniedFault, DependentServiceRequestThrottlingFault, DependentServiceUnavailableFault, EndpointAlreadyExistsFault, EndpointAuthorizationAlreadyExistsFault, EndpointAuthorizationsPerClusterLimitExceededFault, EndpointNotFoundFault, EndpointsPerAuthorizationLimitExceededFault, EndpointsPerClusterLimitExceededFault, EventSubscriptionQuotaExceededFault, HsmClientCertificateAlreadyExistsFault, HsmClientCertificateNotFoundFault, HsmClientCertificateQuotaExceededFault, HsmConfigurationAlreadyExistsFault, HsmConfigurationNotFoundFault, HsmConfigurationQuotaExceededFault, InsufficientClusterCapacityFault, IntegrationAlreadyExistsFault, IntegrationConflictOperationFault, IntegrationConflictStateFault, IntegrationNotFoundFault, IntegrationQuotaExceededFault, IntegrationSourceNotFoundFault, IntegrationTargetNotFoundFault, InvalidAuthenticationProfileRequestFault, InvalidAuthorizationStateFault, InvalidClusterParameterGroupStateFault, InvalidClusterSecurityGroupStateFault, InvalidClusterSnapshotScheduleStateFault, InvalidClusterSnapshotStateFault, InvalidClusterStateFault, InvalidClusterSubnetGroupStateFault, InvalidClusterSubnetStateFault, InvalidClusterTrackFault, InvalidDataShareFault, InvalidElasticIpFault, InvalidEndpointStateFault, InvalidHsmClientCertificateStateFault, InvalidHsmConfigurationStateFault, InvalidNamespaceFault, InvalidReservedNodeStateFault, InvalidRetentionPeriodFault, InvalidScheduledActionFault, InvalidScheduleFault, InvalidSnapshotCopyGrantStateFault, InvalidSubnet, InvalidSubscriptionStateFault, InvalidTagFault, InvalidUsageLimitFault, InvalidVPCNetworkStateFault, Ipv6CidrBlockNotFoundFault, LakeFormationScopeUnion, LimitExceededFault, NumberOfNodesPerClusterLimitExceededFault, NumberOfNodesQuotaExceededFault, PartnerNotFoundFault, RedshiftIdcApplicationAlreadyExistsFault, RedshiftIdcApplicationNotExistsFault, RedshiftIdcApplicationQuotaExceededFault, ReservedNodeAlreadyExistsFault, ReservedNodeAlreadyMigratedFault, ReservedNodeNotFoundFault, ReservedNodeOfferingNotFoundFault, ResizeNotFoundFault, ResourceNotFoundFault, S3AccessGrantsScopeUnion, ScheduledActionAlreadyExistsFault, ScheduledActionNotFoundFault, ScheduledActionQuotaExceededFault, ScheduledActionTypeUnsupportedFault, ScheduleDefinitionTypeUnsupportedFault, ServiceIntegrationsUnion, SnapshotCopyGrantAlreadyExistsFault, SnapshotCopyGrantNotFoundFault, SnapshotCopyGrantQuotaExceededFault, SnapshotScheduleAlreadyExistsFault, SnapshotScheduleNotFoundFault, SnapshotScheduleQuotaExceededFault, SNSInvalidTopicFault, SNSNoAuthorizationFault, SNSTopicArnNotFoundFault, SourceNotFoundFault, SubscriptionAlreadyExistFault, SubscriptionCategoryNotFoundFault, SubscriptionEventIdNotFoundFault, SubscriptionNotFoundFault, SubscriptionSeverityNotFoundFault, TagLimitExceededFault, UnauthorizedOperation, UnauthorizedPartnerIntegrationFault, UnsupportedOperationFault, UsageLimitAlreadyExistsFault, UsageLimitNotFoundFault, } from "../models/models_0";
|
|
5
5
|
import { EndpointAuthorizationNotFoundFault, IncompatibleOrderableOptions, InProgressTableRestoreQuotaExceededFault, InsufficientS3BucketPolicyFault, InvalidPolicyFault, InvalidRestoreFault, InvalidS3BucketNameFault, InvalidS3KeyPrefixFault, InvalidTableRestoreArgumentFault, ReservedNodeExchangeNotFoundFault, ReservedNodeQuotaExceededFault, SnapshotCopyAlreadyDisabledFault, SnapshotCopyAlreadyEnabledFault, SnapshotCopyDisabledFault, SnapshotScheduleUpdateInProgressFault, SubnetAlreadyInUse, TableLimitExceededFault, TableRestoreNotFoundFault, UnknownSnapshotCopyRegionFault, UnsupportedOptionFault, } from "../models/models_1";
|
|
6
6
|
import { RedshiftServiceException as __BaseException } from "../models/RedshiftServiceException";
|
|
7
7
|
export const se_AcceptReservedNodeExchangeCommand = async (input, context) => {
|
|
@@ -7616,6 +7616,13 @@ const se_PutResourcePolicyMessage = (input, context) => {
|
|
|
7616
7616
|
}
|
|
7617
7617
|
return entries;
|
|
7618
7618
|
};
|
|
7619
|
+
const se_ReadWriteAccess = (input, context) => {
|
|
7620
|
+
const entries = {};
|
|
7621
|
+
if (input[_Au] != null) {
|
|
7622
|
+
entries[_Au] = input[_Au];
|
|
7623
|
+
}
|
|
7624
|
+
return entries;
|
|
7625
|
+
};
|
|
7619
7626
|
const se_RebootClusterMessage = (input, context) => {
|
|
7620
7627
|
const entries = {};
|
|
7621
7628
|
if (input[_CIl] != null) {
|
|
@@ -7911,6 +7918,37 @@ const se_RotateEncryptionKeyMessage = (input, context) => {
|
|
|
7911
7918
|
}
|
|
7912
7919
|
return entries;
|
|
7913
7920
|
};
|
|
7921
|
+
const se_S3AccessGrantsScopeUnion = (input, context) => {
|
|
7922
|
+
const entries = {};
|
|
7923
|
+
S3AccessGrantsScopeUnion.visit(input, {
|
|
7924
|
+
ReadWriteAccess: (value) => {
|
|
7925
|
+
const memberEntries = se_ReadWriteAccess(value, context);
|
|
7926
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
7927
|
+
const loc = `ReadWriteAccess.${key}`;
|
|
7928
|
+
entries[loc] = value;
|
|
7929
|
+
});
|
|
7930
|
+
},
|
|
7931
|
+
_: (name, value) => {
|
|
7932
|
+
entries[name] = value;
|
|
7933
|
+
},
|
|
7934
|
+
});
|
|
7935
|
+
return entries;
|
|
7936
|
+
};
|
|
7937
|
+
const se_S3AccessGrantsServiceIntegrations = (input, context) => {
|
|
7938
|
+
const entries = {};
|
|
7939
|
+
let counter = 1;
|
|
7940
|
+
for (const entry of input) {
|
|
7941
|
+
if (entry === null) {
|
|
7942
|
+
continue;
|
|
7943
|
+
}
|
|
7944
|
+
const memberEntries = se_S3AccessGrantsScopeUnion(entry, context);
|
|
7945
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
7946
|
+
entries[`member.${counter}.${key}`] = value;
|
|
7947
|
+
});
|
|
7948
|
+
counter++;
|
|
7949
|
+
}
|
|
7950
|
+
return entries;
|
|
7951
|
+
};
|
|
7914
7952
|
const se_ScheduledActionFilter = (input, context) => {
|
|
7915
7953
|
const entries = {};
|
|
7916
7954
|
if (input[_N] != null) {
|
|
@@ -8008,6 +8046,16 @@ const se_ServiceIntegrationsUnion = (input, context) => {
|
|
|
8008
8046
|
entries[loc] = value;
|
|
8009
8047
|
});
|
|
8010
8048
|
},
|
|
8049
|
+
S3AccessGrants: (value) => {
|
|
8050
|
+
const memberEntries = se_S3AccessGrantsServiceIntegrations(value, context);
|
|
8051
|
+
if (value?.length === 0) {
|
|
8052
|
+
entries.S3AccessGrants = [];
|
|
8053
|
+
}
|
|
8054
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
8055
|
+
const loc = `S3AccessGrants.${key}`;
|
|
8056
|
+
entries[loc] = value;
|
|
8057
|
+
});
|
|
8058
|
+
},
|
|
8011
8059
|
_: (name, value) => {
|
|
8012
8060
|
entries[name] = value;
|
|
8013
8061
|
},
|
|
@@ -11198,6 +11246,13 @@ const de_PutResourcePolicyResult = (output, context) => {
|
|
|
11198
11246
|
}
|
|
11199
11247
|
return contents;
|
|
11200
11248
|
};
|
|
11249
|
+
const de_ReadWriteAccess = (output, context) => {
|
|
11250
|
+
const contents = {};
|
|
11251
|
+
if (output[_Au] != null) {
|
|
11252
|
+
contents[_Au] = __expectString(output[_Au]);
|
|
11253
|
+
}
|
|
11254
|
+
return contents;
|
|
11255
|
+
};
|
|
11201
11256
|
const de_RebootClusterResult = (output, context) => {
|
|
11202
11257
|
const contents = {};
|
|
11203
11258
|
if (output[_Clu] != null) {
|
|
@@ -11828,6 +11883,21 @@ const de_RotateEncryptionKeyResult = (output, context) => {
|
|
|
11828
11883
|
}
|
|
11829
11884
|
return contents;
|
|
11830
11885
|
};
|
|
11886
|
+
const de_S3AccessGrantsScopeUnion = (output, context) => {
|
|
11887
|
+
if (output[_RWA] != null) {
|
|
11888
|
+
return {
|
|
11889
|
+
ReadWriteAccess: de_ReadWriteAccess(output[_RWA], context),
|
|
11890
|
+
};
|
|
11891
|
+
}
|
|
11892
|
+
return { $unknown: Object.entries(output)[0] };
|
|
11893
|
+
};
|
|
11894
|
+
const de_S3AccessGrantsServiceIntegrations = (output, context) => {
|
|
11895
|
+
return (output || [])
|
|
11896
|
+
.filter((e) => e != null)
|
|
11897
|
+
.map((entry) => {
|
|
11898
|
+
return de_S3AccessGrantsScopeUnion(__expectUnion(entry), context);
|
|
11899
|
+
});
|
|
11900
|
+
};
|
|
11831
11901
|
const de_ScheduledAction = (output, context) => {
|
|
11832
11902
|
const contents = {};
|
|
11833
11903
|
if (output[_SAN] != null) {
|
|
@@ -11982,6 +12052,16 @@ const de_ServiceIntegrationsUnion = (output, context) => {
|
|
|
11982
12052
|
LakeFormation: de_LakeFormationServiceIntegrations(__getArrayIfSingleItem(output[_LF][_me]), context),
|
|
11983
12053
|
};
|
|
11984
12054
|
}
|
|
12055
|
+
if (output.S3AccessGrants === "") {
|
|
12056
|
+
return {
|
|
12057
|
+
[_SAG]: [],
|
|
12058
|
+
};
|
|
12059
|
+
}
|
|
12060
|
+
else if (output[_SAG] != null && output[_SAG][_me] != null) {
|
|
12061
|
+
return {
|
|
12062
|
+
S3AccessGrants: de_S3AccessGrantsServiceIntegrations(__getArrayIfSingleItem(output[_SAG][_me]), context),
|
|
12063
|
+
};
|
|
12064
|
+
}
|
|
11985
12065
|
return { $unknown: Object.entries(output)[0] };
|
|
11986
12066
|
};
|
|
11987
12067
|
const de_Snapshot = (output, context) => {
|
|
@@ -13281,11 +13361,13 @@ const _RTeco = "RecommendationText";
|
|
|
13281
13361
|
const _RTeq = "RequestTime";
|
|
13282
13362
|
const _RTes = "ResizeType";
|
|
13283
13363
|
const _RTev = "RevisionTargets";
|
|
13364
|
+
const _RWA = "ReadWriteAccess";
|
|
13284
13365
|
const _Re = "Recommendations";
|
|
13285
13366
|
const _Rec = "Recommendation";
|
|
13286
13367
|
const _S = "Severity";
|
|
13287
13368
|
const _SA = "SnapshotArn";
|
|
13288
13369
|
const _SAD = "ScheduledActionDescription";
|
|
13370
|
+
const _SAG = "S3AccessGrants";
|
|
13289
13371
|
const _SAN = "ScheduledActionName";
|
|
13290
13372
|
const _SAS = "ScheduleAssociationState";
|
|
13291
13373
|
const _SAT = "ScheduledActionTime";
|
|
@@ -57,6 +57,13 @@ declare const CreateRedshiftIdcApplicationCommand_base: {
|
|
|
57
57
|
* },
|
|
58
58
|
* },
|
|
59
59
|
* ],
|
|
60
|
+
* S3AccessGrants: [ // S3AccessGrantsServiceIntegrations
|
|
61
|
+
* { // S3AccessGrantsScopeUnion Union: only one key present
|
|
62
|
+
* ReadWriteAccess: { // ReadWriteAccess
|
|
63
|
+
* Authorization: "Enabled" || "Disabled", // required
|
|
64
|
+
* },
|
|
65
|
+
* },
|
|
66
|
+
* ],
|
|
60
67
|
* },
|
|
61
68
|
* ],
|
|
62
69
|
* };
|
|
@@ -89,6 +96,13 @@ declare const CreateRedshiftIdcApplicationCommand_base: {
|
|
|
89
96
|
* // },
|
|
90
97
|
* // },
|
|
91
98
|
* // ],
|
|
99
|
+
* // S3AccessGrants: [ // S3AccessGrantsServiceIntegrations
|
|
100
|
+
* // { // S3AccessGrantsScopeUnion Union: only one key present
|
|
101
|
+
* // ReadWriteAccess: { // ReadWriteAccess
|
|
102
|
+
* // Authorization: "Enabled" || "Disabled", // required
|
|
103
|
+
* // },
|
|
104
|
+
* // },
|
|
105
|
+
* // ],
|
|
92
106
|
* // },
|
|
93
107
|
* // ],
|
|
94
108
|
* // },
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ClusterParameterGroupDetails
|
|
3
|
+
import { ClusterParameterGroupDetails } from "../models/models_0";
|
|
4
|
+
import { DescribeClusterParametersMessage } from "../models/models_1";
|
|
4
5
|
import { RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftClient";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ClustersMessage
|
|
3
|
+
import { ClustersMessage } from "../models/models_0";
|
|
4
|
+
import { DescribeClustersMessage } from "../models/models_1";
|
|
4
5
|
import { RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftClient";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
@@ -69,6 +69,13 @@ declare const DescribeRedshiftIdcApplicationsCommand_base: {
|
|
|
69
69
|
* // },
|
|
70
70
|
* // },
|
|
71
71
|
* // ],
|
|
72
|
+
* // S3AccessGrants: [ // S3AccessGrantsServiceIntegrations
|
|
73
|
+
* // { // S3AccessGrantsScopeUnion Union: only one key present
|
|
74
|
+
* // ReadWriteAccess: { // ReadWriteAccess
|
|
75
|
+
* // Authorization: "Enabled" || "Disabled", // required
|
|
76
|
+
* // },
|
|
77
|
+
* // },
|
|
78
|
+
* // ],
|
|
72
79
|
* // },
|
|
73
80
|
* // ],
|
|
74
81
|
* // },
|
|
@@ -56,6 +56,13 @@ declare const ModifyRedshiftIdcApplicationCommand_base: {
|
|
|
56
56
|
* },
|
|
57
57
|
* },
|
|
58
58
|
* ],
|
|
59
|
+
* S3AccessGrants: [ // S3AccessGrantsServiceIntegrations
|
|
60
|
+
* { // S3AccessGrantsScopeUnion Union: only one key present
|
|
61
|
+
* ReadWriteAccess: { // ReadWriteAccess
|
|
62
|
+
* Authorization: "Enabled" || "Disabled", // required
|
|
63
|
+
* },
|
|
64
|
+
* },
|
|
65
|
+
* ],
|
|
59
66
|
* },
|
|
60
67
|
* ],
|
|
61
68
|
* };
|
|
@@ -88,6 +95,13 @@ declare const ModifyRedshiftIdcApplicationCommand_base: {
|
|
|
88
95
|
* // },
|
|
89
96
|
* // },
|
|
90
97
|
* // ],
|
|
98
|
+
* // S3AccessGrants: [ // S3AccessGrantsServiceIntegrations
|
|
99
|
+
* // { // S3AccessGrantsScopeUnion Union: only one key present
|
|
100
|
+
* // ReadWriteAccess: { // ReadWriteAccess
|
|
101
|
+
* // Authorization: "Enabled" || "Disabled", // required
|
|
102
|
+
* // },
|
|
103
|
+
* // },
|
|
104
|
+
* // ],
|
|
91
105
|
* // },
|
|
92
106
|
* // ],
|
|
93
107
|
* // },
|
|
@@ -5369,11 +5369,52 @@ export declare namespace LakeFormationScopeUnion {
|
|
|
5369
5369
|
}
|
|
5370
5370
|
const visit: <T>(value: LakeFormationScopeUnion, visitor: Visitor<T>) => T;
|
|
5371
5371
|
}
|
|
5372
|
+
/**
|
|
5373
|
+
* <p>The S3 Access Grants scope.</p>
|
|
5374
|
+
* @public
|
|
5375
|
+
*/
|
|
5376
|
+
export interface ReadWriteAccess {
|
|
5377
|
+
/**
|
|
5378
|
+
* <p>Determines whether the read/write scope is enabled or disabled.</p>
|
|
5379
|
+
* @public
|
|
5380
|
+
*/
|
|
5381
|
+
Authorization: ServiceAuthorization | undefined;
|
|
5382
|
+
}
|
|
5383
|
+
/**
|
|
5384
|
+
* <p>A list of scopes set up for S3 Access Grants integration.</p>
|
|
5385
|
+
* @public
|
|
5386
|
+
*/
|
|
5387
|
+
export type S3AccessGrantsScopeUnion = S3AccessGrantsScopeUnion.ReadWriteAccessMember | S3AccessGrantsScopeUnion.$UnknownMember;
|
|
5388
|
+
/**
|
|
5389
|
+
* @public
|
|
5390
|
+
*/
|
|
5391
|
+
export declare namespace S3AccessGrantsScopeUnion {
|
|
5392
|
+
/**
|
|
5393
|
+
* <p>The S3 Access Grants scope.</p>
|
|
5394
|
+
* @public
|
|
5395
|
+
*/
|
|
5396
|
+
interface ReadWriteAccessMember {
|
|
5397
|
+
ReadWriteAccess: ReadWriteAccess;
|
|
5398
|
+
$unknown?: never;
|
|
5399
|
+
}
|
|
5400
|
+
/**
|
|
5401
|
+
* @public
|
|
5402
|
+
*/
|
|
5403
|
+
interface $UnknownMember {
|
|
5404
|
+
ReadWriteAccess?: never;
|
|
5405
|
+
$unknown: [string, any];
|
|
5406
|
+
}
|
|
5407
|
+
interface Visitor<T> {
|
|
5408
|
+
ReadWriteAccess: (value: ReadWriteAccess) => T;
|
|
5409
|
+
_: (name: string, value: any) => T;
|
|
5410
|
+
}
|
|
5411
|
+
const visit: <T>(value: S3AccessGrantsScopeUnion, visitor: Visitor<T>) => T;
|
|
5412
|
+
}
|
|
5372
5413
|
/**
|
|
5373
5414
|
* <p>A list of service integrations.</p>
|
|
5374
5415
|
* @public
|
|
5375
5416
|
*/
|
|
5376
|
-
export type ServiceIntegrationsUnion = ServiceIntegrationsUnion.LakeFormationMember | ServiceIntegrationsUnion.$UnknownMember;
|
|
5417
|
+
export type ServiceIntegrationsUnion = ServiceIntegrationsUnion.LakeFormationMember | ServiceIntegrationsUnion.S3AccessGrantsMember | ServiceIntegrationsUnion.$UnknownMember;
|
|
5377
5418
|
/**
|
|
5378
5419
|
* @public
|
|
5379
5420
|
*/
|
|
@@ -5384,6 +5425,16 @@ export declare namespace ServiceIntegrationsUnion {
|
|
|
5384
5425
|
*/
|
|
5385
5426
|
interface LakeFormationMember {
|
|
5386
5427
|
LakeFormation: LakeFormationScopeUnion[];
|
|
5428
|
+
S3AccessGrants?: never;
|
|
5429
|
+
$unknown?: never;
|
|
5430
|
+
}
|
|
5431
|
+
/**
|
|
5432
|
+
* <p>A list of scopes set up for S3 Access Grants integration.</p>
|
|
5433
|
+
* @public
|
|
5434
|
+
*/
|
|
5435
|
+
interface S3AccessGrantsMember {
|
|
5436
|
+
LakeFormation?: never;
|
|
5437
|
+
S3AccessGrants: S3AccessGrantsScopeUnion[];
|
|
5387
5438
|
$unknown?: never;
|
|
5388
5439
|
}
|
|
5389
5440
|
/**
|
|
@@ -5391,10 +5442,12 @@ export declare namespace ServiceIntegrationsUnion {
|
|
|
5391
5442
|
*/
|
|
5392
5443
|
interface $UnknownMember {
|
|
5393
5444
|
LakeFormation?: never;
|
|
5445
|
+
S3AccessGrants?: never;
|
|
5394
5446
|
$unknown: [string, any];
|
|
5395
5447
|
}
|
|
5396
5448
|
interface Visitor<T> {
|
|
5397
5449
|
LakeFormation: (value: LakeFormationScopeUnion[]) => T;
|
|
5450
|
+
S3AccessGrants: (value: S3AccessGrantsScopeUnion[]) => T;
|
|
5398
5451
|
_: (name: string, value: any) => T;
|
|
5399
5452
|
}
|
|
5400
5453
|
const visit: <T>(value: ServiceIntegrationsUnion, visitor: Visitor<T>) => T;
|
|
@@ -6980,102 +7033,6 @@ export interface DescribeClusterParameterGroupsMessage {
|
|
|
6980
7033
|
*/
|
|
6981
7034
|
TagValues?: string[] | undefined;
|
|
6982
7035
|
}
|
|
6983
|
-
/**
|
|
6984
|
-
* <p></p>
|
|
6985
|
-
* @public
|
|
6986
|
-
*/
|
|
6987
|
-
export interface DescribeClusterParametersMessage {
|
|
6988
|
-
/**
|
|
6989
|
-
* <p>The name of a cluster parameter group for which to return details.</p>
|
|
6990
|
-
* @public
|
|
6991
|
-
*/
|
|
6992
|
-
ParameterGroupName: string | undefined;
|
|
6993
|
-
/**
|
|
6994
|
-
* <p>The parameter types to return. Specify <code>user</code> to show parameters that
|
|
6995
|
-
* are different form the default. Similarly, specify <code>engine-default</code> to show
|
|
6996
|
-
* parameters that are the same as the default parameter group. </p>
|
|
6997
|
-
* <p>Default: All parameter types returned.</p>
|
|
6998
|
-
* <p>Valid Values: <code>user</code> | <code>engine-default</code>
|
|
6999
|
-
* </p>
|
|
7000
|
-
* @public
|
|
7001
|
-
*/
|
|
7002
|
-
Source?: string | undefined;
|
|
7003
|
-
/**
|
|
7004
|
-
* <p>The maximum number of response records to return in each call. If the number of
|
|
7005
|
-
* remaining response records exceeds the specified <code>MaxRecords</code> value, a value
|
|
7006
|
-
* is returned in a <code>marker</code> field of the response. You can retrieve the next
|
|
7007
|
-
* set of records by retrying the command with the returned marker value. </p>
|
|
7008
|
-
* <p>Default: <code>100</code>
|
|
7009
|
-
* </p>
|
|
7010
|
-
* <p>Constraints: minimum 20, maximum 100.</p>
|
|
7011
|
-
* @public
|
|
7012
|
-
*/
|
|
7013
|
-
MaxRecords?: number | undefined;
|
|
7014
|
-
/**
|
|
7015
|
-
* <p>An optional parameter that specifies the starting point to return a set of response
|
|
7016
|
-
* records. When the results of a <a>DescribeClusterParameters</a> request
|
|
7017
|
-
* exceed the value specified in <code>MaxRecords</code>, Amazon Web Services returns a value in the
|
|
7018
|
-
* <code>Marker</code> field of the response. You can retrieve the next set of response
|
|
7019
|
-
* records by providing the returned marker value in the <code>Marker</code> parameter and
|
|
7020
|
-
* retrying the request. </p>
|
|
7021
|
-
* @public
|
|
7022
|
-
*/
|
|
7023
|
-
Marker?: string | undefined;
|
|
7024
|
-
}
|
|
7025
|
-
/**
|
|
7026
|
-
* <p></p>
|
|
7027
|
-
* @public
|
|
7028
|
-
*/
|
|
7029
|
-
export interface DescribeClustersMessage {
|
|
7030
|
-
/**
|
|
7031
|
-
* <p>The unique identifier of a cluster whose properties you are requesting. This
|
|
7032
|
-
* parameter is case sensitive.</p>
|
|
7033
|
-
* <p>The default is that all clusters defined for an account are returned.</p>
|
|
7034
|
-
* @public
|
|
7035
|
-
*/
|
|
7036
|
-
ClusterIdentifier?: string | undefined;
|
|
7037
|
-
/**
|
|
7038
|
-
* <p>The maximum number of response records to return in each call. If the number of
|
|
7039
|
-
* remaining response records exceeds the specified <code>MaxRecords</code> value, a value
|
|
7040
|
-
* is returned in a <code>marker</code> field of the response. You can retrieve the next
|
|
7041
|
-
* set of records by retrying the command with the returned marker value. </p>
|
|
7042
|
-
* <p>Default: <code>100</code>
|
|
7043
|
-
* </p>
|
|
7044
|
-
* <p>Constraints: minimum 20, maximum 100.</p>
|
|
7045
|
-
* @public
|
|
7046
|
-
*/
|
|
7047
|
-
MaxRecords?: number | undefined;
|
|
7048
|
-
/**
|
|
7049
|
-
* <p>An optional parameter that specifies the starting point to return a set of response
|
|
7050
|
-
* records. When the results of a <a>DescribeClusters</a> request exceed the
|
|
7051
|
-
* value specified in <code>MaxRecords</code>, Amazon Web Services returns a value in the
|
|
7052
|
-
* <code>Marker</code> field of the response. You can retrieve the next set of response
|
|
7053
|
-
* records by providing the returned marker value in the <code>Marker</code> parameter and
|
|
7054
|
-
* retrying the request. </p>
|
|
7055
|
-
* <p>Constraints: You can specify either the <b>ClusterIdentifier</b> parameter or the <b>Marker</b> parameter, but not both. </p>
|
|
7056
|
-
* @public
|
|
7057
|
-
*/
|
|
7058
|
-
Marker?: string | undefined;
|
|
7059
|
-
/**
|
|
7060
|
-
* <p>A tag key or keys for which you want to return all matching clusters that are
|
|
7061
|
-
* associated with the specified key or keys. For example, suppose that you have clusters
|
|
7062
|
-
* that are tagged with keys called <code>owner</code> and <code>environment</code>. If you
|
|
7063
|
-
* specify both of these tag keys in the request, Amazon Redshift returns a response with the
|
|
7064
|
-
* clusters that have either or both of these tag keys associated with them.</p>
|
|
7065
|
-
* @public
|
|
7066
|
-
*/
|
|
7067
|
-
TagKeys?: string[] | undefined;
|
|
7068
|
-
/**
|
|
7069
|
-
* <p>A tag value or values for which you want to return all matching clusters that are
|
|
7070
|
-
* associated with the specified tag value or values. For example, suppose that you have
|
|
7071
|
-
* clusters that are tagged with values called <code>admin</code> and <code>test</code>. If
|
|
7072
|
-
* you specify both of these tag values in the request, Amazon Redshift returns a response with
|
|
7073
|
-
* the clusters that have either or both of these tag values associated with
|
|
7074
|
-
* them.</p>
|
|
7075
|
-
* @public
|
|
7076
|
-
*/
|
|
7077
|
-
TagValues?: string[] | undefined;
|
|
7078
|
-
}
|
|
7079
7036
|
/**
|
|
7080
7037
|
* @internal
|
|
7081
7038
|
*/
|
|
@@ -1,6 +1,102 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { ActionType, AquaConfiguration, AquaConfigurationStatus, AuthorizedTokenIssuer, AvailabilityZone, Cluster, ClusterSecurityGroup, ClusterSubnetGroup, DataShare, DataShareStatusForConsumer, DataShareStatusForProducer, DefaultClusterParameters, EndpointAccess, EndpointAuthorization, EventSubscription, HsmClientCertificate, HsmConfiguration, Integration, IntegrationError, Parameter, RecurringCharge, RedshiftIdcApplication, ReservedNode, ReservedNodeExchangeStatus, ReservedNodeOfferingType, ScheduledAction, ScheduledActionType, ServiceIntegrationsUnion, Snapshot, SnapshotCopyGrant, SnapshotSchedule, Tag, UsageLimit, UsageLimitBreachAction, UsageLimitFeatureType, ZeroETLIntegrationStatus } from "./models_0";
|
|
3
3
|
import { RedshiftServiceException as __BaseException } from "./RedshiftServiceException";
|
|
4
|
+
/**
|
|
5
|
+
* <p></p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface DescribeClusterParametersMessage {
|
|
9
|
+
/**
|
|
10
|
+
* <p>The name of a cluster parameter group for which to return details.</p>
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
ParameterGroupName: string | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* <p>The parameter types to return. Specify <code>user</code> to show parameters that
|
|
16
|
+
* are different form the default. Similarly, specify <code>engine-default</code> to show
|
|
17
|
+
* parameters that are the same as the default parameter group. </p>
|
|
18
|
+
* <p>Default: All parameter types returned.</p>
|
|
19
|
+
* <p>Valid Values: <code>user</code> | <code>engine-default</code>
|
|
20
|
+
* </p>
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
Source?: string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* <p>The maximum number of response records to return in each call. If the number of
|
|
26
|
+
* remaining response records exceeds the specified <code>MaxRecords</code> value, a value
|
|
27
|
+
* is returned in a <code>marker</code> field of the response. You can retrieve the next
|
|
28
|
+
* set of records by retrying the command with the returned marker value. </p>
|
|
29
|
+
* <p>Default: <code>100</code>
|
|
30
|
+
* </p>
|
|
31
|
+
* <p>Constraints: minimum 20, maximum 100.</p>
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
MaxRecords?: number | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* <p>An optional parameter that specifies the starting point to return a set of response
|
|
37
|
+
* records. When the results of a <a>DescribeClusterParameters</a> request
|
|
38
|
+
* exceed the value specified in <code>MaxRecords</code>, Amazon Web Services returns a value in the
|
|
39
|
+
* <code>Marker</code> field of the response. You can retrieve the next set of response
|
|
40
|
+
* records by providing the returned marker value in the <code>Marker</code> parameter and
|
|
41
|
+
* retrying the request. </p>
|
|
42
|
+
* @public
|
|
43
|
+
*/
|
|
44
|
+
Marker?: string | undefined;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* <p></p>
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
export interface DescribeClustersMessage {
|
|
51
|
+
/**
|
|
52
|
+
* <p>The unique identifier of a cluster whose properties you are requesting. This
|
|
53
|
+
* parameter is case sensitive.</p>
|
|
54
|
+
* <p>The default is that all clusters defined for an account are returned.</p>
|
|
55
|
+
* @public
|
|
56
|
+
*/
|
|
57
|
+
ClusterIdentifier?: string | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* <p>The maximum number of response records to return in each call. If the number of
|
|
60
|
+
* remaining response records exceeds the specified <code>MaxRecords</code> value, a value
|
|
61
|
+
* is returned in a <code>marker</code> field of the response. You can retrieve the next
|
|
62
|
+
* set of records by retrying the command with the returned marker value. </p>
|
|
63
|
+
* <p>Default: <code>100</code>
|
|
64
|
+
* </p>
|
|
65
|
+
* <p>Constraints: minimum 20, maximum 100.</p>
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
MaxRecords?: number | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* <p>An optional parameter that specifies the starting point to return a set of response
|
|
71
|
+
* records. When the results of a <a>DescribeClusters</a> request exceed the
|
|
72
|
+
* value specified in <code>MaxRecords</code>, Amazon Web Services returns a value in the
|
|
73
|
+
* <code>Marker</code> field of the response. You can retrieve the next set of response
|
|
74
|
+
* records by providing the returned marker value in the <code>Marker</code> parameter and
|
|
75
|
+
* retrying the request. </p>
|
|
76
|
+
* <p>Constraints: You can specify either the <b>ClusterIdentifier</b> parameter or the <b>Marker</b> parameter, but not both. </p>
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
Marker?: string | undefined;
|
|
80
|
+
/**
|
|
81
|
+
* <p>A tag key or keys for which you want to return all matching clusters that are
|
|
82
|
+
* associated with the specified key or keys. For example, suppose that you have clusters
|
|
83
|
+
* that are tagged with keys called <code>owner</code> and <code>environment</code>. If you
|
|
84
|
+
* specify both of these tag keys in the request, Amazon Redshift returns a response with the
|
|
85
|
+
* clusters that have either or both of these tag keys associated with them.</p>
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
TagKeys?: string[] | undefined;
|
|
89
|
+
/**
|
|
90
|
+
* <p>A tag value or values for which you want to return all matching clusters that are
|
|
91
|
+
* associated with the specified tag value or values. For example, suppose that you have
|
|
92
|
+
* clusters that are tagged with values called <code>admin</code> and <code>test</code>. If
|
|
93
|
+
* you specify both of these tag values in the request, Amazon Redshift returns a response with
|
|
94
|
+
* the clusters that have either or both of these tag values associated with
|
|
95
|
+
* them.</p>
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
TagValues?: string[] | undefined;
|
|
99
|
+
}
|
|
4
100
|
/**
|
|
5
101
|
* <p></p>
|
|
6
102
|
* @public
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
DescribeClusterParametersMessage,
|
|
6
|
-
} from "../models/models_0";
|
|
3
|
+
import { ClusterParameterGroupDetails } from "../models/models_0";
|
|
4
|
+
import { DescribeClusterParametersMessage } from "../models/models_1";
|
|
7
5
|
import {
|
|
8
6
|
RedshiftClientResolvedConfig,
|
|
9
7
|
ServiceInputTypes,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ClustersMessage
|
|
3
|
+
import { ClustersMessage } from "../models/models_0";
|
|
4
|
+
import { DescribeClustersMessage } from "../models/models_1";
|
|
4
5
|
import {
|
|
5
6
|
RedshiftClientResolvedConfig,
|
|
6
7
|
ServiceInputTypes,
|
|
@@ -1588,20 +1588,50 @@ export declare namespace LakeFormationScopeUnion {
|
|
|
1588
1588
|
}
|
|
1589
1589
|
const visit: <T>(value: LakeFormationScopeUnion, visitor: Visitor<T>) => T;
|
|
1590
1590
|
}
|
|
1591
|
+
export interface ReadWriteAccess {
|
|
1592
|
+
Authorization: ServiceAuthorization | undefined;
|
|
1593
|
+
}
|
|
1594
|
+
export type S3AccessGrantsScopeUnion =
|
|
1595
|
+
| S3AccessGrantsScopeUnion.ReadWriteAccessMember
|
|
1596
|
+
| S3AccessGrantsScopeUnion.$UnknownMember;
|
|
1597
|
+
export declare namespace S3AccessGrantsScopeUnion {
|
|
1598
|
+
interface ReadWriteAccessMember {
|
|
1599
|
+
ReadWriteAccess: ReadWriteAccess;
|
|
1600
|
+
$unknown?: never;
|
|
1601
|
+
}
|
|
1602
|
+
interface $UnknownMember {
|
|
1603
|
+
ReadWriteAccess?: never;
|
|
1604
|
+
$unknown: [string, any];
|
|
1605
|
+
}
|
|
1606
|
+
interface Visitor<T> {
|
|
1607
|
+
ReadWriteAccess: (value: ReadWriteAccess) => T;
|
|
1608
|
+
_: (name: string, value: any) => T;
|
|
1609
|
+
}
|
|
1610
|
+
const visit: <T>(value: S3AccessGrantsScopeUnion, visitor: Visitor<T>) => T;
|
|
1611
|
+
}
|
|
1591
1612
|
export type ServiceIntegrationsUnion =
|
|
1592
1613
|
| ServiceIntegrationsUnion.LakeFormationMember
|
|
1614
|
+
| ServiceIntegrationsUnion.S3AccessGrantsMember
|
|
1593
1615
|
| ServiceIntegrationsUnion.$UnknownMember;
|
|
1594
1616
|
export declare namespace ServiceIntegrationsUnion {
|
|
1595
1617
|
interface LakeFormationMember {
|
|
1596
1618
|
LakeFormation: LakeFormationScopeUnion[];
|
|
1619
|
+
S3AccessGrants?: never;
|
|
1620
|
+
$unknown?: never;
|
|
1621
|
+
}
|
|
1622
|
+
interface S3AccessGrantsMember {
|
|
1623
|
+
LakeFormation?: never;
|
|
1624
|
+
S3AccessGrants: S3AccessGrantsScopeUnion[];
|
|
1597
1625
|
$unknown?: never;
|
|
1598
1626
|
}
|
|
1599
1627
|
interface $UnknownMember {
|
|
1600
1628
|
LakeFormation?: never;
|
|
1629
|
+
S3AccessGrants?: never;
|
|
1601
1630
|
$unknown: [string, any];
|
|
1602
1631
|
}
|
|
1603
1632
|
interface Visitor<T> {
|
|
1604
1633
|
LakeFormation: (value: LakeFormationScopeUnion[]) => T;
|
|
1634
|
+
S3AccessGrants: (value: S3AccessGrantsScopeUnion[]) => T;
|
|
1605
1635
|
_: (name: string, value: any) => T;
|
|
1606
1636
|
}
|
|
1607
1637
|
const visit: <T>(value: ServiceIntegrationsUnion, visitor: Visitor<T>) => T;
|
|
@@ -2153,19 +2183,6 @@ export interface DescribeClusterParameterGroupsMessage {
|
|
|
2153
2183
|
TagKeys?: string[] | undefined;
|
|
2154
2184
|
TagValues?: string[] | undefined;
|
|
2155
2185
|
}
|
|
2156
|
-
export interface DescribeClusterParametersMessage {
|
|
2157
|
-
ParameterGroupName: string | undefined;
|
|
2158
|
-
Source?: string | undefined;
|
|
2159
|
-
MaxRecords?: number | undefined;
|
|
2160
|
-
Marker?: string | undefined;
|
|
2161
|
-
}
|
|
2162
|
-
export interface DescribeClustersMessage {
|
|
2163
|
-
ClusterIdentifier?: string | undefined;
|
|
2164
|
-
MaxRecords?: number | undefined;
|
|
2165
|
-
Marker?: string | undefined;
|
|
2166
|
-
TagKeys?: string[] | undefined;
|
|
2167
|
-
TagValues?: string[] | undefined;
|
|
2168
|
-
}
|
|
2169
2186
|
export declare const PendingModifiedValuesFilterSensitiveLog: (
|
|
2170
2187
|
obj: PendingModifiedValues
|
|
2171
2188
|
) => any;
|
|
@@ -38,6 +38,19 @@ import {
|
|
|
38
38
|
ZeroETLIntegrationStatus,
|
|
39
39
|
} from "./models_0";
|
|
40
40
|
import { RedshiftServiceException as __BaseException } from "./RedshiftServiceException";
|
|
41
|
+
export interface DescribeClusterParametersMessage {
|
|
42
|
+
ParameterGroupName: string | undefined;
|
|
43
|
+
Source?: string | undefined;
|
|
44
|
+
MaxRecords?: number | undefined;
|
|
45
|
+
Marker?: string | undefined;
|
|
46
|
+
}
|
|
47
|
+
export interface DescribeClustersMessage {
|
|
48
|
+
ClusterIdentifier?: string | undefined;
|
|
49
|
+
MaxRecords?: number | undefined;
|
|
50
|
+
Marker?: string | undefined;
|
|
51
|
+
TagKeys?: string[] | undefined;
|
|
52
|
+
TagValues?: string[] | undefined;
|
|
53
|
+
}
|
|
41
54
|
export interface DescribeClusterSecurityGroupsMessage {
|
|
42
55
|
ClusterSecurityGroupName?: string | undefined;
|
|
43
56
|
MaxRecords?: number | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-redshift",
|
|
3
3
|
"description": "AWS SDK for JavaScript Redshift Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.692.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-redshift",
|
|
@@ -20,45 +20,45 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^3.0.
|
|
37
|
-
"@smithy/core": "^2.5.
|
|
38
|
-
"@smithy/fetch-http-handler": "^4.
|
|
39
|
-
"@smithy/hash-node": "^3.0.
|
|
40
|
-
"@smithy/invalid-dependency": "^3.0.
|
|
41
|
-
"@smithy/middleware-content-length": "^3.0.
|
|
42
|
-
"@smithy/middleware-endpoint": "^3.2.
|
|
43
|
-
"@smithy/middleware-retry": "^3.0.
|
|
44
|
-
"@smithy/middleware-serde": "^3.0.
|
|
45
|
-
"@smithy/middleware-stack": "^3.0.
|
|
46
|
-
"@smithy/node-config-provider": "^3.1.
|
|
47
|
-
"@smithy/node-http-handler": "^3.
|
|
48
|
-
"@smithy/protocol-http": "^4.1.
|
|
49
|
-
"@smithy/smithy-client": "^3.4.
|
|
50
|
-
"@smithy/types": "^3.
|
|
51
|
-
"@smithy/url-parser": "^3.0.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.692.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.692.0",
|
|
25
|
+
"@aws-sdk/core": "3.692.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.692.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.692.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.692.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.692.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.692.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.692.0",
|
|
32
|
+
"@aws-sdk/types": "3.692.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.692.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.692.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.692.0",
|
|
36
|
+
"@smithy/config-resolver": "^3.0.11",
|
|
37
|
+
"@smithy/core": "^2.5.2",
|
|
38
|
+
"@smithy/fetch-http-handler": "^4.1.0",
|
|
39
|
+
"@smithy/hash-node": "^3.0.9",
|
|
40
|
+
"@smithy/invalid-dependency": "^3.0.9",
|
|
41
|
+
"@smithy/middleware-content-length": "^3.0.11",
|
|
42
|
+
"@smithy/middleware-endpoint": "^3.2.2",
|
|
43
|
+
"@smithy/middleware-retry": "^3.0.26",
|
|
44
|
+
"@smithy/middleware-serde": "^3.0.9",
|
|
45
|
+
"@smithy/middleware-stack": "^3.0.9",
|
|
46
|
+
"@smithy/node-config-provider": "^3.1.10",
|
|
47
|
+
"@smithy/node-http-handler": "^3.3.0",
|
|
48
|
+
"@smithy/protocol-http": "^4.1.6",
|
|
49
|
+
"@smithy/smithy-client": "^3.4.3",
|
|
50
|
+
"@smithy/types": "^3.7.0",
|
|
51
|
+
"@smithy/url-parser": "^3.0.9",
|
|
52
52
|
"@smithy/util-base64": "^3.0.0",
|
|
53
53
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
57
|
-
"@smithy/util-endpoints": "^2.1.
|
|
58
|
-
"@smithy/util-middleware": "^3.0.
|
|
59
|
-
"@smithy/util-retry": "^3.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^3.0.26",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^3.0.26",
|
|
57
|
+
"@smithy/util-endpoints": "^2.1.5",
|
|
58
|
+
"@smithy/util-middleware": "^3.0.9",
|
|
59
|
+
"@smithy/util-retry": "^3.0.9",
|
|
60
60
|
"@smithy/util-utf8": "^3.0.0",
|
|
61
|
-
"@smithy/util-waiter": "^3.1.
|
|
61
|
+
"@smithy/util-waiter": "^3.1.8",
|
|
62
62
|
"tslib": "^2.6.2"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|