@aws-sdk/client-redshift 3.436.0 → 3.437.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/DeleteResourcePolicyCommand.js +51 -0
- package/dist-cjs/commands/DescribeInboundIntegrationsCommand.js +51 -0
- package/dist-cjs/commands/GetResourcePolicyCommand.js +51 -0
- package/dist-cjs/commands/PutResourcePolicyCommand.js +51 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/models/models_0.js +15 -2
- package/dist-cjs/models/models_1.js +36 -1
- package/dist-cjs/pagination/DescribeInboundIntegrationsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_query.js +378 -5
- package/dist-es/Redshift.js +8 -0
- package/dist-es/commands/DeleteResourcePolicyCommand.js +47 -0
- package/dist-es/commands/DescribeInboundIntegrationsCommand.js +47 -0
- package/dist-es/commands/GetResourcePolicyCommand.js +47 -0
- package/dist-es/commands/PutResourcePolicyCommand.js +47 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +12 -0
- package/dist-es/models/models_1.js +33 -0
- package/dist-es/pagination/DescribeInboundIntegrationsPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_query.js +366 -2
- package/dist-types/Redshift.d.ts +28 -0
- package/dist-types/RedshiftClient.d.ts +6 -2
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +77 -0
- package/dist-types/commands/DescribeInboundIntegrationsCommand.d.ts +100 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +85 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +89 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +22 -44
- package/dist-types/models/models_1.d.ts +254 -1
- package/dist-types/pagination/DescribeInboundIntegrationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- 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/DeleteResourcePolicyCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DescribeInboundIntegrationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +10 -10
- package/dist-types/ts3.4/models/models_1.d.ts +72 -1
- package/dist-types/ts3.4/pagination/DescribeInboundIntegrationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +48 -0
- package/package.json +4 -4
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
3
|
+
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_DeleteResourcePolicyCommand = 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_ModifyClusterIamRolesCommand = exports.se_ModifyClusterDbRevisionCommand = exports.se_ModifyClusterCommand = exports.se_ModifyAuthenticationProfileCommand = exports.se_ModifyAquaConfigurationCommand = exports.se_GetResourcePolicyCommand = 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_DescribeInboundIntegrationsCommand = 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 = exports.se_DescribeClusterParametersCommand = void 0;
|
|
5
|
+
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_PutResourcePolicyCommand = 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 = exports.se_ModifyClusterSnapshotCommand = exports.se_ModifyClusterParameterGroupCommand = exports.se_ModifyClusterMaintenanceCommand = void 0;
|
|
6
|
+
exports.de_DescribeOrderableClusterOptionsCommand = exports.de_DescribeNodeConfigurationOptionsCommand = exports.de_DescribeLoggingStatusCommand = exports.de_DescribeInboundIntegrationsCommand = 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_DeleteResourcePolicyCommand = 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 = exports.de_CreateUsageLimitCommand = exports.de_CreateTagsCommand = exports.de_CreateSnapshotScheduleCommand = exports.de_CreateSnapshotCopyGrantCommand = void 0;
|
|
7
|
+
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_PutResourcePolicyCommand = 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_GetResourcePolicyCommand = 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 = exports.de_DescribeScheduledActionsCommand = exports.de_DescribeResizeCommand = exports.de_DescribeReservedNodesCommand = exports.de_DescribeReservedNodeOfferingsCommand = exports.de_DescribeReservedNodeExchangeStatusCommand = exports.de_DescribePartnersCommand = void 0;
|
|
8
|
+
exports.de_UpdatePartnerStatusCommand = exports.de_RotateEncryptionKeyCommand = exports.de_RevokeSnapshotAccessCommand = exports.de_RevokeEndpointAccessCommand = void 0;
|
|
8
9
|
const protocol_http_1 = require("@smithy/protocol-http");
|
|
9
10
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
10
11
|
const fast_xml_parser_1 = require("fast-xml-parser");
|
|
@@ -451,6 +452,17 @@ const se_DeletePartnerCommand = async (input, context) => {
|
|
|
451
452
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
452
453
|
};
|
|
453
454
|
exports.se_DeletePartnerCommand = se_DeletePartnerCommand;
|
|
455
|
+
const se_DeleteResourcePolicyCommand = async (input, context) => {
|
|
456
|
+
const headers = SHARED_HEADERS;
|
|
457
|
+
let body;
|
|
458
|
+
body = buildFormUrlencodedString({
|
|
459
|
+
...se_DeleteResourcePolicyMessage(input, context),
|
|
460
|
+
Action: "DeleteResourcePolicy",
|
|
461
|
+
Version: "2012-12-01",
|
|
462
|
+
});
|
|
463
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
464
|
+
};
|
|
465
|
+
exports.se_DeleteResourcePolicyCommand = se_DeleteResourcePolicyCommand;
|
|
454
466
|
const se_DeleteScheduledActionCommand = async (input, context) => {
|
|
455
467
|
const headers = SHARED_HEADERS;
|
|
456
468
|
let body;
|
|
@@ -759,6 +771,17 @@ const se_DescribeHsmConfigurationsCommand = async (input, context) => {
|
|
|
759
771
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
760
772
|
};
|
|
761
773
|
exports.se_DescribeHsmConfigurationsCommand = se_DescribeHsmConfigurationsCommand;
|
|
774
|
+
const se_DescribeInboundIntegrationsCommand = async (input, context) => {
|
|
775
|
+
const headers = SHARED_HEADERS;
|
|
776
|
+
let body;
|
|
777
|
+
body = buildFormUrlencodedString({
|
|
778
|
+
...se_DescribeInboundIntegrationsMessage(input, context),
|
|
779
|
+
Action: "DescribeInboundIntegrations",
|
|
780
|
+
Version: "2012-12-01",
|
|
781
|
+
});
|
|
782
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
783
|
+
};
|
|
784
|
+
exports.se_DescribeInboundIntegrationsCommand = se_DescribeInboundIntegrationsCommand;
|
|
762
785
|
const se_DescribeLoggingStatusCommand = async (input, context) => {
|
|
763
786
|
const headers = SHARED_HEADERS;
|
|
764
787
|
let body;
|
|
@@ -1021,6 +1044,17 @@ const se_GetReservedNodeExchangeOfferingsCommand = async (input, context) => {
|
|
|
1021
1044
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1022
1045
|
};
|
|
1023
1046
|
exports.se_GetReservedNodeExchangeOfferingsCommand = se_GetReservedNodeExchangeOfferingsCommand;
|
|
1047
|
+
const se_GetResourcePolicyCommand = async (input, context) => {
|
|
1048
|
+
const headers = SHARED_HEADERS;
|
|
1049
|
+
let body;
|
|
1050
|
+
body = buildFormUrlencodedString({
|
|
1051
|
+
...se_GetResourcePolicyMessage(input, context),
|
|
1052
|
+
Action: "GetResourcePolicy",
|
|
1053
|
+
Version: "2012-12-01",
|
|
1054
|
+
});
|
|
1055
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1056
|
+
};
|
|
1057
|
+
exports.se_GetResourcePolicyCommand = se_GetResourcePolicyCommand;
|
|
1024
1058
|
const se_ModifyAquaConfigurationCommand = async (input, context) => {
|
|
1025
1059
|
const headers = SHARED_HEADERS;
|
|
1026
1060
|
let body;
|
|
@@ -1230,6 +1264,17 @@ const se_PurchaseReservedNodeOfferingCommand = async (input, context) => {
|
|
|
1230
1264
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1231
1265
|
};
|
|
1232
1266
|
exports.se_PurchaseReservedNodeOfferingCommand = se_PurchaseReservedNodeOfferingCommand;
|
|
1267
|
+
const se_PutResourcePolicyCommand = async (input, context) => {
|
|
1268
|
+
const headers = SHARED_HEADERS;
|
|
1269
|
+
let body;
|
|
1270
|
+
body = buildFormUrlencodedString({
|
|
1271
|
+
...se_PutResourcePolicyMessage(input, context),
|
|
1272
|
+
Action: "PutResourcePolicy",
|
|
1273
|
+
Version: "2012-12-01",
|
|
1274
|
+
});
|
|
1275
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1276
|
+
};
|
|
1277
|
+
exports.se_PutResourcePolicyCommand = se_PutResourcePolicyCommand;
|
|
1233
1278
|
const se_RebootClusterCommand = async (input, context) => {
|
|
1234
1279
|
const headers = SHARED_HEADERS;
|
|
1235
1280
|
let body;
|
|
@@ -3093,6 +3138,39 @@ const de_DeletePartnerCommandError = async (output, context) => {
|
|
|
3093
3138
|
});
|
|
3094
3139
|
}
|
|
3095
3140
|
};
|
|
3141
|
+
const de_DeleteResourcePolicyCommand = async (output, context) => {
|
|
3142
|
+
if (output.statusCode >= 300) {
|
|
3143
|
+
return de_DeleteResourcePolicyCommandError(output, context);
|
|
3144
|
+
}
|
|
3145
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3146
|
+
const response = {
|
|
3147
|
+
$metadata: deserializeMetadata(output),
|
|
3148
|
+
};
|
|
3149
|
+
return response;
|
|
3150
|
+
};
|
|
3151
|
+
exports.de_DeleteResourcePolicyCommand = de_DeleteResourcePolicyCommand;
|
|
3152
|
+
const de_DeleteResourcePolicyCommandError = async (output, context) => {
|
|
3153
|
+
const parsedOutput = {
|
|
3154
|
+
...output,
|
|
3155
|
+
body: await parseErrorBody(output.body, context),
|
|
3156
|
+
};
|
|
3157
|
+
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3158
|
+
switch (errorCode) {
|
|
3159
|
+
case "ResourceNotFoundFault":
|
|
3160
|
+
case "com.amazonaws.redshift#ResourceNotFoundFault":
|
|
3161
|
+
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
3162
|
+
case "UnsupportedOperation":
|
|
3163
|
+
case "com.amazonaws.redshift#UnsupportedOperationFault":
|
|
3164
|
+
throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
|
|
3165
|
+
default:
|
|
3166
|
+
const parsedBody = parsedOutput.body;
|
|
3167
|
+
return throwDefaultError({
|
|
3168
|
+
output,
|
|
3169
|
+
parsedBody: parsedBody.Error,
|
|
3170
|
+
errorCode,
|
|
3171
|
+
});
|
|
3172
|
+
}
|
|
3173
|
+
};
|
|
3096
3174
|
const de_DeleteScheduledActionCommand = async (output, context) => {
|
|
3097
3175
|
if (output.statusCode >= 300) {
|
|
3098
3176
|
return de_DeleteScheduledActionCommandError(output, context);
|
|
@@ -4038,6 +4116,45 @@ const de_DescribeHsmConfigurationsCommandError = async (output, context) => {
|
|
|
4038
4116
|
});
|
|
4039
4117
|
}
|
|
4040
4118
|
};
|
|
4119
|
+
const de_DescribeInboundIntegrationsCommand = async (output, context) => {
|
|
4120
|
+
if (output.statusCode >= 300) {
|
|
4121
|
+
return de_DescribeInboundIntegrationsCommandError(output, context);
|
|
4122
|
+
}
|
|
4123
|
+
const data = await parseBody(output.body, context);
|
|
4124
|
+
let contents = {};
|
|
4125
|
+
contents = de_InboundIntegrationsMessage(data.DescribeInboundIntegrationsResult, context);
|
|
4126
|
+
const response = {
|
|
4127
|
+
$metadata: deserializeMetadata(output),
|
|
4128
|
+
...contents,
|
|
4129
|
+
};
|
|
4130
|
+
return response;
|
|
4131
|
+
};
|
|
4132
|
+
exports.de_DescribeInboundIntegrationsCommand = de_DescribeInboundIntegrationsCommand;
|
|
4133
|
+
const de_DescribeInboundIntegrationsCommandError = async (output, context) => {
|
|
4134
|
+
const parsedOutput = {
|
|
4135
|
+
...output,
|
|
4136
|
+
body: await parseErrorBody(output.body, context),
|
|
4137
|
+
};
|
|
4138
|
+
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
4139
|
+
switch (errorCode) {
|
|
4140
|
+
case "IntegrationNotFoundFault":
|
|
4141
|
+
case "com.amazonaws.redshift#IntegrationNotFoundFault":
|
|
4142
|
+
throw await de_IntegrationNotFoundFaultRes(parsedOutput, context);
|
|
4143
|
+
case "InvalidNamespaceFault":
|
|
4144
|
+
case "com.amazonaws.redshift#InvalidNamespaceFault":
|
|
4145
|
+
throw await de_InvalidNamespaceFaultRes(parsedOutput, context);
|
|
4146
|
+
case "UnsupportedOperation":
|
|
4147
|
+
case "com.amazonaws.redshift#UnsupportedOperationFault":
|
|
4148
|
+
throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
|
|
4149
|
+
default:
|
|
4150
|
+
const parsedBody = parsedOutput.body;
|
|
4151
|
+
return throwDefaultError({
|
|
4152
|
+
output,
|
|
4153
|
+
parsedBody: parsedBody.Error,
|
|
4154
|
+
errorCode,
|
|
4155
|
+
});
|
|
4156
|
+
}
|
|
4157
|
+
};
|
|
4041
4158
|
const de_DescribeLoggingStatusCommand = async (output, context) => {
|
|
4042
4159
|
if (output.statusCode >= 300) {
|
|
4043
4160
|
return de_DescribeLoggingStatusCommandError(output, context);
|
|
@@ -4962,6 +5079,45 @@ const de_GetReservedNodeExchangeOfferingsCommandError = async (output, context)
|
|
|
4962
5079
|
});
|
|
4963
5080
|
}
|
|
4964
5081
|
};
|
|
5082
|
+
const de_GetResourcePolicyCommand = async (output, context) => {
|
|
5083
|
+
if (output.statusCode >= 300) {
|
|
5084
|
+
return de_GetResourcePolicyCommandError(output, context);
|
|
5085
|
+
}
|
|
5086
|
+
const data = await parseBody(output.body, context);
|
|
5087
|
+
let contents = {};
|
|
5088
|
+
contents = de_GetResourcePolicyResult(data.GetResourcePolicyResult, context);
|
|
5089
|
+
const response = {
|
|
5090
|
+
$metadata: deserializeMetadata(output),
|
|
5091
|
+
...contents,
|
|
5092
|
+
};
|
|
5093
|
+
return response;
|
|
5094
|
+
};
|
|
5095
|
+
exports.de_GetResourcePolicyCommand = de_GetResourcePolicyCommand;
|
|
5096
|
+
const de_GetResourcePolicyCommandError = async (output, context) => {
|
|
5097
|
+
const parsedOutput = {
|
|
5098
|
+
...output,
|
|
5099
|
+
body: await parseErrorBody(output.body, context),
|
|
5100
|
+
};
|
|
5101
|
+
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
5102
|
+
switch (errorCode) {
|
|
5103
|
+
case "InvalidPolicyFault":
|
|
5104
|
+
case "com.amazonaws.redshift#InvalidPolicyFault":
|
|
5105
|
+
throw await de_InvalidPolicyFaultRes(parsedOutput, context);
|
|
5106
|
+
case "ResourceNotFoundFault":
|
|
5107
|
+
case "com.amazonaws.redshift#ResourceNotFoundFault":
|
|
5108
|
+
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
5109
|
+
case "UnsupportedOperation":
|
|
5110
|
+
case "com.amazonaws.redshift#UnsupportedOperationFault":
|
|
5111
|
+
throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
|
|
5112
|
+
default:
|
|
5113
|
+
const parsedBody = parsedOutput.body;
|
|
5114
|
+
return throwDefaultError({
|
|
5115
|
+
output,
|
|
5116
|
+
parsedBody: parsedBody.Error,
|
|
5117
|
+
errorCode,
|
|
5118
|
+
});
|
|
5119
|
+
}
|
|
5120
|
+
};
|
|
4965
5121
|
const de_ModifyAquaConfigurationCommand = async (output, context) => {
|
|
4966
5122
|
if (output.statusCode >= 300) {
|
|
4967
5123
|
return de_ModifyAquaConfigurationCommandError(output, context);
|
|
@@ -5793,6 +5949,48 @@ const de_PurchaseReservedNodeOfferingCommandError = async (output, context) => {
|
|
|
5793
5949
|
});
|
|
5794
5950
|
}
|
|
5795
5951
|
};
|
|
5952
|
+
const de_PutResourcePolicyCommand = async (output, context) => {
|
|
5953
|
+
if (output.statusCode >= 300) {
|
|
5954
|
+
return de_PutResourcePolicyCommandError(output, context);
|
|
5955
|
+
}
|
|
5956
|
+
const data = await parseBody(output.body, context);
|
|
5957
|
+
let contents = {};
|
|
5958
|
+
contents = de_PutResourcePolicyResult(data.PutResourcePolicyResult, context);
|
|
5959
|
+
const response = {
|
|
5960
|
+
$metadata: deserializeMetadata(output),
|
|
5961
|
+
...contents,
|
|
5962
|
+
};
|
|
5963
|
+
return response;
|
|
5964
|
+
};
|
|
5965
|
+
exports.de_PutResourcePolicyCommand = de_PutResourcePolicyCommand;
|
|
5966
|
+
const de_PutResourcePolicyCommandError = async (output, context) => {
|
|
5967
|
+
const parsedOutput = {
|
|
5968
|
+
...output,
|
|
5969
|
+
body: await parseErrorBody(output.body, context),
|
|
5970
|
+
};
|
|
5971
|
+
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
5972
|
+
switch (errorCode) {
|
|
5973
|
+
case "ConflictPolicyUpdateFault":
|
|
5974
|
+
case "com.amazonaws.redshift#ConflictPolicyUpdateFault":
|
|
5975
|
+
throw await de_ConflictPolicyUpdateFaultRes(parsedOutput, context);
|
|
5976
|
+
case "InvalidPolicyFault":
|
|
5977
|
+
case "com.amazonaws.redshift#InvalidPolicyFault":
|
|
5978
|
+
throw await de_InvalidPolicyFaultRes(parsedOutput, context);
|
|
5979
|
+
case "ResourceNotFoundFault":
|
|
5980
|
+
case "com.amazonaws.redshift#ResourceNotFoundFault":
|
|
5981
|
+
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
5982
|
+
case "UnsupportedOperation":
|
|
5983
|
+
case "com.amazonaws.redshift#UnsupportedOperationFault":
|
|
5984
|
+
throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
|
|
5985
|
+
default:
|
|
5986
|
+
const parsedBody = parsedOutput.body;
|
|
5987
|
+
return throwDefaultError({
|
|
5988
|
+
output,
|
|
5989
|
+
parsedBody: parsedBody.Error,
|
|
5990
|
+
errorCode,
|
|
5991
|
+
});
|
|
5992
|
+
}
|
|
5993
|
+
};
|
|
5796
5994
|
const de_RebootClusterCommand = async (output, context) => {
|
|
5797
5995
|
if (output.statusCode >= 300) {
|
|
5798
5996
|
return de_RebootClusterCommandError(output, context);
|
|
@@ -6651,6 +6849,15 @@ const de_ClusterSubnetQuotaExceededFaultRes = async (parsedOutput, context) => {
|
|
|
6651
6849
|
});
|
|
6652
6850
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
6653
6851
|
};
|
|
6852
|
+
const de_ConflictPolicyUpdateFaultRes = async (parsedOutput, context) => {
|
|
6853
|
+
const body = parsedOutput.body;
|
|
6854
|
+
const deserialized = de_ConflictPolicyUpdateFault(body.Error, context);
|
|
6855
|
+
const exception = new models_0_1.ConflictPolicyUpdateFault({
|
|
6856
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
6857
|
+
...deserialized,
|
|
6858
|
+
});
|
|
6859
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
6860
|
+
};
|
|
6654
6861
|
const de_CopyToRegionDisabledFaultRes = async (parsedOutput, context) => {
|
|
6655
6862
|
const body = parsedOutput.body;
|
|
6656
6863
|
const deserialized = de_CopyToRegionDisabledFault(body.Error, context);
|
|
@@ -6858,6 +7065,15 @@ const de_InsufficientS3BucketPolicyFaultRes = async (parsedOutput, context) => {
|
|
|
6858
7065
|
});
|
|
6859
7066
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
6860
7067
|
};
|
|
7068
|
+
const de_IntegrationNotFoundFaultRes = async (parsedOutput, context) => {
|
|
7069
|
+
const body = parsedOutput.body;
|
|
7070
|
+
const deserialized = de_IntegrationNotFoundFault(body.Error, context);
|
|
7071
|
+
const exception = new models_1_1.IntegrationNotFoundFault({
|
|
7072
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
7073
|
+
...deserialized,
|
|
7074
|
+
});
|
|
7075
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
7076
|
+
};
|
|
6861
7077
|
const de_InvalidAuthenticationProfileRequestFaultRes = async (parsedOutput, context) => {
|
|
6862
7078
|
const body = parsedOutput.body;
|
|
6863
7079
|
const deserialized = de_InvalidAuthenticationProfileRequestFault(body.Error, context);
|
|
@@ -7002,6 +7218,15 @@ const de_InvalidNamespaceFaultRes = async (parsedOutput, context) => {
|
|
|
7002
7218
|
});
|
|
7003
7219
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
7004
7220
|
};
|
|
7221
|
+
const de_InvalidPolicyFaultRes = async (parsedOutput, context) => {
|
|
7222
|
+
const body = parsedOutput.body;
|
|
7223
|
+
const deserialized = de_InvalidPolicyFault(body.Error, context);
|
|
7224
|
+
const exception = new models_1_1.InvalidPolicyFault({
|
|
7225
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
7226
|
+
...deserialized,
|
|
7227
|
+
});
|
|
7228
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
7229
|
+
};
|
|
7005
7230
|
const de_InvalidReservedNodeStateFaultRes = async (parsedOutput, context) => {
|
|
7006
7231
|
const body = parsedOutput.body;
|
|
7007
7232
|
const deserialized = de_InvalidReservedNodeStateFault(body.Error, context);
|
|
@@ -8366,6 +8591,13 @@ const se_DeleteHsmConfigurationMessage = (input, context) => {
|
|
|
8366
8591
|
}
|
|
8367
8592
|
return entries;
|
|
8368
8593
|
};
|
|
8594
|
+
const se_DeleteResourcePolicyMessage = (input, context) => {
|
|
8595
|
+
const entries = {};
|
|
8596
|
+
if (input.ResourceArn != null) {
|
|
8597
|
+
entries["ResourceArn"] = input.ResourceArn;
|
|
8598
|
+
}
|
|
8599
|
+
return entries;
|
|
8600
|
+
};
|
|
8369
8601
|
const se_DeleteScheduledActionMessage = (input, context) => {
|
|
8370
8602
|
const entries = {};
|
|
8371
8603
|
if (input.ScheduledActionName != null) {
|
|
@@ -8932,6 +9164,22 @@ const se_DescribeHsmConfigurationsMessage = (input, context) => {
|
|
|
8932
9164
|
}
|
|
8933
9165
|
return entries;
|
|
8934
9166
|
};
|
|
9167
|
+
const se_DescribeInboundIntegrationsMessage = (input, context) => {
|
|
9168
|
+
const entries = {};
|
|
9169
|
+
if (input.IntegrationArn != null) {
|
|
9170
|
+
entries["IntegrationArn"] = input.IntegrationArn;
|
|
9171
|
+
}
|
|
9172
|
+
if (input.TargetArn != null) {
|
|
9173
|
+
entries["TargetArn"] = input.TargetArn;
|
|
9174
|
+
}
|
|
9175
|
+
if (input.MaxRecords != null) {
|
|
9176
|
+
entries["MaxRecords"] = input.MaxRecords;
|
|
9177
|
+
}
|
|
9178
|
+
if (input.Marker != null) {
|
|
9179
|
+
entries["Marker"] = input.Marker;
|
|
9180
|
+
}
|
|
9181
|
+
return entries;
|
|
9182
|
+
};
|
|
8935
9183
|
const se_DescribeLoggingStatusMessage = (input, context) => {
|
|
8936
9184
|
const entries = {};
|
|
8937
9185
|
if (input.ClusterIdentifier != null) {
|
|
@@ -9417,6 +9665,13 @@ const se_GetReservedNodeExchangeOfferingsInputMessage = (input, context) => {
|
|
|
9417
9665
|
}
|
|
9418
9666
|
return entries;
|
|
9419
9667
|
};
|
|
9668
|
+
const se_GetResourcePolicyMessage = (input, context) => {
|
|
9669
|
+
const entries = {};
|
|
9670
|
+
if (input.ResourceArn != null) {
|
|
9671
|
+
entries["ResourceArn"] = input.ResourceArn;
|
|
9672
|
+
}
|
|
9673
|
+
return entries;
|
|
9674
|
+
};
|
|
9420
9675
|
const se_IamRoleArnList = (input, context) => {
|
|
9421
9676
|
const entries = {};
|
|
9422
9677
|
let counter = 1;
|
|
@@ -9943,6 +10198,16 @@ const se_PurchaseReservedNodeOfferingMessage = (input, context) => {
|
|
|
9943
10198
|
}
|
|
9944
10199
|
return entries;
|
|
9945
10200
|
};
|
|
10201
|
+
const se_PutResourcePolicyMessage = (input, context) => {
|
|
10202
|
+
const entries = {};
|
|
10203
|
+
if (input.ResourceArn != null) {
|
|
10204
|
+
entries["ResourceArn"] = input.ResourceArn;
|
|
10205
|
+
}
|
|
10206
|
+
if (input.Policy != null) {
|
|
10207
|
+
entries["Policy"] = input.Policy;
|
|
10208
|
+
}
|
|
10209
|
+
return entries;
|
|
10210
|
+
};
|
|
9946
10211
|
const se_RebootClusterMessage = (input, context) => {
|
|
9947
10212
|
const entries = {};
|
|
9948
10213
|
if (input.ClusterIdentifier != null) {
|
|
@@ -11495,6 +11760,13 @@ const de_ClusterVersionsMessage = (output, context) => {
|
|
|
11495
11760
|
}
|
|
11496
11761
|
return contents;
|
|
11497
11762
|
};
|
|
11763
|
+
const de_ConflictPolicyUpdateFault = (output, context) => {
|
|
11764
|
+
const contents = {};
|
|
11765
|
+
if (output["message"] !== undefined) {
|
|
11766
|
+
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
11767
|
+
}
|
|
11768
|
+
return contents;
|
|
11769
|
+
};
|
|
11498
11770
|
const de_CopyClusterSnapshotResult = (output, context) => {
|
|
11499
11771
|
const contents = {};
|
|
11500
11772
|
if (output["Snapshot"] !== undefined) {
|
|
@@ -12329,6 +12601,13 @@ const de_GetReservedNodeExchangeOfferingsOutputMessage = (output, context) => {
|
|
|
12329
12601
|
}
|
|
12330
12602
|
return contents;
|
|
12331
12603
|
};
|
|
12604
|
+
const de_GetResourcePolicyResult = (output, context) => {
|
|
12605
|
+
const contents = {};
|
|
12606
|
+
if (output["ResourcePolicy"] !== undefined) {
|
|
12607
|
+
contents.ResourcePolicy = de_ResourcePolicy(output["ResourcePolicy"], context);
|
|
12608
|
+
}
|
|
12609
|
+
return contents;
|
|
12610
|
+
};
|
|
12332
12611
|
const de_HsmClientCertificate = (output, context) => {
|
|
12333
12612
|
const contents = {};
|
|
12334
12613
|
if (output["HsmClientCertificateIdentifier"] !== undefined) {
|
|
@@ -12485,6 +12764,52 @@ const de_ImportTablesNotStarted = (output, context) => {
|
|
|
12485
12764
|
return (0, smithy_client_1.expectString)(entry);
|
|
12486
12765
|
});
|
|
12487
12766
|
};
|
|
12767
|
+
const de_InboundIntegration = (output, context) => {
|
|
12768
|
+
const contents = {};
|
|
12769
|
+
if (output["IntegrationArn"] !== undefined) {
|
|
12770
|
+
contents.IntegrationArn = (0, smithy_client_1.expectString)(output["IntegrationArn"]);
|
|
12771
|
+
}
|
|
12772
|
+
if (output["SourceArn"] !== undefined) {
|
|
12773
|
+
contents.SourceArn = (0, smithy_client_1.expectString)(output["SourceArn"]);
|
|
12774
|
+
}
|
|
12775
|
+
if (output["TargetArn"] !== undefined) {
|
|
12776
|
+
contents.TargetArn = (0, smithy_client_1.expectString)(output["TargetArn"]);
|
|
12777
|
+
}
|
|
12778
|
+
if (output["Status"] !== undefined) {
|
|
12779
|
+
contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
|
|
12780
|
+
}
|
|
12781
|
+
if (output.Errors === "") {
|
|
12782
|
+
contents.Errors = [];
|
|
12783
|
+
}
|
|
12784
|
+
else if (output["Errors"] !== undefined && output["Errors"]["IntegrationError"] !== undefined) {
|
|
12785
|
+
contents.Errors = de_IntegrationErrorList((0, smithy_client_1.getArrayIfSingleItem)(output["Errors"]["IntegrationError"]), context);
|
|
12786
|
+
}
|
|
12787
|
+
if (output["CreateTime"] !== undefined) {
|
|
12788
|
+
contents.CreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["CreateTime"]));
|
|
12789
|
+
}
|
|
12790
|
+
return contents;
|
|
12791
|
+
};
|
|
12792
|
+
const de_InboundIntegrationList = (output, context) => {
|
|
12793
|
+
return (output || [])
|
|
12794
|
+
.filter((e) => e != null)
|
|
12795
|
+
.map((entry) => {
|
|
12796
|
+
return de_InboundIntegration(entry, context);
|
|
12797
|
+
});
|
|
12798
|
+
};
|
|
12799
|
+
const de_InboundIntegrationsMessage = (output, context) => {
|
|
12800
|
+
const contents = {};
|
|
12801
|
+
if (output["Marker"] !== undefined) {
|
|
12802
|
+
contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
|
|
12803
|
+
}
|
|
12804
|
+
if (output.InboundIntegrations === "") {
|
|
12805
|
+
contents.InboundIntegrations = [];
|
|
12806
|
+
}
|
|
12807
|
+
else if (output["InboundIntegrations"] !== undefined &&
|
|
12808
|
+
output["InboundIntegrations"]["InboundIntegration"] !== undefined) {
|
|
12809
|
+
contents.InboundIntegrations = de_InboundIntegrationList((0, smithy_client_1.getArrayIfSingleItem)(output["InboundIntegrations"]["InboundIntegration"]), context);
|
|
12810
|
+
}
|
|
12811
|
+
return contents;
|
|
12812
|
+
};
|
|
12488
12813
|
const de_IncompatibleOrderableOptions = (output, context) => {
|
|
12489
12814
|
const contents = {};
|
|
12490
12815
|
if (output["message"] !== undefined) {
|
|
@@ -12513,6 +12838,30 @@ const de_InsufficientS3BucketPolicyFault = (output, context) => {
|
|
|
12513
12838
|
}
|
|
12514
12839
|
return contents;
|
|
12515
12840
|
};
|
|
12841
|
+
const de_IntegrationError = (output, context) => {
|
|
12842
|
+
const contents = {};
|
|
12843
|
+
if (output["ErrorCode"] !== undefined) {
|
|
12844
|
+
contents.ErrorCode = (0, smithy_client_1.expectString)(output["ErrorCode"]);
|
|
12845
|
+
}
|
|
12846
|
+
if (output["ErrorMessage"] !== undefined) {
|
|
12847
|
+
contents.ErrorMessage = (0, smithy_client_1.expectString)(output["ErrorMessage"]);
|
|
12848
|
+
}
|
|
12849
|
+
return contents;
|
|
12850
|
+
};
|
|
12851
|
+
const de_IntegrationErrorList = (output, context) => {
|
|
12852
|
+
return (output || [])
|
|
12853
|
+
.filter((e) => e != null)
|
|
12854
|
+
.map((entry) => {
|
|
12855
|
+
return de_IntegrationError(entry, context);
|
|
12856
|
+
});
|
|
12857
|
+
};
|
|
12858
|
+
const de_IntegrationNotFoundFault = (output, context) => {
|
|
12859
|
+
const contents = {};
|
|
12860
|
+
if (output["message"] !== undefined) {
|
|
12861
|
+
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
12862
|
+
}
|
|
12863
|
+
return contents;
|
|
12864
|
+
};
|
|
12516
12865
|
const de_InvalidAuthenticationProfileRequestFault = (output, context) => {
|
|
12517
12866
|
const contents = {};
|
|
12518
12867
|
if (output["message"] !== undefined) {
|
|
@@ -12625,6 +12974,13 @@ const de_InvalidNamespaceFault = (output, context) => {
|
|
|
12625
12974
|
}
|
|
12626
12975
|
return contents;
|
|
12627
12976
|
};
|
|
12977
|
+
const de_InvalidPolicyFault = (output, context) => {
|
|
12978
|
+
const contents = {};
|
|
12979
|
+
if (output["message"] !== undefined) {
|
|
12980
|
+
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
12981
|
+
}
|
|
12982
|
+
return contents;
|
|
12983
|
+
};
|
|
12628
12984
|
const de_InvalidReservedNodeStateFault = (output, context) => {
|
|
12629
12985
|
const contents = {};
|
|
12630
12986
|
if (output["message"] !== undefined) {
|
|
@@ -13167,6 +13523,13 @@ const de_PurchaseReservedNodeOfferingResult = (output, context) => {
|
|
|
13167
13523
|
}
|
|
13168
13524
|
return contents;
|
|
13169
13525
|
};
|
|
13526
|
+
const de_PutResourcePolicyResult = (output, context) => {
|
|
13527
|
+
const contents = {};
|
|
13528
|
+
if (output["ResourcePolicy"] !== undefined) {
|
|
13529
|
+
contents.ResourcePolicy = de_ResourcePolicy(output["ResourcePolicy"], context);
|
|
13530
|
+
}
|
|
13531
|
+
return contents;
|
|
13532
|
+
};
|
|
13170
13533
|
const de_RebootClusterResult = (output, context) => {
|
|
13171
13534
|
const contents = {};
|
|
13172
13535
|
if (output["Cluster"] !== undefined) {
|
|
@@ -13531,6 +13894,16 @@ const de_ResourceNotFoundFault = (output, context) => {
|
|
|
13531
13894
|
}
|
|
13532
13895
|
return contents;
|
|
13533
13896
|
};
|
|
13897
|
+
const de_ResourcePolicy = (output, context) => {
|
|
13898
|
+
const contents = {};
|
|
13899
|
+
if (output["ResourceArn"] !== undefined) {
|
|
13900
|
+
contents.ResourceArn = (0, smithy_client_1.expectString)(output["ResourceArn"]);
|
|
13901
|
+
}
|
|
13902
|
+
if (output["Policy"] !== undefined) {
|
|
13903
|
+
contents.Policy = (0, smithy_client_1.expectString)(output["Policy"]);
|
|
13904
|
+
}
|
|
13905
|
+
return contents;
|
|
13906
|
+
};
|
|
13534
13907
|
const de_RestorableNodeTypeList = (output, context) => {
|
|
13535
13908
|
return (output || [])
|
|
13536
13909
|
.filter((e) => e != null)
|
package/dist-es/Redshift.js
CHANGED
|
@@ -39,6 +39,7 @@ import { DeleteEventSubscriptionCommand, } from "./commands/DeleteEventSubscript
|
|
|
39
39
|
import { DeleteHsmClientCertificateCommand, } from "./commands/DeleteHsmClientCertificateCommand";
|
|
40
40
|
import { DeleteHsmConfigurationCommand, } from "./commands/DeleteHsmConfigurationCommand";
|
|
41
41
|
import { DeletePartnerCommand, } from "./commands/DeletePartnerCommand";
|
|
42
|
+
import { DeleteResourcePolicyCommand, } from "./commands/DeleteResourcePolicyCommand";
|
|
42
43
|
import { DeleteScheduledActionCommand, } from "./commands/DeleteScheduledActionCommand";
|
|
43
44
|
import { DeleteSnapshotCopyGrantCommand, } from "./commands/DeleteSnapshotCopyGrantCommand";
|
|
44
45
|
import { DeleteSnapshotScheduleCommand, } from "./commands/DeleteSnapshotScheduleCommand";
|
|
@@ -67,6 +68,7 @@ import { DescribeEventsCommand, } from "./commands/DescribeEventsCommand";
|
|
|
67
68
|
import { DescribeEventSubscriptionsCommand, } from "./commands/DescribeEventSubscriptionsCommand";
|
|
68
69
|
import { DescribeHsmClientCertificatesCommand, } from "./commands/DescribeHsmClientCertificatesCommand";
|
|
69
70
|
import { DescribeHsmConfigurationsCommand, } from "./commands/DescribeHsmConfigurationsCommand";
|
|
71
|
+
import { DescribeInboundIntegrationsCommand, } from "./commands/DescribeInboundIntegrationsCommand";
|
|
70
72
|
import { DescribeLoggingStatusCommand, } from "./commands/DescribeLoggingStatusCommand";
|
|
71
73
|
import { DescribeNodeConfigurationOptionsCommand, } from "./commands/DescribeNodeConfigurationOptionsCommand";
|
|
72
74
|
import { DescribeOrderableClusterOptionsCommand, } from "./commands/DescribeOrderableClusterOptionsCommand";
|
|
@@ -91,6 +93,7 @@ import { GetClusterCredentialsCommand, } from "./commands/GetClusterCredentialsC
|
|
|
91
93
|
import { GetClusterCredentialsWithIAMCommand, } from "./commands/GetClusterCredentialsWithIAMCommand";
|
|
92
94
|
import { GetReservedNodeExchangeConfigurationOptionsCommand, } from "./commands/GetReservedNodeExchangeConfigurationOptionsCommand";
|
|
93
95
|
import { GetReservedNodeExchangeOfferingsCommand, } from "./commands/GetReservedNodeExchangeOfferingsCommand";
|
|
96
|
+
import { GetResourcePolicyCommand, } from "./commands/GetResourcePolicyCommand";
|
|
94
97
|
import { ModifyAquaConfigurationCommand, } from "./commands/ModifyAquaConfigurationCommand";
|
|
95
98
|
import { ModifyAuthenticationProfileCommand, } from "./commands/ModifyAuthenticationProfileCommand";
|
|
96
99
|
import { ModifyClusterCommand, } from "./commands/ModifyClusterCommand";
|
|
@@ -110,6 +113,7 @@ import { ModifySnapshotScheduleCommand, } from "./commands/ModifySnapshotSchedul
|
|
|
110
113
|
import { ModifyUsageLimitCommand, } from "./commands/ModifyUsageLimitCommand";
|
|
111
114
|
import { PauseClusterCommand, } from "./commands/PauseClusterCommand";
|
|
112
115
|
import { PurchaseReservedNodeOfferingCommand, } from "./commands/PurchaseReservedNodeOfferingCommand";
|
|
116
|
+
import { PutResourcePolicyCommand, } from "./commands/PutResourcePolicyCommand";
|
|
113
117
|
import { RebootClusterCommand, } from "./commands/RebootClusterCommand";
|
|
114
118
|
import { RejectDataShareCommand, } from "./commands/RejectDataShareCommand";
|
|
115
119
|
import { ResetClusterParameterGroupCommand, } from "./commands/ResetClusterParameterGroupCommand";
|
|
@@ -164,6 +168,7 @@ const commands = {
|
|
|
164
168
|
DeleteHsmClientCertificateCommand,
|
|
165
169
|
DeleteHsmConfigurationCommand,
|
|
166
170
|
DeletePartnerCommand,
|
|
171
|
+
DeleteResourcePolicyCommand,
|
|
167
172
|
DeleteScheduledActionCommand,
|
|
168
173
|
DeleteSnapshotCopyGrantCommand,
|
|
169
174
|
DeleteSnapshotScheduleCommand,
|
|
@@ -192,6 +197,7 @@ const commands = {
|
|
|
192
197
|
DescribeEventSubscriptionsCommand,
|
|
193
198
|
DescribeHsmClientCertificatesCommand,
|
|
194
199
|
DescribeHsmConfigurationsCommand,
|
|
200
|
+
DescribeInboundIntegrationsCommand,
|
|
195
201
|
DescribeLoggingStatusCommand,
|
|
196
202
|
DescribeNodeConfigurationOptionsCommand,
|
|
197
203
|
DescribeOrderableClusterOptionsCommand,
|
|
@@ -216,6 +222,7 @@ const commands = {
|
|
|
216
222
|
GetClusterCredentialsWithIAMCommand,
|
|
217
223
|
GetReservedNodeExchangeConfigurationOptionsCommand,
|
|
218
224
|
GetReservedNodeExchangeOfferingsCommand,
|
|
225
|
+
GetResourcePolicyCommand,
|
|
219
226
|
ModifyAquaConfigurationCommand,
|
|
220
227
|
ModifyAuthenticationProfileCommand,
|
|
221
228
|
ModifyClusterCommand,
|
|
@@ -235,6 +242,7 @@ const commands = {
|
|
|
235
242
|
ModifyUsageLimitCommand,
|
|
236
243
|
PauseClusterCommand,
|
|
237
244
|
PurchaseReservedNodeOfferingCommand,
|
|
245
|
+
PutResourcePolicyCommand,
|
|
238
246
|
RebootClusterCommand,
|
|
239
247
|
RejectDataShareCommand,
|
|
240
248
|
ResetClusterParameterGroupCommand,
|