@aws-sdk/client-redshift 3.353.0 → 3.356.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/README.md +32 -0
- package/dist-cjs/Redshift.js +8 -0
- package/dist-cjs/commands/CreateCustomDomainAssociationCommand.js +46 -0
- package/dist-cjs/commands/DeleteCustomDomainAssociationCommand.js +46 -0
- package/dist-cjs/commands/DescribeCustomDomainAssociationsCommand.js +46 -0
- package/dist-cjs/commands/ModifyCustomDomainAssociationCommand.js +46 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +28 -9
- package/dist-cjs/models/models_1.js +8 -1
- package/dist-cjs/pagination/DescribeCustomDomainAssociationsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +2 -1
- package/dist-cjs/protocols/Aws_query.js +387 -5
- package/dist-es/Redshift.js +8 -0
- package/dist-es/commands/CreateCustomDomainAssociationCommand.js +42 -0
- package/dist-es/commands/DeleteCustomDomainAssociationCommand.js +42 -0
- package/dist-es/commands/DescribeCustomDomainAssociationsCommand.js +42 -0
- package/dist-es/commands/ModifyCustomDomainAssociationCommand.js +42 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +24 -7
- package/dist-es/models/models_1.js +7 -0
- package/dist-es/pagination/DescribeCustomDomainAssociationsPaginator.js +25 -0
- package/dist-es/pagination/index.js +2 -1
- package/dist-es/protocols/Aws_query.js +375 -1
- package/dist-types/Redshift.d.ts +28 -0
- package/dist-types/RedshiftClient.d.ts +6 -2
- package/dist-types/commands/CreateClusterCommand.d.ts +3 -0
- package/dist-types/commands/CreateCustomDomainAssociationCommand.d.ts +89 -0
- package/dist-types/commands/DeleteClusterCommand.d.ts +3 -0
- package/dist-types/commands/DeleteCustomDomainAssociationCommand.d.ts +81 -0
- package/dist-types/commands/DescribeClustersCommand.d.ts +3 -0
- package/dist-types/commands/DescribeCustomDomainAssociationsCommand.d.ts +94 -0
- package/dist-types/commands/DescribeEventCategoriesCommand.d.ts +2 -1
- package/dist-types/commands/DescribeEventSubscriptionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEventsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeHsmClientCertificatesCommand.d.ts +1 -1
- package/dist-types/commands/DisableSnapshotCopyCommand.d.ts +3 -0
- package/dist-types/commands/EnableSnapshotCopyCommand.d.ts +3 -0
- package/dist-types/commands/GetClusterCredentialsCommand.d.ts +2 -1
- package/dist-types/commands/GetClusterCredentialsWithIAMCommand.d.ts +2 -1
- package/dist-types/commands/ModifyClusterCommand.d.ts +9 -0
- package/dist-types/commands/ModifyClusterDbRevisionCommand.d.ts +3 -0
- package/dist-types/commands/ModifyClusterIamRolesCommand.d.ts +3 -0
- package/dist-types/commands/ModifyClusterMaintenanceCommand.d.ts +3 -0
- package/dist-types/commands/ModifyCustomDomainAssociationCommand.d.ts +88 -0
- package/dist-types/commands/ModifySnapshotCopyRetentionPeriodCommand.d.ts +3 -0
- package/dist-types/commands/PauseClusterCommand.d.ts +3 -0
- package/dist-types/commands/RebootClusterCommand.d.ts +3 -0
- package/dist-types/commands/ResizeClusterCommand.d.ts +3 -0
- package/dist-types/commands/RestoreFromClusterSnapshotCommand.d.ts +3 -0
- package/dist-types/commands/ResumeClusterCommand.d.ts +3 -0
- package/dist-types/commands/RotateEncryptionKeyCommand.d.ts +3 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +156 -323
- package/dist-types/models/models_1.d.ts +369 -6
- package/dist-types/pagination/DescribeCustomDomainAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -1
- package/dist-types/protocols/Aws_query.d.ts +36 -0
- package/dist-types/ts3.4/Redshift.d.ts +68 -0
- package/dist-types/ts3.4/RedshiftClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/CreateCustomDomainAssociationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteCustomDomainAssociationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeCustomDomainAssociationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeEventCategoriesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeEventSubscriptionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeEventsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeHsmClientCertificatesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyCustomDomainAssociationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +53 -55
- package/dist-types/ts3.4/models/models_1.d.ts +72 -2
- package/dist-types/ts3.4/pagination/DescribeCustomDomainAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -1
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +48 -0
- package/package.json +9 -9
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.de_UpdatePartnerStatusCommand = exports.de_RotateEncryptionKeyCommand = exports.de_RevokeSnapshotAccessCommand = exports.de_RevokeEndpointAccessCommand = exports.de_RevokeClusterSecurityGroupIngressCommand = exports.de_ResumeClusterCommand = exports.de_RestoreTableFromClusterSnapshotCommand = exports.de_RestoreFromClusterSnapshotCommand = exports.de_ResizeClusterCommand = exports.de_ResetClusterParameterGroupCommand = exports.de_RejectDataShareCommand = exports.de_RebootClusterCommand = exports.de_PurchaseReservedNodeOfferingCommand = exports.de_PauseClusterCommand = exports.de_ModifyUsageLimitCommand = exports.de_ModifySnapshotScheduleCommand = exports.de_ModifySnapshotCopyRetentionPeriodCommand = exports.de_ModifyScheduledActionCommand = exports.de_ModifyEventSubscriptionCommand = exports.de_ModifyEndpointAccessCommand = exports.de_ModifyClusterSubnetGroupCommand = exports.de_ModifyClusterSnapshotScheduleCommand = exports.de_ModifyClusterSnapshotCommand = exports.de_ModifyClusterParameterGroupCommand = exports.de_ModifyClusterMaintenanceCommand = exports.de_ModifyClusterIamRolesCommand = exports.de_ModifyClusterDbRevisionCommand = exports.de_ModifyClusterCommand = exports.de_ModifyAuthenticationProfileCommand = exports.de_ModifyAquaConfigurationCommand = exports.de_GetReservedNodeExchangeOfferingsCommand = exports.de_GetReservedNodeExchangeConfigurationOptionsCommand = exports.de_GetClusterCredentialsWithIAMCommand = exports.de_GetClusterCredentialsCommand = exports.de_EnableSnapshotCopyCommand = exports.de_EnableLoggingCommand = exports.de_DisassociateDataShareConsumerCommand = exports.de_DisableSnapshotCopyCommand = void 0;
|
|
3
|
+
exports.se_DescribeClusterParametersCommand = exports.se_DescribeClusterParameterGroupsCommand = exports.se_DescribeClusterDbRevisionsCommand = exports.se_DescribeAuthenticationProfilesCommand = exports.se_DescribeAccountAttributesCommand = exports.se_DeleteUsageLimitCommand = exports.se_DeleteTagsCommand = exports.se_DeleteSnapshotScheduleCommand = exports.se_DeleteSnapshotCopyGrantCommand = exports.se_DeleteScheduledActionCommand = exports.se_DeletePartnerCommand = exports.se_DeleteHsmConfigurationCommand = exports.se_DeleteHsmClientCertificateCommand = exports.se_DeleteEventSubscriptionCommand = exports.se_DeleteEndpointAccessCommand = exports.se_DeleteCustomDomainAssociationCommand = exports.se_DeleteClusterSubnetGroupCommand = exports.se_DeleteClusterSnapshotCommand = exports.se_DeleteClusterSecurityGroupCommand = exports.se_DeleteClusterParameterGroupCommand = exports.se_DeleteClusterCommand = exports.se_DeleteAuthenticationProfileCommand = exports.se_DeauthorizeDataShareCommand = exports.se_CreateUsageLimitCommand = exports.se_CreateTagsCommand = exports.se_CreateSnapshotScheduleCommand = exports.se_CreateSnapshotCopyGrantCommand = exports.se_CreateScheduledActionCommand = exports.se_CreateHsmConfigurationCommand = exports.se_CreateHsmClientCertificateCommand = exports.se_CreateEventSubscriptionCommand = exports.se_CreateEndpointAccessCommand = exports.se_CreateCustomDomainAssociationCommand = exports.se_CreateClusterSubnetGroupCommand = exports.se_CreateClusterSnapshotCommand = exports.se_CreateClusterSecurityGroupCommand = exports.se_CreateClusterParameterGroupCommand = exports.se_CreateClusterCommand = exports.se_CreateAuthenticationProfileCommand = exports.se_CopyClusterSnapshotCommand = exports.se_CancelResizeCommand = exports.se_BatchModifyClusterSnapshotsCommand = exports.se_BatchDeleteClusterSnapshotsCommand = exports.se_AuthorizeSnapshotAccessCommand = exports.se_AuthorizeEndpointAccessCommand = exports.se_AuthorizeDataShareCommand = exports.se_AuthorizeClusterSecurityGroupIngressCommand = exports.se_AssociateDataShareConsumerCommand = exports.se_AddPartnerCommand = exports.se_AcceptReservedNodeExchangeCommand = void 0;
|
|
4
|
+
exports.se_ModifyClusterSnapshotCommand = exports.se_ModifyClusterParameterGroupCommand = exports.se_ModifyClusterMaintenanceCommand = exports.se_ModifyClusterIamRolesCommand = exports.se_ModifyClusterDbRevisionCommand = exports.se_ModifyClusterCommand = exports.se_ModifyAuthenticationProfileCommand = exports.se_ModifyAquaConfigurationCommand = exports.se_GetReservedNodeExchangeOfferingsCommand = exports.se_GetReservedNodeExchangeConfigurationOptionsCommand = exports.se_GetClusterCredentialsWithIAMCommand = exports.se_GetClusterCredentialsCommand = exports.se_EnableSnapshotCopyCommand = exports.se_EnableLoggingCommand = exports.se_DisassociateDataShareConsumerCommand = exports.se_DisableSnapshotCopyCommand = exports.se_DisableLoggingCommand = exports.se_DescribeUsageLimitsCommand = exports.se_DescribeTagsCommand = exports.se_DescribeTableRestoreStatusCommand = exports.se_DescribeStorageCommand = exports.se_DescribeSnapshotSchedulesCommand = exports.se_DescribeSnapshotCopyGrantsCommand = exports.se_DescribeScheduledActionsCommand = exports.se_DescribeResizeCommand = exports.se_DescribeReservedNodesCommand = exports.se_DescribeReservedNodeOfferingsCommand = exports.se_DescribeReservedNodeExchangeStatusCommand = exports.se_DescribePartnersCommand = exports.se_DescribeOrderableClusterOptionsCommand = exports.se_DescribeNodeConfigurationOptionsCommand = exports.se_DescribeLoggingStatusCommand = exports.se_DescribeHsmConfigurationsCommand = exports.se_DescribeHsmClientCertificatesCommand = exports.se_DescribeEventSubscriptionsCommand = exports.se_DescribeEventsCommand = exports.se_DescribeEventCategoriesCommand = exports.se_DescribeEndpointAuthorizationCommand = exports.se_DescribeEndpointAccessCommand = exports.se_DescribeDefaultClusterParametersCommand = exports.se_DescribeDataSharesForProducerCommand = exports.se_DescribeDataSharesForConsumerCommand = exports.se_DescribeDataSharesCommand = exports.se_DescribeCustomDomainAssociationsCommand = exports.se_DescribeClusterVersionsCommand = exports.se_DescribeClusterTracksCommand = exports.se_DescribeClusterSubnetGroupsCommand = exports.se_DescribeClusterSnapshotsCommand = exports.se_DescribeClusterSecurityGroupsCommand = exports.se_DescribeClustersCommand = void 0;
|
|
5
|
+
exports.de_CreateUsageLimitCommand = exports.de_CreateTagsCommand = exports.de_CreateSnapshotScheduleCommand = exports.de_CreateSnapshotCopyGrantCommand = exports.de_CreateScheduledActionCommand = exports.de_CreateHsmConfigurationCommand = exports.de_CreateHsmClientCertificateCommand = exports.de_CreateEventSubscriptionCommand = exports.de_CreateEndpointAccessCommand = exports.de_CreateCustomDomainAssociationCommand = exports.de_CreateClusterSubnetGroupCommand = exports.de_CreateClusterSnapshotCommand = exports.de_CreateClusterSecurityGroupCommand = exports.de_CreateClusterParameterGroupCommand = exports.de_CreateClusterCommand = exports.de_CreateAuthenticationProfileCommand = exports.de_CopyClusterSnapshotCommand = exports.de_CancelResizeCommand = exports.de_BatchModifyClusterSnapshotsCommand = exports.de_BatchDeleteClusterSnapshotsCommand = exports.de_AuthorizeSnapshotAccessCommand = exports.de_AuthorizeEndpointAccessCommand = exports.de_AuthorizeDataShareCommand = exports.de_AuthorizeClusterSecurityGroupIngressCommand = exports.de_AssociateDataShareConsumerCommand = exports.de_AddPartnerCommand = exports.de_AcceptReservedNodeExchangeCommand = exports.se_UpdatePartnerStatusCommand = exports.se_RotateEncryptionKeyCommand = exports.se_RevokeSnapshotAccessCommand = exports.se_RevokeEndpointAccessCommand = exports.se_RevokeClusterSecurityGroupIngressCommand = exports.se_ResumeClusterCommand = exports.se_RestoreTableFromClusterSnapshotCommand = exports.se_RestoreFromClusterSnapshotCommand = exports.se_ResizeClusterCommand = exports.se_ResetClusterParameterGroupCommand = exports.se_RejectDataShareCommand = exports.se_RebootClusterCommand = exports.se_PurchaseReservedNodeOfferingCommand = exports.se_PauseClusterCommand = exports.se_ModifyUsageLimitCommand = exports.se_ModifySnapshotScheduleCommand = exports.se_ModifySnapshotCopyRetentionPeriodCommand = exports.se_ModifyScheduledActionCommand = exports.se_ModifyEventSubscriptionCommand = exports.se_ModifyEndpointAccessCommand = exports.se_ModifyCustomDomainAssociationCommand = exports.se_ModifyClusterSubnetGroupCommand = exports.se_ModifyClusterSnapshotScheduleCommand = void 0;
|
|
6
|
+
exports.de_DescribeScheduledActionsCommand = exports.de_DescribeResizeCommand = exports.de_DescribeReservedNodesCommand = exports.de_DescribeReservedNodeOfferingsCommand = exports.de_DescribeReservedNodeExchangeStatusCommand = exports.de_DescribePartnersCommand = exports.de_DescribeOrderableClusterOptionsCommand = exports.de_DescribeNodeConfigurationOptionsCommand = exports.de_DescribeLoggingStatusCommand = exports.de_DescribeHsmConfigurationsCommand = exports.de_DescribeHsmClientCertificatesCommand = exports.de_DescribeEventSubscriptionsCommand = exports.de_DescribeEventsCommand = exports.de_DescribeEventCategoriesCommand = exports.de_DescribeEndpointAuthorizationCommand = exports.de_DescribeEndpointAccessCommand = exports.de_DescribeDefaultClusterParametersCommand = exports.de_DescribeDataSharesForProducerCommand = exports.de_DescribeDataSharesForConsumerCommand = exports.de_DescribeDataSharesCommand = exports.de_DescribeCustomDomainAssociationsCommand = exports.de_DescribeClusterVersionsCommand = exports.de_DescribeClusterTracksCommand = exports.de_DescribeClusterSubnetGroupsCommand = exports.de_DescribeClusterSnapshotsCommand = exports.de_DescribeClusterSecurityGroupsCommand = exports.de_DescribeClustersCommand = exports.de_DescribeClusterParametersCommand = exports.de_DescribeClusterParameterGroupsCommand = exports.de_DescribeClusterDbRevisionsCommand = exports.de_DescribeAuthenticationProfilesCommand = exports.de_DescribeAccountAttributesCommand = exports.de_DeleteUsageLimitCommand = exports.de_DeleteTagsCommand = exports.de_DeleteSnapshotScheduleCommand = exports.de_DeleteSnapshotCopyGrantCommand = exports.de_DeleteScheduledActionCommand = exports.de_DeletePartnerCommand = exports.de_DeleteHsmConfigurationCommand = exports.de_DeleteHsmClientCertificateCommand = exports.de_DeleteEventSubscriptionCommand = exports.de_DeleteEndpointAccessCommand = exports.de_DeleteCustomDomainAssociationCommand = exports.de_DeleteClusterSubnetGroupCommand = exports.de_DeleteClusterSnapshotCommand = exports.de_DeleteClusterSecurityGroupCommand = exports.de_DeleteClusterParameterGroupCommand = exports.de_DeleteClusterCommand = exports.de_DeleteAuthenticationProfileCommand = exports.de_DeauthorizeDataShareCommand = void 0;
|
|
7
|
+
exports.de_UpdatePartnerStatusCommand = exports.de_RotateEncryptionKeyCommand = exports.de_RevokeSnapshotAccessCommand = exports.de_RevokeEndpointAccessCommand = exports.de_RevokeClusterSecurityGroupIngressCommand = exports.de_ResumeClusterCommand = exports.de_RestoreTableFromClusterSnapshotCommand = exports.de_RestoreFromClusterSnapshotCommand = exports.de_ResizeClusterCommand = exports.de_ResetClusterParameterGroupCommand = exports.de_RejectDataShareCommand = exports.de_RebootClusterCommand = exports.de_PurchaseReservedNodeOfferingCommand = exports.de_PauseClusterCommand = exports.de_ModifyUsageLimitCommand = exports.de_ModifySnapshotScheduleCommand = exports.de_ModifySnapshotCopyRetentionPeriodCommand = exports.de_ModifyScheduledActionCommand = exports.de_ModifyEventSubscriptionCommand = exports.de_ModifyEndpointAccessCommand = exports.de_ModifyCustomDomainAssociationCommand = exports.de_ModifyClusterSubnetGroupCommand = exports.de_ModifyClusterSnapshotScheduleCommand = exports.de_ModifyClusterSnapshotCommand = exports.de_ModifyClusterParameterGroupCommand = exports.de_ModifyClusterMaintenanceCommand = exports.de_ModifyClusterIamRolesCommand = exports.de_ModifyClusterDbRevisionCommand = exports.de_ModifyClusterCommand = exports.de_ModifyAuthenticationProfileCommand = exports.de_ModifyAquaConfigurationCommand = exports.de_GetReservedNodeExchangeOfferingsCommand = exports.de_GetReservedNodeExchangeConfigurationOptionsCommand = exports.de_GetClusterCredentialsWithIAMCommand = exports.de_GetClusterCredentialsCommand = exports.de_EnableSnapshotCopyCommand = exports.de_EnableLoggingCommand = exports.de_DisassociateDataShareConsumerCommand = exports.de_DisableSnapshotCopyCommand = exports.de_DisableLoggingCommand = exports.de_DescribeUsageLimitsCommand = exports.de_DescribeTagsCommand = exports.de_DescribeTableRestoreStatusCommand = exports.de_DescribeStorageCommand = exports.de_DescribeSnapshotSchedulesCommand = exports.de_DescribeSnapshotCopyGrantsCommand = void 0;
|
|
8
8
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
9
9
|
const protocol_http_1 = require("@smithy/protocol-http");
|
|
10
10
|
const fast_xml_parser_1 = require("fast-xml-parser");
|
|
@@ -198,6 +198,17 @@ const se_CreateClusterSubnetGroupCommand = async (input, context) => {
|
|
|
198
198
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
199
199
|
};
|
|
200
200
|
exports.se_CreateClusterSubnetGroupCommand = se_CreateClusterSubnetGroupCommand;
|
|
201
|
+
const se_CreateCustomDomainAssociationCommand = async (input, context) => {
|
|
202
|
+
const headers = SHARED_HEADERS;
|
|
203
|
+
let body;
|
|
204
|
+
body = buildFormUrlencodedString({
|
|
205
|
+
...se_CreateCustomDomainAssociationMessage(input, context),
|
|
206
|
+
Action: "CreateCustomDomainAssociation",
|
|
207
|
+
Version: "2012-12-01",
|
|
208
|
+
});
|
|
209
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
210
|
+
};
|
|
211
|
+
exports.se_CreateCustomDomainAssociationCommand = se_CreateCustomDomainAssociationCommand;
|
|
201
212
|
const se_CreateEndpointAccessCommand = async (input, context) => {
|
|
202
213
|
const headers = SHARED_HEADERS;
|
|
203
214
|
let body;
|
|
@@ -374,6 +385,17 @@ const se_DeleteClusterSubnetGroupCommand = async (input, context) => {
|
|
|
374
385
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
375
386
|
};
|
|
376
387
|
exports.se_DeleteClusterSubnetGroupCommand = se_DeleteClusterSubnetGroupCommand;
|
|
388
|
+
const se_DeleteCustomDomainAssociationCommand = async (input, context) => {
|
|
389
|
+
const headers = SHARED_HEADERS;
|
|
390
|
+
let body;
|
|
391
|
+
body = buildFormUrlencodedString({
|
|
392
|
+
...se_DeleteCustomDomainAssociationMessage(input, context),
|
|
393
|
+
Action: "DeleteCustomDomainAssociation",
|
|
394
|
+
Version: "2012-12-01",
|
|
395
|
+
});
|
|
396
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
397
|
+
};
|
|
398
|
+
exports.se_DeleteCustomDomainAssociationCommand = se_DeleteCustomDomainAssociationCommand;
|
|
377
399
|
const se_DeleteEndpointAccessCommand = async (input, context) => {
|
|
378
400
|
const headers = SHARED_HEADERS;
|
|
379
401
|
let body;
|
|
@@ -605,6 +627,17 @@ const se_DescribeClusterVersionsCommand = async (input, context) => {
|
|
|
605
627
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
606
628
|
};
|
|
607
629
|
exports.se_DescribeClusterVersionsCommand = se_DescribeClusterVersionsCommand;
|
|
630
|
+
const se_DescribeCustomDomainAssociationsCommand = async (input, context) => {
|
|
631
|
+
const headers = SHARED_HEADERS;
|
|
632
|
+
let body;
|
|
633
|
+
body = buildFormUrlencodedString({
|
|
634
|
+
...se_DescribeCustomDomainAssociationsMessage(input, context),
|
|
635
|
+
Action: "DescribeCustomDomainAssociations",
|
|
636
|
+
Version: "2012-12-01",
|
|
637
|
+
});
|
|
638
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
639
|
+
};
|
|
640
|
+
exports.se_DescribeCustomDomainAssociationsCommand = se_DescribeCustomDomainAssociationsCommand;
|
|
608
641
|
const se_DescribeDataSharesCommand = async (input, context) => {
|
|
609
642
|
const headers = SHARED_HEADERS;
|
|
610
643
|
let body;
|
|
@@ -1098,6 +1131,17 @@ const se_ModifyClusterSubnetGroupCommand = async (input, context) => {
|
|
|
1098
1131
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1099
1132
|
};
|
|
1100
1133
|
exports.se_ModifyClusterSubnetGroupCommand = se_ModifyClusterSubnetGroupCommand;
|
|
1134
|
+
const se_ModifyCustomDomainAssociationCommand = async (input, context) => {
|
|
1135
|
+
const headers = SHARED_HEADERS;
|
|
1136
|
+
let body;
|
|
1137
|
+
body = buildFormUrlencodedString({
|
|
1138
|
+
...se_ModifyCustomDomainAssociationMessage(input, context),
|
|
1139
|
+
Action: "ModifyCustomDomainAssociation",
|
|
1140
|
+
Version: "2012-12-01",
|
|
1141
|
+
});
|
|
1142
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1143
|
+
};
|
|
1144
|
+
exports.se_ModifyCustomDomainAssociationCommand = se_ModifyCustomDomainAssociationCommand;
|
|
1101
1145
|
const se_ModifyEndpointAccessCommand = async (input, context) => {
|
|
1102
1146
|
const headers = SHARED_HEADERS;
|
|
1103
1147
|
let body;
|
|
@@ -2098,6 +2142,45 @@ const de_CreateClusterSubnetGroupCommandError = async (output, context) => {
|
|
|
2098
2142
|
});
|
|
2099
2143
|
}
|
|
2100
2144
|
};
|
|
2145
|
+
const de_CreateCustomDomainAssociationCommand = async (output, context) => {
|
|
2146
|
+
if (output.statusCode >= 300) {
|
|
2147
|
+
return de_CreateCustomDomainAssociationCommandError(output, context);
|
|
2148
|
+
}
|
|
2149
|
+
const data = await parseBody(output.body, context);
|
|
2150
|
+
let contents = {};
|
|
2151
|
+
contents = de_CreateCustomDomainAssociationResult(data.CreateCustomDomainAssociationResult, context);
|
|
2152
|
+
const response = {
|
|
2153
|
+
$metadata: deserializeMetadata(output),
|
|
2154
|
+
...contents,
|
|
2155
|
+
};
|
|
2156
|
+
return response;
|
|
2157
|
+
};
|
|
2158
|
+
exports.de_CreateCustomDomainAssociationCommand = de_CreateCustomDomainAssociationCommand;
|
|
2159
|
+
const de_CreateCustomDomainAssociationCommandError = async (output, context) => {
|
|
2160
|
+
const parsedOutput = {
|
|
2161
|
+
...output,
|
|
2162
|
+
body: await parseErrorBody(output.body, context),
|
|
2163
|
+
};
|
|
2164
|
+
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2165
|
+
switch (errorCode) {
|
|
2166
|
+
case "ClusterNotFound":
|
|
2167
|
+
case "com.amazonaws.redshift#ClusterNotFoundFault":
|
|
2168
|
+
throw await de_ClusterNotFoundFaultRes(parsedOutput, context);
|
|
2169
|
+
case "CustomCnameAssociationFault":
|
|
2170
|
+
case "com.amazonaws.redshift#CustomCnameAssociationFault":
|
|
2171
|
+
throw await de_CustomCnameAssociationFaultRes(parsedOutput, context);
|
|
2172
|
+
case "UnsupportedOperation":
|
|
2173
|
+
case "com.amazonaws.redshift#UnsupportedOperationFault":
|
|
2174
|
+
throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
|
|
2175
|
+
default:
|
|
2176
|
+
const parsedBody = parsedOutput.body;
|
|
2177
|
+
return throwDefaultError({
|
|
2178
|
+
output,
|
|
2179
|
+
parsedBody: parsedBody.Error,
|
|
2180
|
+
errorCode,
|
|
2181
|
+
});
|
|
2182
|
+
}
|
|
2183
|
+
};
|
|
2101
2184
|
const de_CreateEndpointAccessCommand = async (output, context) => {
|
|
2102
2185
|
if (output.statusCode >= 300) {
|
|
2103
2186
|
return de_CreateEndpointAccessCommandError(output, context);
|
|
@@ -2791,6 +2874,42 @@ const de_DeleteClusterSubnetGroupCommandError = async (output, context) => {
|
|
|
2791
2874
|
});
|
|
2792
2875
|
}
|
|
2793
2876
|
};
|
|
2877
|
+
const de_DeleteCustomDomainAssociationCommand = async (output, context) => {
|
|
2878
|
+
if (output.statusCode >= 300) {
|
|
2879
|
+
return de_DeleteCustomDomainAssociationCommandError(output, context);
|
|
2880
|
+
}
|
|
2881
|
+
await collectBody(output.body, context);
|
|
2882
|
+
const response = {
|
|
2883
|
+
$metadata: deserializeMetadata(output),
|
|
2884
|
+
};
|
|
2885
|
+
return response;
|
|
2886
|
+
};
|
|
2887
|
+
exports.de_DeleteCustomDomainAssociationCommand = de_DeleteCustomDomainAssociationCommand;
|
|
2888
|
+
const de_DeleteCustomDomainAssociationCommandError = async (output, context) => {
|
|
2889
|
+
const parsedOutput = {
|
|
2890
|
+
...output,
|
|
2891
|
+
body: await parseErrorBody(output.body, context),
|
|
2892
|
+
};
|
|
2893
|
+
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2894
|
+
switch (errorCode) {
|
|
2895
|
+
case "ClusterNotFound":
|
|
2896
|
+
case "com.amazonaws.redshift#ClusterNotFoundFault":
|
|
2897
|
+
throw await de_ClusterNotFoundFaultRes(parsedOutput, context);
|
|
2898
|
+
case "CustomCnameAssociationFault":
|
|
2899
|
+
case "com.amazonaws.redshift#CustomCnameAssociationFault":
|
|
2900
|
+
throw await de_CustomCnameAssociationFaultRes(parsedOutput, context);
|
|
2901
|
+
case "UnsupportedOperation":
|
|
2902
|
+
case "com.amazonaws.redshift#UnsupportedOperationFault":
|
|
2903
|
+
throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
|
|
2904
|
+
default:
|
|
2905
|
+
const parsedBody = parsedOutput.body;
|
|
2906
|
+
return throwDefaultError({
|
|
2907
|
+
output,
|
|
2908
|
+
parsedBody: parsedBody.Error,
|
|
2909
|
+
errorCode,
|
|
2910
|
+
});
|
|
2911
|
+
}
|
|
2912
|
+
};
|
|
2794
2913
|
const de_DeleteEndpointAccessCommand = async (output, context) => {
|
|
2795
2914
|
if (output.statusCode >= 300) {
|
|
2796
2915
|
return de_DeleteEndpointAccessCommandError(output, context);
|
|
@@ -3520,6 +3639,42 @@ const de_DescribeClusterVersionsCommandError = async (output, context) => {
|
|
|
3520
3639
|
errorCode,
|
|
3521
3640
|
});
|
|
3522
3641
|
};
|
|
3642
|
+
const de_DescribeCustomDomainAssociationsCommand = async (output, context) => {
|
|
3643
|
+
if (output.statusCode >= 300) {
|
|
3644
|
+
return de_DescribeCustomDomainAssociationsCommandError(output, context);
|
|
3645
|
+
}
|
|
3646
|
+
const data = await parseBody(output.body, context);
|
|
3647
|
+
let contents = {};
|
|
3648
|
+
contents = de_CustomDomainAssociationsMessage(data.DescribeCustomDomainAssociationsResult, context);
|
|
3649
|
+
const response = {
|
|
3650
|
+
$metadata: deserializeMetadata(output),
|
|
3651
|
+
...contents,
|
|
3652
|
+
};
|
|
3653
|
+
return response;
|
|
3654
|
+
};
|
|
3655
|
+
exports.de_DescribeCustomDomainAssociationsCommand = de_DescribeCustomDomainAssociationsCommand;
|
|
3656
|
+
const de_DescribeCustomDomainAssociationsCommandError = async (output, context) => {
|
|
3657
|
+
const parsedOutput = {
|
|
3658
|
+
...output,
|
|
3659
|
+
body: await parseErrorBody(output.body, context),
|
|
3660
|
+
};
|
|
3661
|
+
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3662
|
+
switch (errorCode) {
|
|
3663
|
+
case "CustomDomainAssociationNotFoundFault":
|
|
3664
|
+
case "com.amazonaws.redshift#CustomDomainAssociationNotFoundFault":
|
|
3665
|
+
throw await de_CustomDomainAssociationNotFoundFaultRes(parsedOutput, context);
|
|
3666
|
+
case "UnsupportedOperation":
|
|
3667
|
+
case "com.amazonaws.redshift#UnsupportedOperationFault":
|
|
3668
|
+
throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
|
|
3669
|
+
default:
|
|
3670
|
+
const parsedBody = parsedOutput.body;
|
|
3671
|
+
return throwDefaultError({
|
|
3672
|
+
output,
|
|
3673
|
+
parsedBody: parsedBody.Error,
|
|
3674
|
+
errorCode,
|
|
3675
|
+
});
|
|
3676
|
+
}
|
|
3677
|
+
};
|
|
3523
3678
|
const de_DescribeDataSharesCommand = async (output, context) => {
|
|
3524
3679
|
if (output.statusCode >= 300) {
|
|
3525
3680
|
return de_DescribeDataSharesCommandError(output, context);
|
|
@@ -4918,6 +5073,9 @@ const de_ModifyClusterCommandError = async (output, context) => {
|
|
|
4918
5073
|
case "ClusterSecurityGroupNotFound":
|
|
4919
5074
|
case "com.amazonaws.redshift#ClusterSecurityGroupNotFoundFault":
|
|
4920
5075
|
throw await de_ClusterSecurityGroupNotFoundFaultRes(parsedOutput, context);
|
|
5076
|
+
case "CustomCnameAssociationFault":
|
|
5077
|
+
case "com.amazonaws.redshift#CustomCnameAssociationFault":
|
|
5078
|
+
throw await de_CustomCnameAssociationFaultRes(parsedOutput, context);
|
|
4921
5079
|
case "DependentServiceRequestThrottlingFault":
|
|
4922
5080
|
case "com.amazonaws.redshift#DependentServiceRequestThrottlingFault":
|
|
4923
5081
|
throw await de_DependentServiceRequestThrottlingFaultRes(parsedOutput, context);
|
|
@@ -4960,6 +5118,9 @@ const de_ModifyClusterCommandError = async (output, context) => {
|
|
|
4960
5118
|
case "UnauthorizedOperation":
|
|
4961
5119
|
case "com.amazonaws.redshift#UnauthorizedOperation":
|
|
4962
5120
|
throw await de_UnauthorizedOperationRes(parsedOutput, context);
|
|
5121
|
+
case "UnsupportedOperation":
|
|
5122
|
+
case "com.amazonaws.redshift#UnsupportedOperationFault":
|
|
5123
|
+
throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
|
|
4963
5124
|
case "UnsupportedOptionFault":
|
|
4964
5125
|
case "com.amazonaws.redshift#UnsupportedOptionFault":
|
|
4965
5126
|
throw await de_UnsupportedOptionFaultRes(parsedOutput, context);
|
|
@@ -5242,6 +5403,45 @@ const de_ModifyClusterSubnetGroupCommandError = async (output, context) => {
|
|
|
5242
5403
|
});
|
|
5243
5404
|
}
|
|
5244
5405
|
};
|
|
5406
|
+
const de_ModifyCustomDomainAssociationCommand = async (output, context) => {
|
|
5407
|
+
if (output.statusCode >= 300) {
|
|
5408
|
+
return de_ModifyCustomDomainAssociationCommandError(output, context);
|
|
5409
|
+
}
|
|
5410
|
+
const data = await parseBody(output.body, context);
|
|
5411
|
+
let contents = {};
|
|
5412
|
+
contents = de_ModifyCustomDomainAssociationResult(data.ModifyCustomDomainAssociationResult, context);
|
|
5413
|
+
const response = {
|
|
5414
|
+
$metadata: deserializeMetadata(output),
|
|
5415
|
+
...contents,
|
|
5416
|
+
};
|
|
5417
|
+
return response;
|
|
5418
|
+
};
|
|
5419
|
+
exports.de_ModifyCustomDomainAssociationCommand = de_ModifyCustomDomainAssociationCommand;
|
|
5420
|
+
const de_ModifyCustomDomainAssociationCommandError = async (output, context) => {
|
|
5421
|
+
const parsedOutput = {
|
|
5422
|
+
...output,
|
|
5423
|
+
body: await parseErrorBody(output.body, context),
|
|
5424
|
+
};
|
|
5425
|
+
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
5426
|
+
switch (errorCode) {
|
|
5427
|
+
case "ClusterNotFound":
|
|
5428
|
+
case "com.amazonaws.redshift#ClusterNotFoundFault":
|
|
5429
|
+
throw await de_ClusterNotFoundFaultRes(parsedOutput, context);
|
|
5430
|
+
case "CustomCnameAssociationFault":
|
|
5431
|
+
case "com.amazonaws.redshift#CustomCnameAssociationFault":
|
|
5432
|
+
throw await de_CustomCnameAssociationFaultRes(parsedOutput, context);
|
|
5433
|
+
case "UnsupportedOperation":
|
|
5434
|
+
case "com.amazonaws.redshift#UnsupportedOperationFault":
|
|
5435
|
+
throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
|
|
5436
|
+
default:
|
|
5437
|
+
const parsedBody = parsedOutput.body;
|
|
5438
|
+
return throwDefaultError({
|
|
5439
|
+
output,
|
|
5440
|
+
parsedBody: parsedBody.Error,
|
|
5441
|
+
errorCode,
|
|
5442
|
+
});
|
|
5443
|
+
}
|
|
5444
|
+
};
|
|
5245
5445
|
const de_ModifyEndpointAccessCommand = async (output, context) => {
|
|
5246
5446
|
if (output.statusCode >= 300) {
|
|
5247
5447
|
return de_ModifyEndpointAccessCommandError(output, context);
|
|
@@ -6460,6 +6660,24 @@ const de_CopyToRegionDisabledFaultRes = async (parsedOutput, context) => {
|
|
|
6460
6660
|
});
|
|
6461
6661
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
6462
6662
|
};
|
|
6663
|
+
const de_CustomCnameAssociationFaultRes = async (parsedOutput, context) => {
|
|
6664
|
+
const body = parsedOutput.body;
|
|
6665
|
+
const deserialized = de_CustomCnameAssociationFault(body.Error, context);
|
|
6666
|
+
const exception = new models_0_1.CustomCnameAssociationFault({
|
|
6667
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
6668
|
+
...deserialized,
|
|
6669
|
+
});
|
|
6670
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
6671
|
+
};
|
|
6672
|
+
const de_CustomDomainAssociationNotFoundFaultRes = async (parsedOutput, context) => {
|
|
6673
|
+
const body = parsedOutput.body;
|
|
6674
|
+
const deserialized = de_CustomDomainAssociationNotFoundFault(body.Error, context);
|
|
6675
|
+
const exception = new models_0_1.CustomDomainAssociationNotFoundFault({
|
|
6676
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
6677
|
+
...deserialized,
|
|
6678
|
+
});
|
|
6679
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
6680
|
+
};
|
|
6463
6681
|
const de_DependentServiceRequestThrottlingFaultRes = async (parsedOutput, context) => {
|
|
6464
6682
|
const body = parsedOutput.body;
|
|
6465
6683
|
const deserialized = de_DependentServiceRequestThrottlingFault(body.Error, context);
|
|
@@ -7742,6 +7960,19 @@ const se_CreateClusterSubnetGroupMessage = (input, context) => {
|
|
|
7742
7960
|
}
|
|
7743
7961
|
return entries;
|
|
7744
7962
|
};
|
|
7963
|
+
const se_CreateCustomDomainAssociationMessage = (input, context) => {
|
|
7964
|
+
const entries = {};
|
|
7965
|
+
if (input.CustomDomainName != null) {
|
|
7966
|
+
entries["CustomDomainName"] = input.CustomDomainName;
|
|
7967
|
+
}
|
|
7968
|
+
if (input.CustomDomainCertificateArn != null) {
|
|
7969
|
+
entries["CustomDomainCertificateArn"] = input.CustomDomainCertificateArn;
|
|
7970
|
+
}
|
|
7971
|
+
if (input.ClusterIdentifier != null) {
|
|
7972
|
+
entries["ClusterIdentifier"] = input.ClusterIdentifier;
|
|
7973
|
+
}
|
|
7974
|
+
return entries;
|
|
7975
|
+
};
|
|
7745
7976
|
const se_CreateEndpointAccessMessage = (input, context) => {
|
|
7746
7977
|
const entries = {};
|
|
7747
7978
|
if (input.ClusterIdentifier != null) {
|
|
@@ -8094,6 +8325,13 @@ const se_DeleteClusterSubnetGroupMessage = (input, context) => {
|
|
|
8094
8325
|
}
|
|
8095
8326
|
return entries;
|
|
8096
8327
|
};
|
|
8328
|
+
const se_DeleteCustomDomainAssociationMessage = (input, context) => {
|
|
8329
|
+
const entries = {};
|
|
8330
|
+
if (input.ClusterIdentifier != null) {
|
|
8331
|
+
entries["ClusterIdentifier"] = input.ClusterIdentifier;
|
|
8332
|
+
}
|
|
8333
|
+
return entries;
|
|
8334
|
+
};
|
|
8097
8335
|
const se_DeleteEndpointAccessMessage = (input, context) => {
|
|
8098
8336
|
const entries = {};
|
|
8099
8337
|
if (input.EndpointName != null) {
|
|
@@ -8442,6 +8680,22 @@ const se_DescribeClusterVersionsMessage = (input, context) => {
|
|
|
8442
8680
|
}
|
|
8443
8681
|
return entries;
|
|
8444
8682
|
};
|
|
8683
|
+
const se_DescribeCustomDomainAssociationsMessage = (input, context) => {
|
|
8684
|
+
const entries = {};
|
|
8685
|
+
if (input.CustomDomainName != null) {
|
|
8686
|
+
entries["CustomDomainName"] = input.CustomDomainName;
|
|
8687
|
+
}
|
|
8688
|
+
if (input.CustomDomainCertificateArn != null) {
|
|
8689
|
+
entries["CustomDomainCertificateArn"] = input.CustomDomainCertificateArn;
|
|
8690
|
+
}
|
|
8691
|
+
if (input.MaxRecords != null) {
|
|
8692
|
+
entries["MaxRecords"] = input.MaxRecords;
|
|
8693
|
+
}
|
|
8694
|
+
if (input.Marker != null) {
|
|
8695
|
+
entries["Marker"] = input.Marker;
|
|
8696
|
+
}
|
|
8697
|
+
return entries;
|
|
8698
|
+
};
|
|
8445
8699
|
const se_DescribeDataSharesForConsumerMessage = (input, context) => {
|
|
8446
8700
|
const entries = {};
|
|
8447
8701
|
if (input.ConsumerArn != null) {
|
|
@@ -9104,6 +9358,9 @@ const se_GetClusterCredentialsMessage = (input, context) => {
|
|
|
9104
9358
|
entries[loc] = value;
|
|
9105
9359
|
});
|
|
9106
9360
|
}
|
|
9361
|
+
if (input.CustomDomainName != null) {
|
|
9362
|
+
entries["CustomDomainName"] = input.CustomDomainName;
|
|
9363
|
+
}
|
|
9107
9364
|
return entries;
|
|
9108
9365
|
};
|
|
9109
9366
|
const se_GetClusterCredentialsWithIAMMessage = (input, context) => {
|
|
@@ -9117,6 +9374,9 @@ const se_GetClusterCredentialsWithIAMMessage = (input, context) => {
|
|
|
9117
9374
|
if (input.DurationSeconds != null) {
|
|
9118
9375
|
entries["DurationSeconds"] = input.DurationSeconds;
|
|
9119
9376
|
}
|
|
9377
|
+
if (input.CustomDomainName != null) {
|
|
9378
|
+
entries["CustomDomainName"] = input.CustomDomainName;
|
|
9379
|
+
}
|
|
9120
9380
|
return entries;
|
|
9121
9381
|
};
|
|
9122
9382
|
const se_GetReservedNodeExchangeConfigurationOptionsInputMessage = (input, context) => {
|
|
@@ -9413,6 +9673,19 @@ const se_ModifyClusterSubnetGroupMessage = (input, context) => {
|
|
|
9413
9673
|
}
|
|
9414
9674
|
return entries;
|
|
9415
9675
|
};
|
|
9676
|
+
const se_ModifyCustomDomainAssociationMessage = (input, context) => {
|
|
9677
|
+
const entries = {};
|
|
9678
|
+
if (input.CustomDomainName != null) {
|
|
9679
|
+
entries["CustomDomainName"] = input.CustomDomainName;
|
|
9680
|
+
}
|
|
9681
|
+
if (input.CustomDomainCertificateArn != null) {
|
|
9682
|
+
entries["CustomDomainCertificateArn"] = input.CustomDomainCertificateArn;
|
|
9683
|
+
}
|
|
9684
|
+
if (input.ClusterIdentifier != null) {
|
|
9685
|
+
entries["ClusterIdentifier"] = input.ClusterIdentifier;
|
|
9686
|
+
}
|
|
9687
|
+
return entries;
|
|
9688
|
+
};
|
|
9416
9689
|
const se_ModifyEndpointAccessMessage = (input, context) => {
|
|
9417
9690
|
const entries = {};
|
|
9418
9691
|
if (input.EndpointName != null) {
|
|
@@ -10258,6 +10531,30 @@ const de_AssociatedClusterList = (output, context) => {
|
|
|
10258
10531
|
return de_ClusterAssociatedToSchedule(entry, context);
|
|
10259
10532
|
});
|
|
10260
10533
|
};
|
|
10534
|
+
const de_Association = (output, context) => {
|
|
10535
|
+
const contents = {};
|
|
10536
|
+
if (output["CustomDomainCertificateArn"] !== undefined) {
|
|
10537
|
+
contents.CustomDomainCertificateArn = (0, smithy_client_1.expectString)(output["CustomDomainCertificateArn"]);
|
|
10538
|
+
}
|
|
10539
|
+
if (output["CustomDomainCertificateExpiryDate"] !== undefined) {
|
|
10540
|
+
contents.CustomDomainCertificateExpiryDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["CustomDomainCertificateExpiryDate"]));
|
|
10541
|
+
}
|
|
10542
|
+
if (output.CertificateAssociations === "") {
|
|
10543
|
+
contents.CertificateAssociations = [];
|
|
10544
|
+
}
|
|
10545
|
+
else if (output["CertificateAssociations"] !== undefined &&
|
|
10546
|
+
output["CertificateAssociations"]["CertificateAssociation"] !== undefined) {
|
|
10547
|
+
contents.CertificateAssociations = de_CertificateAssociationList((0, smithy_client_1.getArrayIfSingleItem)(output["CertificateAssociations"]["CertificateAssociation"]), context);
|
|
10548
|
+
}
|
|
10549
|
+
return contents;
|
|
10550
|
+
};
|
|
10551
|
+
const de_AssociationList = (output, context) => {
|
|
10552
|
+
return (output || [])
|
|
10553
|
+
.filter((e) => e != null)
|
|
10554
|
+
.map((entry) => {
|
|
10555
|
+
return de_Association(entry, context);
|
|
10556
|
+
});
|
|
10557
|
+
};
|
|
10261
10558
|
const de_AttributeList = (output, context) => {
|
|
10262
10559
|
return (output || [])
|
|
10263
10560
|
.filter((e) => e != null)
|
|
@@ -10440,6 +10737,23 @@ const de_BucketNotFoundFault = (output, context) => {
|
|
|
10440
10737
|
}
|
|
10441
10738
|
return contents;
|
|
10442
10739
|
};
|
|
10740
|
+
const de_CertificateAssociation = (output, context) => {
|
|
10741
|
+
const contents = {};
|
|
10742
|
+
if (output["CustomDomainName"] !== undefined) {
|
|
10743
|
+
contents.CustomDomainName = (0, smithy_client_1.expectString)(output["CustomDomainName"]);
|
|
10744
|
+
}
|
|
10745
|
+
if (output["ClusterIdentifier"] !== undefined) {
|
|
10746
|
+
contents.ClusterIdentifier = (0, smithy_client_1.expectString)(output["ClusterIdentifier"]);
|
|
10747
|
+
}
|
|
10748
|
+
return contents;
|
|
10749
|
+
};
|
|
10750
|
+
const de_CertificateAssociationList = (output, context) => {
|
|
10751
|
+
return (output || [])
|
|
10752
|
+
.filter((e) => e != null)
|
|
10753
|
+
.map((entry) => {
|
|
10754
|
+
return de_CertificateAssociation(entry, context);
|
|
10755
|
+
});
|
|
10756
|
+
};
|
|
10443
10757
|
const de_Cluster = (output, context) => {
|
|
10444
10758
|
const contents = {};
|
|
10445
10759
|
if (output["ClusterIdentifier"] !== undefined) {
|
|
@@ -10626,6 +10940,15 @@ const de_Cluster = (output, context) => {
|
|
|
10626
10940
|
if (output["ReservedNodeExchangeStatus"] !== undefined) {
|
|
10627
10941
|
contents.ReservedNodeExchangeStatus = de_ReservedNodeExchangeStatus(output["ReservedNodeExchangeStatus"], context);
|
|
10628
10942
|
}
|
|
10943
|
+
if (output["CustomDomainName"] !== undefined) {
|
|
10944
|
+
contents.CustomDomainName = (0, smithy_client_1.expectString)(output["CustomDomainName"]);
|
|
10945
|
+
}
|
|
10946
|
+
if (output["CustomDomainCertificateArn"] !== undefined) {
|
|
10947
|
+
contents.CustomDomainCertificateArn = (0, smithy_client_1.expectString)(output["CustomDomainCertificateArn"]);
|
|
10948
|
+
}
|
|
10949
|
+
if (output["CustomDomainCertificateExpiryDate"] !== undefined) {
|
|
10950
|
+
contents.CustomDomainCertificateExpiryDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["CustomDomainCertificateExpiryDate"]));
|
|
10951
|
+
}
|
|
10629
10952
|
return contents;
|
|
10630
10953
|
};
|
|
10631
10954
|
const de_ClusterAlreadyExistsFault = (output, context) => {
|
|
@@ -11207,6 +11530,22 @@ const de_CreateClusterSubnetGroupResult = (output, context) => {
|
|
|
11207
11530
|
}
|
|
11208
11531
|
return contents;
|
|
11209
11532
|
};
|
|
11533
|
+
const de_CreateCustomDomainAssociationResult = (output, context) => {
|
|
11534
|
+
const contents = {};
|
|
11535
|
+
if (output["CustomDomainName"] !== undefined) {
|
|
11536
|
+
contents.CustomDomainName = (0, smithy_client_1.expectString)(output["CustomDomainName"]);
|
|
11537
|
+
}
|
|
11538
|
+
if (output["CustomDomainCertificateArn"] !== undefined) {
|
|
11539
|
+
contents.CustomDomainCertificateArn = (0, smithy_client_1.expectString)(output["CustomDomainCertificateArn"]);
|
|
11540
|
+
}
|
|
11541
|
+
if (output["ClusterIdentifier"] !== undefined) {
|
|
11542
|
+
contents.ClusterIdentifier = (0, smithy_client_1.expectString)(output["ClusterIdentifier"]);
|
|
11543
|
+
}
|
|
11544
|
+
if (output["CustomDomainCertExpiryTime"] !== undefined) {
|
|
11545
|
+
contents.CustomDomainCertExpiryTime = (0, smithy_client_1.expectString)(output["CustomDomainCertExpiryTime"]);
|
|
11546
|
+
}
|
|
11547
|
+
return contents;
|
|
11548
|
+
};
|
|
11210
11549
|
const de_CreateEventSubscriptionResult = (output, context) => {
|
|
11211
11550
|
const contents = {};
|
|
11212
11551
|
if (output["EventSubscription"] !== undefined) {
|
|
@@ -11235,6 +11574,33 @@ const de_CreateSnapshotCopyGrantResult = (output, context) => {
|
|
|
11235
11574
|
}
|
|
11236
11575
|
return contents;
|
|
11237
11576
|
};
|
|
11577
|
+
const de_CustomCnameAssociationFault = (output, context) => {
|
|
11578
|
+
const contents = {};
|
|
11579
|
+
if (output["message"] !== undefined) {
|
|
11580
|
+
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
11581
|
+
}
|
|
11582
|
+
return contents;
|
|
11583
|
+
};
|
|
11584
|
+
const de_CustomDomainAssociationNotFoundFault = (output, context) => {
|
|
11585
|
+
const contents = {};
|
|
11586
|
+
if (output["message"] !== undefined) {
|
|
11587
|
+
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
11588
|
+
}
|
|
11589
|
+
return contents;
|
|
11590
|
+
};
|
|
11591
|
+
const de_CustomDomainAssociationsMessage = (output, context) => {
|
|
11592
|
+
const contents = {};
|
|
11593
|
+
if (output["Marker"] !== undefined) {
|
|
11594
|
+
contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
|
|
11595
|
+
}
|
|
11596
|
+
if (output.Associations === "") {
|
|
11597
|
+
contents.Associations = [];
|
|
11598
|
+
}
|
|
11599
|
+
else if (output["Associations"] !== undefined && output["Associations"]["Association"] !== undefined) {
|
|
11600
|
+
contents.Associations = de_AssociationList((0, smithy_client_1.getArrayIfSingleItem)(output["Associations"]["Association"]), context);
|
|
11601
|
+
}
|
|
11602
|
+
return contents;
|
|
11603
|
+
};
|
|
11238
11604
|
const de_CustomerStorageMessage = (output, context) => {
|
|
11239
11605
|
const contents = {};
|
|
11240
11606
|
if (output["TotalBackupSizeInMegaBytes"] !== undefined) {
|
|
@@ -12476,6 +12842,22 @@ const de_ModifyClusterSubnetGroupResult = (output, context) => {
|
|
|
12476
12842
|
}
|
|
12477
12843
|
return contents;
|
|
12478
12844
|
};
|
|
12845
|
+
const de_ModifyCustomDomainAssociationResult = (output, context) => {
|
|
12846
|
+
const contents = {};
|
|
12847
|
+
if (output["CustomDomainName"] !== undefined) {
|
|
12848
|
+
contents.CustomDomainName = (0, smithy_client_1.expectString)(output["CustomDomainName"]);
|
|
12849
|
+
}
|
|
12850
|
+
if (output["CustomDomainCertificateArn"] !== undefined) {
|
|
12851
|
+
contents.CustomDomainCertificateArn = (0, smithy_client_1.expectString)(output["CustomDomainCertificateArn"]);
|
|
12852
|
+
}
|
|
12853
|
+
if (output["ClusterIdentifier"] !== undefined) {
|
|
12854
|
+
contents.ClusterIdentifier = (0, smithy_client_1.expectString)(output["ClusterIdentifier"]);
|
|
12855
|
+
}
|
|
12856
|
+
if (output["CustomDomainCertExpiryTime"] !== undefined) {
|
|
12857
|
+
contents.CustomDomainCertExpiryTime = (0, smithy_client_1.expectString)(output["CustomDomainCertExpiryTime"]);
|
|
12858
|
+
}
|
|
12859
|
+
return contents;
|
|
12860
|
+
};
|
|
12479
12861
|
const de_ModifyEventSubscriptionResult = (output, context) => {
|
|
12480
12862
|
const contents = {};
|
|
12481
12863
|
if (output["EventSubscription"] !== undefined) {
|
package/dist-es/Redshift.js
CHANGED
|
@@ -16,6 +16,7 @@ import { CreateClusterParameterGroupCommand, } from "./commands/CreateClusterPar
|
|
|
16
16
|
import { CreateClusterSecurityGroupCommand, } from "./commands/CreateClusterSecurityGroupCommand";
|
|
17
17
|
import { CreateClusterSnapshotCommand, } from "./commands/CreateClusterSnapshotCommand";
|
|
18
18
|
import { CreateClusterSubnetGroupCommand, } from "./commands/CreateClusterSubnetGroupCommand";
|
|
19
|
+
import { CreateCustomDomainAssociationCommand, } from "./commands/CreateCustomDomainAssociationCommand";
|
|
19
20
|
import { CreateEndpointAccessCommand, } from "./commands/CreateEndpointAccessCommand";
|
|
20
21
|
import { CreateEventSubscriptionCommand, } from "./commands/CreateEventSubscriptionCommand";
|
|
21
22
|
import { CreateHsmClientCertificateCommand, } from "./commands/CreateHsmClientCertificateCommand";
|
|
@@ -32,6 +33,7 @@ import { DeleteClusterParameterGroupCommand, } from "./commands/DeleteClusterPar
|
|
|
32
33
|
import { DeleteClusterSecurityGroupCommand, } from "./commands/DeleteClusterSecurityGroupCommand";
|
|
33
34
|
import { DeleteClusterSnapshotCommand, } from "./commands/DeleteClusterSnapshotCommand";
|
|
34
35
|
import { DeleteClusterSubnetGroupCommand, } from "./commands/DeleteClusterSubnetGroupCommand";
|
|
36
|
+
import { DeleteCustomDomainAssociationCommand, } from "./commands/DeleteCustomDomainAssociationCommand";
|
|
35
37
|
import { DeleteEndpointAccessCommand, } from "./commands/DeleteEndpointAccessCommand";
|
|
36
38
|
import { DeleteEventSubscriptionCommand, } from "./commands/DeleteEventSubscriptionCommand";
|
|
37
39
|
import { DeleteHsmClientCertificateCommand, } from "./commands/DeleteHsmClientCertificateCommand";
|
|
@@ -53,6 +55,7 @@ import { DescribeClusterSnapshotsCommand, } from "./commands/DescribeClusterSnap
|
|
|
53
55
|
import { DescribeClusterSubnetGroupsCommand, } from "./commands/DescribeClusterSubnetGroupsCommand";
|
|
54
56
|
import { DescribeClusterTracksCommand, } from "./commands/DescribeClusterTracksCommand";
|
|
55
57
|
import { DescribeClusterVersionsCommand, } from "./commands/DescribeClusterVersionsCommand";
|
|
58
|
+
import { DescribeCustomDomainAssociationsCommand, } from "./commands/DescribeCustomDomainAssociationsCommand";
|
|
56
59
|
import { DescribeDataSharesCommand, } from "./commands/DescribeDataSharesCommand";
|
|
57
60
|
import { DescribeDataSharesForConsumerCommand, } from "./commands/DescribeDataSharesForConsumerCommand";
|
|
58
61
|
import { DescribeDataSharesForProducerCommand, } from "./commands/DescribeDataSharesForProducerCommand";
|
|
@@ -98,6 +101,7 @@ import { ModifyClusterParameterGroupCommand, } from "./commands/ModifyClusterPar
|
|
|
98
101
|
import { ModifyClusterSnapshotCommand, } from "./commands/ModifyClusterSnapshotCommand";
|
|
99
102
|
import { ModifyClusterSnapshotScheduleCommand, } from "./commands/ModifyClusterSnapshotScheduleCommand";
|
|
100
103
|
import { ModifyClusterSubnetGroupCommand, } from "./commands/ModifyClusterSubnetGroupCommand";
|
|
104
|
+
import { ModifyCustomDomainAssociationCommand, } from "./commands/ModifyCustomDomainAssociationCommand";
|
|
101
105
|
import { ModifyEndpointAccessCommand, } from "./commands/ModifyEndpointAccessCommand";
|
|
102
106
|
import { ModifyEventSubscriptionCommand, } from "./commands/ModifyEventSubscriptionCommand";
|
|
103
107
|
import { ModifyScheduledActionCommand, } from "./commands/ModifyScheduledActionCommand";
|
|
@@ -137,6 +141,7 @@ const commands = {
|
|
|
137
141
|
CreateClusterSecurityGroupCommand,
|
|
138
142
|
CreateClusterSnapshotCommand,
|
|
139
143
|
CreateClusterSubnetGroupCommand,
|
|
144
|
+
CreateCustomDomainAssociationCommand,
|
|
140
145
|
CreateEndpointAccessCommand,
|
|
141
146
|
CreateEventSubscriptionCommand,
|
|
142
147
|
CreateHsmClientCertificateCommand,
|
|
@@ -153,6 +158,7 @@ const commands = {
|
|
|
153
158
|
DeleteClusterSecurityGroupCommand,
|
|
154
159
|
DeleteClusterSnapshotCommand,
|
|
155
160
|
DeleteClusterSubnetGroupCommand,
|
|
161
|
+
DeleteCustomDomainAssociationCommand,
|
|
156
162
|
DeleteEndpointAccessCommand,
|
|
157
163
|
DeleteEventSubscriptionCommand,
|
|
158
164
|
DeleteHsmClientCertificateCommand,
|
|
@@ -174,6 +180,7 @@ const commands = {
|
|
|
174
180
|
DescribeClusterSubnetGroupsCommand,
|
|
175
181
|
DescribeClusterTracksCommand,
|
|
176
182
|
DescribeClusterVersionsCommand,
|
|
183
|
+
DescribeCustomDomainAssociationsCommand,
|
|
177
184
|
DescribeDataSharesCommand,
|
|
178
185
|
DescribeDataSharesForConsumerCommand,
|
|
179
186
|
DescribeDataSharesForProducerCommand,
|
|
@@ -219,6 +226,7 @@ const commands = {
|
|
|
219
226
|
ModifyClusterSnapshotCommand,
|
|
220
227
|
ModifyClusterSnapshotScheduleCommand,
|
|
221
228
|
ModifyClusterSubnetGroupCommand,
|
|
229
|
+
ModifyCustomDomainAssociationCommand,
|
|
222
230
|
ModifyEndpointAccessCommand,
|
|
223
231
|
ModifyEventSubscriptionCommand,
|
|
224
232
|
ModifyScheduledActionCommand,
|