@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
|
@@ -48,6 +48,7 @@ import { DeleteEventSubscriptionCommandInput, DeleteEventSubscriptionCommandOutp
|
|
|
48
48
|
import { DeleteHsmClientCertificateCommandInput, DeleteHsmClientCertificateCommandOutput } from "./commands/DeleteHsmClientCertificateCommand";
|
|
49
49
|
import { DeleteHsmConfigurationCommandInput, DeleteHsmConfigurationCommandOutput } from "./commands/DeleteHsmConfigurationCommand";
|
|
50
50
|
import { DeletePartnerCommandInput, DeletePartnerCommandOutput } from "./commands/DeletePartnerCommand";
|
|
51
|
+
import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand";
|
|
51
52
|
import { DeleteScheduledActionCommandInput, DeleteScheduledActionCommandOutput } from "./commands/DeleteScheduledActionCommand";
|
|
52
53
|
import { DeleteSnapshotCopyGrantCommandInput, DeleteSnapshotCopyGrantCommandOutput } from "./commands/DeleteSnapshotCopyGrantCommand";
|
|
53
54
|
import { DeleteSnapshotScheduleCommandInput, DeleteSnapshotScheduleCommandOutput } from "./commands/DeleteSnapshotScheduleCommand";
|
|
@@ -76,6 +77,7 @@ import { DescribeEventsCommandInput, DescribeEventsCommandOutput } from "./comma
|
|
|
76
77
|
import { DescribeEventSubscriptionsCommandInput, DescribeEventSubscriptionsCommandOutput } from "./commands/DescribeEventSubscriptionsCommand";
|
|
77
78
|
import { DescribeHsmClientCertificatesCommandInput, DescribeHsmClientCertificatesCommandOutput } from "./commands/DescribeHsmClientCertificatesCommand";
|
|
78
79
|
import { DescribeHsmConfigurationsCommandInput, DescribeHsmConfigurationsCommandOutput } from "./commands/DescribeHsmConfigurationsCommand";
|
|
80
|
+
import { DescribeInboundIntegrationsCommandInput, DescribeInboundIntegrationsCommandOutput } from "./commands/DescribeInboundIntegrationsCommand";
|
|
79
81
|
import { DescribeLoggingStatusCommandInput, DescribeLoggingStatusCommandOutput } from "./commands/DescribeLoggingStatusCommand";
|
|
80
82
|
import { DescribeNodeConfigurationOptionsCommandInput, DescribeNodeConfigurationOptionsCommandOutput } from "./commands/DescribeNodeConfigurationOptionsCommand";
|
|
81
83
|
import { DescribeOrderableClusterOptionsCommandInput, DescribeOrderableClusterOptionsCommandOutput } from "./commands/DescribeOrderableClusterOptionsCommand";
|
|
@@ -100,6 +102,7 @@ import { GetClusterCredentialsCommandInput, GetClusterCredentialsCommandOutput }
|
|
|
100
102
|
import { GetClusterCredentialsWithIAMCommandInput, GetClusterCredentialsWithIAMCommandOutput } from "./commands/GetClusterCredentialsWithIAMCommand";
|
|
101
103
|
import { GetReservedNodeExchangeConfigurationOptionsCommandInput, GetReservedNodeExchangeConfigurationOptionsCommandOutput } from "./commands/GetReservedNodeExchangeConfigurationOptionsCommand";
|
|
102
104
|
import { GetReservedNodeExchangeOfferingsCommandInput, GetReservedNodeExchangeOfferingsCommandOutput } from "./commands/GetReservedNodeExchangeOfferingsCommand";
|
|
105
|
+
import { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "./commands/GetResourcePolicyCommand";
|
|
103
106
|
import { ModifyAquaConfigurationCommandInput, ModifyAquaConfigurationCommandOutput } from "./commands/ModifyAquaConfigurationCommand";
|
|
104
107
|
import { ModifyAuthenticationProfileCommandInput, ModifyAuthenticationProfileCommandOutput } from "./commands/ModifyAuthenticationProfileCommand";
|
|
105
108
|
import { ModifyClusterCommandInput, ModifyClusterCommandOutput } from "./commands/ModifyClusterCommand";
|
|
@@ -119,6 +122,7 @@ import { ModifySnapshotScheduleCommandInput, ModifySnapshotScheduleCommandOutput
|
|
|
119
122
|
import { ModifyUsageLimitCommandInput, ModifyUsageLimitCommandOutput } from "./commands/ModifyUsageLimitCommand";
|
|
120
123
|
import { PauseClusterCommandInput, PauseClusterCommandOutput } from "./commands/PauseClusterCommand";
|
|
121
124
|
import { PurchaseReservedNodeOfferingCommandInput, PurchaseReservedNodeOfferingCommandOutput } from "./commands/PurchaseReservedNodeOfferingCommand";
|
|
125
|
+
import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
|
|
122
126
|
import { RebootClusterCommandInput, RebootClusterCommandOutput } from "./commands/RebootClusterCommand";
|
|
123
127
|
import { RejectDataShareCommandInput, RejectDataShareCommandOutput } from "./commands/RejectDataShareCommand";
|
|
124
128
|
import { ResetClusterParameterGroupCommandInput, ResetClusterParameterGroupCommandOutput } from "./commands/ResetClusterParameterGroupCommand";
|
|
@@ -137,11 +141,11 @@ export { __Client };
|
|
|
137
141
|
/**
|
|
138
142
|
* @public
|
|
139
143
|
*/
|
|
140
|
-
export type ServiceInputTypes = AcceptReservedNodeExchangeCommandInput | AddPartnerCommandInput | AssociateDataShareConsumerCommandInput | AuthorizeClusterSecurityGroupIngressCommandInput | AuthorizeDataShareCommandInput | AuthorizeEndpointAccessCommandInput | AuthorizeSnapshotAccessCommandInput | BatchDeleteClusterSnapshotsCommandInput | BatchModifyClusterSnapshotsCommandInput | CancelResizeCommandInput | CopyClusterSnapshotCommandInput | CreateAuthenticationProfileCommandInput | CreateClusterCommandInput | CreateClusterParameterGroupCommandInput | CreateClusterSecurityGroupCommandInput | CreateClusterSnapshotCommandInput | CreateClusterSubnetGroupCommandInput | CreateCustomDomainAssociationCommandInput | CreateEndpointAccessCommandInput | CreateEventSubscriptionCommandInput | CreateHsmClientCertificateCommandInput | CreateHsmConfigurationCommandInput | CreateScheduledActionCommandInput | CreateSnapshotCopyGrantCommandInput | CreateSnapshotScheduleCommandInput | CreateTagsCommandInput | CreateUsageLimitCommandInput | DeauthorizeDataShareCommandInput | DeleteAuthenticationProfileCommandInput | DeleteClusterCommandInput | DeleteClusterParameterGroupCommandInput | DeleteClusterSecurityGroupCommandInput | DeleteClusterSnapshotCommandInput | DeleteClusterSubnetGroupCommandInput | DeleteCustomDomainAssociationCommandInput | DeleteEndpointAccessCommandInput | DeleteEventSubscriptionCommandInput | DeleteHsmClientCertificateCommandInput | DeleteHsmConfigurationCommandInput | DeletePartnerCommandInput | DeleteScheduledActionCommandInput | DeleteSnapshotCopyGrantCommandInput | DeleteSnapshotScheduleCommandInput | DeleteTagsCommandInput | DeleteUsageLimitCommandInput | DescribeAccountAttributesCommandInput | DescribeAuthenticationProfilesCommandInput | DescribeClusterDbRevisionsCommandInput | DescribeClusterParameterGroupsCommandInput | DescribeClusterParametersCommandInput | DescribeClusterSecurityGroupsCommandInput | DescribeClusterSnapshotsCommandInput | DescribeClusterSubnetGroupsCommandInput | DescribeClusterTracksCommandInput | DescribeClusterVersionsCommandInput | DescribeClustersCommandInput | DescribeCustomDomainAssociationsCommandInput | DescribeDataSharesCommandInput | DescribeDataSharesForConsumerCommandInput | DescribeDataSharesForProducerCommandInput | DescribeDefaultClusterParametersCommandInput | DescribeEndpointAccessCommandInput | DescribeEndpointAuthorizationCommandInput | DescribeEventCategoriesCommandInput | DescribeEventSubscriptionsCommandInput | DescribeEventsCommandInput | DescribeHsmClientCertificatesCommandInput | DescribeHsmConfigurationsCommandInput | DescribeLoggingStatusCommandInput | DescribeNodeConfigurationOptionsCommandInput | DescribeOrderableClusterOptionsCommandInput | DescribePartnersCommandInput | DescribeReservedNodeExchangeStatusCommandInput | DescribeReservedNodeOfferingsCommandInput | DescribeReservedNodesCommandInput | DescribeResizeCommandInput | DescribeScheduledActionsCommandInput | DescribeSnapshotCopyGrantsCommandInput | DescribeSnapshotSchedulesCommandInput | DescribeStorageCommandInput | DescribeTableRestoreStatusCommandInput | DescribeTagsCommandInput | DescribeUsageLimitsCommandInput | DisableLoggingCommandInput | DisableSnapshotCopyCommandInput | DisassociateDataShareConsumerCommandInput | EnableLoggingCommandInput | EnableSnapshotCopyCommandInput | GetClusterCredentialsCommandInput | GetClusterCredentialsWithIAMCommandInput | GetReservedNodeExchangeConfigurationOptionsCommandInput | GetReservedNodeExchangeOfferingsCommandInput | ModifyAquaConfigurationCommandInput | ModifyAuthenticationProfileCommandInput | ModifyClusterCommandInput | ModifyClusterDbRevisionCommandInput | ModifyClusterIamRolesCommandInput | ModifyClusterMaintenanceCommandInput | ModifyClusterParameterGroupCommandInput | ModifyClusterSnapshotCommandInput | ModifyClusterSnapshotScheduleCommandInput | ModifyClusterSubnetGroupCommandInput | ModifyCustomDomainAssociationCommandInput | ModifyEndpointAccessCommandInput | ModifyEventSubscriptionCommandInput | ModifyScheduledActionCommandInput | ModifySnapshotCopyRetentionPeriodCommandInput | ModifySnapshotScheduleCommandInput | ModifyUsageLimitCommandInput | PauseClusterCommandInput | PurchaseReservedNodeOfferingCommandInput | RebootClusterCommandInput | RejectDataShareCommandInput | ResetClusterParameterGroupCommandInput | ResizeClusterCommandInput | RestoreFromClusterSnapshotCommandInput | RestoreTableFromClusterSnapshotCommandInput | ResumeClusterCommandInput | RevokeClusterSecurityGroupIngressCommandInput | RevokeEndpointAccessCommandInput | RevokeSnapshotAccessCommandInput | RotateEncryptionKeyCommandInput | UpdatePartnerStatusCommandInput;
|
|
144
|
+
export type ServiceInputTypes = AcceptReservedNodeExchangeCommandInput | AddPartnerCommandInput | AssociateDataShareConsumerCommandInput | AuthorizeClusterSecurityGroupIngressCommandInput | AuthorizeDataShareCommandInput | AuthorizeEndpointAccessCommandInput | AuthorizeSnapshotAccessCommandInput | BatchDeleteClusterSnapshotsCommandInput | BatchModifyClusterSnapshotsCommandInput | CancelResizeCommandInput | CopyClusterSnapshotCommandInput | CreateAuthenticationProfileCommandInput | CreateClusterCommandInput | CreateClusterParameterGroupCommandInput | CreateClusterSecurityGroupCommandInput | CreateClusterSnapshotCommandInput | CreateClusterSubnetGroupCommandInput | CreateCustomDomainAssociationCommandInput | CreateEndpointAccessCommandInput | CreateEventSubscriptionCommandInput | CreateHsmClientCertificateCommandInput | CreateHsmConfigurationCommandInput | CreateScheduledActionCommandInput | CreateSnapshotCopyGrantCommandInput | CreateSnapshotScheduleCommandInput | CreateTagsCommandInput | CreateUsageLimitCommandInput | DeauthorizeDataShareCommandInput | DeleteAuthenticationProfileCommandInput | DeleteClusterCommandInput | DeleteClusterParameterGroupCommandInput | DeleteClusterSecurityGroupCommandInput | DeleteClusterSnapshotCommandInput | DeleteClusterSubnetGroupCommandInput | DeleteCustomDomainAssociationCommandInput | DeleteEndpointAccessCommandInput | DeleteEventSubscriptionCommandInput | DeleteHsmClientCertificateCommandInput | DeleteHsmConfigurationCommandInput | DeletePartnerCommandInput | DeleteResourcePolicyCommandInput | DeleteScheduledActionCommandInput | DeleteSnapshotCopyGrantCommandInput | DeleteSnapshotScheduleCommandInput | DeleteTagsCommandInput | DeleteUsageLimitCommandInput | DescribeAccountAttributesCommandInput | DescribeAuthenticationProfilesCommandInput | DescribeClusterDbRevisionsCommandInput | DescribeClusterParameterGroupsCommandInput | DescribeClusterParametersCommandInput | DescribeClusterSecurityGroupsCommandInput | DescribeClusterSnapshotsCommandInput | DescribeClusterSubnetGroupsCommandInput | DescribeClusterTracksCommandInput | DescribeClusterVersionsCommandInput | DescribeClustersCommandInput | DescribeCustomDomainAssociationsCommandInput | DescribeDataSharesCommandInput | DescribeDataSharesForConsumerCommandInput | DescribeDataSharesForProducerCommandInput | DescribeDefaultClusterParametersCommandInput | DescribeEndpointAccessCommandInput | DescribeEndpointAuthorizationCommandInput | DescribeEventCategoriesCommandInput | DescribeEventSubscriptionsCommandInput | DescribeEventsCommandInput | DescribeHsmClientCertificatesCommandInput | DescribeHsmConfigurationsCommandInput | DescribeInboundIntegrationsCommandInput | DescribeLoggingStatusCommandInput | DescribeNodeConfigurationOptionsCommandInput | DescribeOrderableClusterOptionsCommandInput | DescribePartnersCommandInput | DescribeReservedNodeExchangeStatusCommandInput | DescribeReservedNodeOfferingsCommandInput | DescribeReservedNodesCommandInput | DescribeResizeCommandInput | DescribeScheduledActionsCommandInput | DescribeSnapshotCopyGrantsCommandInput | DescribeSnapshotSchedulesCommandInput | DescribeStorageCommandInput | DescribeTableRestoreStatusCommandInput | DescribeTagsCommandInput | DescribeUsageLimitsCommandInput | DisableLoggingCommandInput | DisableSnapshotCopyCommandInput | DisassociateDataShareConsumerCommandInput | EnableLoggingCommandInput | EnableSnapshotCopyCommandInput | GetClusterCredentialsCommandInput | GetClusterCredentialsWithIAMCommandInput | GetReservedNodeExchangeConfigurationOptionsCommandInput | GetReservedNodeExchangeOfferingsCommandInput | GetResourcePolicyCommandInput | ModifyAquaConfigurationCommandInput | ModifyAuthenticationProfileCommandInput | ModifyClusterCommandInput | ModifyClusterDbRevisionCommandInput | ModifyClusterIamRolesCommandInput | ModifyClusterMaintenanceCommandInput | ModifyClusterParameterGroupCommandInput | ModifyClusterSnapshotCommandInput | ModifyClusterSnapshotScheduleCommandInput | ModifyClusterSubnetGroupCommandInput | ModifyCustomDomainAssociationCommandInput | ModifyEndpointAccessCommandInput | ModifyEventSubscriptionCommandInput | ModifyScheduledActionCommandInput | ModifySnapshotCopyRetentionPeriodCommandInput | ModifySnapshotScheduleCommandInput | ModifyUsageLimitCommandInput | PauseClusterCommandInput | PurchaseReservedNodeOfferingCommandInput | PutResourcePolicyCommandInput | RebootClusterCommandInput | RejectDataShareCommandInput | ResetClusterParameterGroupCommandInput | ResizeClusterCommandInput | RestoreFromClusterSnapshotCommandInput | RestoreTableFromClusterSnapshotCommandInput | ResumeClusterCommandInput | RevokeClusterSecurityGroupIngressCommandInput | RevokeEndpointAccessCommandInput | RevokeSnapshotAccessCommandInput | RotateEncryptionKeyCommandInput | UpdatePartnerStatusCommandInput;
|
|
141
145
|
/**
|
|
142
146
|
* @public
|
|
143
147
|
*/
|
|
144
|
-
export type ServiceOutputTypes = AcceptReservedNodeExchangeCommandOutput | AddPartnerCommandOutput | AssociateDataShareConsumerCommandOutput | AuthorizeClusterSecurityGroupIngressCommandOutput | AuthorizeDataShareCommandOutput | AuthorizeEndpointAccessCommandOutput | AuthorizeSnapshotAccessCommandOutput | BatchDeleteClusterSnapshotsCommandOutput | BatchModifyClusterSnapshotsCommandOutput | CancelResizeCommandOutput | CopyClusterSnapshotCommandOutput | CreateAuthenticationProfileCommandOutput | CreateClusterCommandOutput | CreateClusterParameterGroupCommandOutput | CreateClusterSecurityGroupCommandOutput | CreateClusterSnapshotCommandOutput | CreateClusterSubnetGroupCommandOutput | CreateCustomDomainAssociationCommandOutput | CreateEndpointAccessCommandOutput | CreateEventSubscriptionCommandOutput | CreateHsmClientCertificateCommandOutput | CreateHsmConfigurationCommandOutput | CreateScheduledActionCommandOutput | CreateSnapshotCopyGrantCommandOutput | CreateSnapshotScheduleCommandOutput | CreateTagsCommandOutput | CreateUsageLimitCommandOutput | DeauthorizeDataShareCommandOutput | DeleteAuthenticationProfileCommandOutput | DeleteClusterCommandOutput | DeleteClusterParameterGroupCommandOutput | DeleteClusterSecurityGroupCommandOutput | DeleteClusterSnapshotCommandOutput | DeleteClusterSubnetGroupCommandOutput | DeleteCustomDomainAssociationCommandOutput | DeleteEndpointAccessCommandOutput | DeleteEventSubscriptionCommandOutput | DeleteHsmClientCertificateCommandOutput | DeleteHsmConfigurationCommandOutput | DeletePartnerCommandOutput | DeleteScheduledActionCommandOutput | DeleteSnapshotCopyGrantCommandOutput | DeleteSnapshotScheduleCommandOutput | DeleteTagsCommandOutput | DeleteUsageLimitCommandOutput | DescribeAccountAttributesCommandOutput | DescribeAuthenticationProfilesCommandOutput | DescribeClusterDbRevisionsCommandOutput | DescribeClusterParameterGroupsCommandOutput | DescribeClusterParametersCommandOutput | DescribeClusterSecurityGroupsCommandOutput | DescribeClusterSnapshotsCommandOutput | DescribeClusterSubnetGroupsCommandOutput | DescribeClusterTracksCommandOutput | DescribeClusterVersionsCommandOutput | DescribeClustersCommandOutput | DescribeCustomDomainAssociationsCommandOutput | DescribeDataSharesCommandOutput | DescribeDataSharesForConsumerCommandOutput | DescribeDataSharesForProducerCommandOutput | DescribeDefaultClusterParametersCommandOutput | DescribeEndpointAccessCommandOutput | DescribeEndpointAuthorizationCommandOutput | DescribeEventCategoriesCommandOutput | DescribeEventSubscriptionsCommandOutput | DescribeEventsCommandOutput | DescribeHsmClientCertificatesCommandOutput | DescribeHsmConfigurationsCommandOutput | DescribeLoggingStatusCommandOutput | DescribeNodeConfigurationOptionsCommandOutput | DescribeOrderableClusterOptionsCommandOutput | DescribePartnersCommandOutput | DescribeReservedNodeExchangeStatusCommandOutput | DescribeReservedNodeOfferingsCommandOutput | DescribeReservedNodesCommandOutput | DescribeResizeCommandOutput | DescribeScheduledActionsCommandOutput | DescribeSnapshotCopyGrantsCommandOutput | DescribeSnapshotSchedulesCommandOutput | DescribeStorageCommandOutput | DescribeTableRestoreStatusCommandOutput | DescribeTagsCommandOutput | DescribeUsageLimitsCommandOutput | DisableLoggingCommandOutput | DisableSnapshotCopyCommandOutput | DisassociateDataShareConsumerCommandOutput | EnableLoggingCommandOutput | EnableSnapshotCopyCommandOutput | GetClusterCredentialsCommandOutput | GetClusterCredentialsWithIAMCommandOutput | GetReservedNodeExchangeConfigurationOptionsCommandOutput | GetReservedNodeExchangeOfferingsCommandOutput | ModifyAquaConfigurationCommandOutput | ModifyAuthenticationProfileCommandOutput | ModifyClusterCommandOutput | ModifyClusterDbRevisionCommandOutput | ModifyClusterIamRolesCommandOutput | ModifyClusterMaintenanceCommandOutput | ModifyClusterParameterGroupCommandOutput | ModifyClusterSnapshotCommandOutput | ModifyClusterSnapshotScheduleCommandOutput | ModifyClusterSubnetGroupCommandOutput | ModifyCustomDomainAssociationCommandOutput | ModifyEndpointAccessCommandOutput | ModifyEventSubscriptionCommandOutput | ModifyScheduledActionCommandOutput | ModifySnapshotCopyRetentionPeriodCommandOutput | ModifySnapshotScheduleCommandOutput | ModifyUsageLimitCommandOutput | PauseClusterCommandOutput | PurchaseReservedNodeOfferingCommandOutput | RebootClusterCommandOutput | RejectDataShareCommandOutput | ResetClusterParameterGroupCommandOutput | ResizeClusterCommandOutput | RestoreFromClusterSnapshotCommandOutput | RestoreTableFromClusterSnapshotCommandOutput | ResumeClusterCommandOutput | RevokeClusterSecurityGroupIngressCommandOutput | RevokeEndpointAccessCommandOutput | RevokeSnapshotAccessCommandOutput | RotateEncryptionKeyCommandOutput | UpdatePartnerStatusCommandOutput;
|
|
148
|
+
export type ServiceOutputTypes = AcceptReservedNodeExchangeCommandOutput | AddPartnerCommandOutput | AssociateDataShareConsumerCommandOutput | AuthorizeClusterSecurityGroupIngressCommandOutput | AuthorizeDataShareCommandOutput | AuthorizeEndpointAccessCommandOutput | AuthorizeSnapshotAccessCommandOutput | BatchDeleteClusterSnapshotsCommandOutput | BatchModifyClusterSnapshotsCommandOutput | CancelResizeCommandOutput | CopyClusterSnapshotCommandOutput | CreateAuthenticationProfileCommandOutput | CreateClusterCommandOutput | CreateClusterParameterGroupCommandOutput | CreateClusterSecurityGroupCommandOutput | CreateClusterSnapshotCommandOutput | CreateClusterSubnetGroupCommandOutput | CreateCustomDomainAssociationCommandOutput | CreateEndpointAccessCommandOutput | CreateEventSubscriptionCommandOutput | CreateHsmClientCertificateCommandOutput | CreateHsmConfigurationCommandOutput | CreateScheduledActionCommandOutput | CreateSnapshotCopyGrantCommandOutput | CreateSnapshotScheduleCommandOutput | CreateTagsCommandOutput | CreateUsageLimitCommandOutput | DeauthorizeDataShareCommandOutput | DeleteAuthenticationProfileCommandOutput | DeleteClusterCommandOutput | DeleteClusterParameterGroupCommandOutput | DeleteClusterSecurityGroupCommandOutput | DeleteClusterSnapshotCommandOutput | DeleteClusterSubnetGroupCommandOutput | DeleteCustomDomainAssociationCommandOutput | DeleteEndpointAccessCommandOutput | DeleteEventSubscriptionCommandOutput | DeleteHsmClientCertificateCommandOutput | DeleteHsmConfigurationCommandOutput | DeletePartnerCommandOutput | DeleteResourcePolicyCommandOutput | DeleteScheduledActionCommandOutput | DeleteSnapshotCopyGrantCommandOutput | DeleteSnapshotScheduleCommandOutput | DeleteTagsCommandOutput | DeleteUsageLimitCommandOutput | DescribeAccountAttributesCommandOutput | DescribeAuthenticationProfilesCommandOutput | DescribeClusterDbRevisionsCommandOutput | DescribeClusterParameterGroupsCommandOutput | DescribeClusterParametersCommandOutput | DescribeClusterSecurityGroupsCommandOutput | DescribeClusterSnapshotsCommandOutput | DescribeClusterSubnetGroupsCommandOutput | DescribeClusterTracksCommandOutput | DescribeClusterVersionsCommandOutput | DescribeClustersCommandOutput | DescribeCustomDomainAssociationsCommandOutput | DescribeDataSharesCommandOutput | DescribeDataSharesForConsumerCommandOutput | DescribeDataSharesForProducerCommandOutput | DescribeDefaultClusterParametersCommandOutput | DescribeEndpointAccessCommandOutput | DescribeEndpointAuthorizationCommandOutput | DescribeEventCategoriesCommandOutput | DescribeEventSubscriptionsCommandOutput | DescribeEventsCommandOutput | DescribeHsmClientCertificatesCommandOutput | DescribeHsmConfigurationsCommandOutput | DescribeInboundIntegrationsCommandOutput | DescribeLoggingStatusCommandOutput | DescribeNodeConfigurationOptionsCommandOutput | DescribeOrderableClusterOptionsCommandOutput | DescribePartnersCommandOutput | DescribeReservedNodeExchangeStatusCommandOutput | DescribeReservedNodeOfferingsCommandOutput | DescribeReservedNodesCommandOutput | DescribeResizeCommandOutput | DescribeScheduledActionsCommandOutput | DescribeSnapshotCopyGrantsCommandOutput | DescribeSnapshotSchedulesCommandOutput | DescribeStorageCommandOutput | DescribeTableRestoreStatusCommandOutput | DescribeTagsCommandOutput | DescribeUsageLimitsCommandOutput | DisableLoggingCommandOutput | DisableSnapshotCopyCommandOutput | DisassociateDataShareConsumerCommandOutput | EnableLoggingCommandOutput | EnableSnapshotCopyCommandOutput | GetClusterCredentialsCommandOutput | GetClusterCredentialsWithIAMCommandOutput | GetReservedNodeExchangeConfigurationOptionsCommandOutput | GetReservedNodeExchangeOfferingsCommandOutput | GetResourcePolicyCommandOutput | ModifyAquaConfigurationCommandOutput | ModifyAuthenticationProfileCommandOutput | ModifyClusterCommandOutput | ModifyClusterDbRevisionCommandOutput | ModifyClusterIamRolesCommandOutput | ModifyClusterMaintenanceCommandOutput | ModifyClusterParameterGroupCommandOutput | ModifyClusterSnapshotCommandOutput | ModifyClusterSnapshotScheduleCommandOutput | ModifyClusterSubnetGroupCommandOutput | ModifyCustomDomainAssociationCommandOutput | ModifyEndpointAccessCommandOutput | ModifyEventSubscriptionCommandOutput | ModifyScheduledActionCommandOutput | ModifySnapshotCopyRetentionPeriodCommandOutput | ModifySnapshotScheduleCommandOutput | ModifyUsageLimitCommandOutput | PauseClusterCommandOutput | PurchaseReservedNodeOfferingCommandOutput | PutResourcePolicyCommandOutput | RebootClusterCommandOutput | RejectDataShareCommandOutput | ResetClusterParameterGroupCommandOutput | ResizeClusterCommandOutput | RestoreFromClusterSnapshotCommandOutput | RestoreTableFromClusterSnapshotCommandOutput | ResumeClusterCommandOutput | RevokeClusterSecurityGroupIngressCommandOutput | RevokeEndpointAccessCommandOutput | RevokeSnapshotAccessCommandOutput | RotateEncryptionKeyCommandOutput | UpdatePartnerStatusCommandOutput;
|
|
145
149
|
/**
|
|
146
150
|
* @public
|
|
147
151
|
*/
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { DeleteResourcePolicyMessage } from "../models/models_0";
|
|
5
|
+
import { RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteResourcePolicyCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteResourcePolicyCommandInput extends DeleteResourcePolicyMessage {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteResourcePolicyCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteResourcePolicyCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Deletes the resource policy for a specified resource.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { RedshiftClient, DeleteResourcePolicyCommand } from "@aws-sdk/client-redshift"; // ES Modules import
|
|
31
|
+
* // const { RedshiftClient, DeleteResourcePolicyCommand } = require("@aws-sdk/client-redshift"); // CommonJS import
|
|
32
|
+
* const client = new RedshiftClient(config);
|
|
33
|
+
* const input = { // DeleteResourcePolicyMessage
|
|
34
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
36
|
+
* const command = new DeleteResourcePolicyCommand(input);
|
|
37
|
+
* const response = await client.send(command);
|
|
38
|
+
* // {};
|
|
39
|
+
*
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* @param DeleteResourcePolicyCommandInput - {@link DeleteResourcePolicyCommandInput}
|
|
43
|
+
* @returns {@link DeleteResourcePolicyCommandOutput}
|
|
44
|
+
* @see {@link DeleteResourcePolicyCommandInput} for command's `input` shape.
|
|
45
|
+
* @see {@link DeleteResourcePolicyCommandOutput} for command's `response` shape.
|
|
46
|
+
* @see {@link RedshiftClientResolvedConfig | config} for RedshiftClient's `config` shape.
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link ResourceNotFoundFault} (client fault)
|
|
49
|
+
* <p>The resource could not be found.</p>
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link UnsupportedOperationFault} (client fault)
|
|
52
|
+
* <p>The requested operation isn't supported.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link RedshiftServiceException}
|
|
55
|
+
* <p>Base exception class for all service exceptions from Redshift service.</p>
|
|
56
|
+
*
|
|
57
|
+
*/
|
|
58
|
+
export declare class DeleteResourcePolicyCommand extends $Command<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput, RedshiftClientResolvedConfig> {
|
|
59
|
+
readonly input: DeleteResourcePolicyCommandInput;
|
|
60
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
61
|
+
/**
|
|
62
|
+
* @public
|
|
63
|
+
*/
|
|
64
|
+
constructor(input: DeleteResourcePolicyCommandInput);
|
|
65
|
+
/**
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
68
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput>;
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
72
|
+
private serialize;
|
|
73
|
+
/**
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
76
|
+
private deserialize;
|
|
77
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { DescribeInboundIntegrationsMessage, InboundIntegrationsMessage } from "../models/models_1";
|
|
5
|
+
import { RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DescribeInboundIntegrationsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeInboundIntegrationsCommandInput extends DescribeInboundIntegrationsMessage {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeInboundIntegrationsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeInboundIntegrationsCommandOutput extends InboundIntegrationsMessage, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Returns a list of inbound integrations.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { RedshiftClient, DescribeInboundIntegrationsCommand } from "@aws-sdk/client-redshift"; // ES Modules import
|
|
31
|
+
* // const { RedshiftClient, DescribeInboundIntegrationsCommand } = require("@aws-sdk/client-redshift"); // CommonJS import
|
|
32
|
+
* const client = new RedshiftClient(config);
|
|
33
|
+
* const input = { // DescribeInboundIntegrationsMessage
|
|
34
|
+
* IntegrationArn: "STRING_VALUE",
|
|
35
|
+
* TargetArn: "STRING_VALUE",
|
|
36
|
+
* MaxRecords: Number("int"),
|
|
37
|
+
* Marker: "STRING_VALUE",
|
|
38
|
+
* };
|
|
39
|
+
* const command = new DescribeInboundIntegrationsCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // InboundIntegrationsMessage
|
|
42
|
+
* // Marker: "STRING_VALUE",
|
|
43
|
+
* // InboundIntegrations: [ // InboundIntegrationList
|
|
44
|
+
* // { // InboundIntegration
|
|
45
|
+
* // IntegrationArn: "STRING_VALUE",
|
|
46
|
+
* // SourceArn: "STRING_VALUE",
|
|
47
|
+
* // TargetArn: "STRING_VALUE",
|
|
48
|
+
* // Status: "creating" || "active" || "modifying" || "failed" || "deleting" || "syncing" || "needs_attention",
|
|
49
|
+
* // Errors: [ // IntegrationErrorList
|
|
50
|
+
* // { // IntegrationError
|
|
51
|
+
* // ErrorCode: "STRING_VALUE", // required
|
|
52
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
53
|
+
* // },
|
|
54
|
+
* // ],
|
|
55
|
+
* // CreateTime: new Date("TIMESTAMP"),
|
|
56
|
+
* // },
|
|
57
|
+
* // ],
|
|
58
|
+
* // };
|
|
59
|
+
*
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* @param DescribeInboundIntegrationsCommandInput - {@link DescribeInboundIntegrationsCommandInput}
|
|
63
|
+
* @returns {@link DescribeInboundIntegrationsCommandOutput}
|
|
64
|
+
* @see {@link DescribeInboundIntegrationsCommandInput} for command's `input` shape.
|
|
65
|
+
* @see {@link DescribeInboundIntegrationsCommandOutput} for command's `response` shape.
|
|
66
|
+
* @see {@link RedshiftClientResolvedConfig | config} for RedshiftClient's `config` shape.
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link IntegrationNotFoundFault} (client fault)
|
|
69
|
+
* <p>The integration can't be found.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link InvalidNamespaceFault} (client fault)
|
|
72
|
+
* <p>The namespace isn't valid because the namespace doesn't exist. Provide a valid namespace.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link UnsupportedOperationFault} (client fault)
|
|
75
|
+
* <p>The requested operation isn't supported.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link RedshiftServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from Redshift service.</p>
|
|
79
|
+
*
|
|
80
|
+
*/
|
|
81
|
+
export declare class DescribeInboundIntegrationsCommand extends $Command<DescribeInboundIntegrationsCommandInput, DescribeInboundIntegrationsCommandOutput, RedshiftClientResolvedConfig> {
|
|
82
|
+
readonly input: DescribeInboundIntegrationsCommandInput;
|
|
83
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
84
|
+
/**
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
constructor(input: DescribeInboundIntegrationsCommandInput);
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeInboundIntegrationsCommandInput, DescribeInboundIntegrationsCommandOutput>;
|
|
92
|
+
/**
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
95
|
+
private serialize;
|
|
96
|
+
/**
|
|
97
|
+
* @internal
|
|
98
|
+
*/
|
|
99
|
+
private deserialize;
|
|
100
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { GetResourcePolicyMessage, GetResourcePolicyResult } from "../models/models_1";
|
|
5
|
+
import { RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetResourcePolicyCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetResourcePolicyCommandInput extends GetResourcePolicyMessage {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetResourcePolicyCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetResourcePolicyCommandOutput extends GetResourcePolicyResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Get the resource policy for a specified resource.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { RedshiftClient, GetResourcePolicyCommand } from "@aws-sdk/client-redshift"; // ES Modules import
|
|
31
|
+
* // const { RedshiftClient, GetResourcePolicyCommand } = require("@aws-sdk/client-redshift"); // CommonJS import
|
|
32
|
+
* const client = new RedshiftClient(config);
|
|
33
|
+
* const input = { // GetResourcePolicyMessage
|
|
34
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
36
|
+
* const command = new GetResourcePolicyCommand(input);
|
|
37
|
+
* const response = await client.send(command);
|
|
38
|
+
* // { // GetResourcePolicyResult
|
|
39
|
+
* // ResourcePolicy: { // ResourcePolicy
|
|
40
|
+
* // ResourceArn: "STRING_VALUE",
|
|
41
|
+
* // Policy: "STRING_VALUE",
|
|
42
|
+
* // },
|
|
43
|
+
* // };
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param GetResourcePolicyCommandInput - {@link GetResourcePolicyCommandInput}
|
|
48
|
+
* @returns {@link GetResourcePolicyCommandOutput}
|
|
49
|
+
* @see {@link GetResourcePolicyCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link GetResourcePolicyCommandOutput} for command's `response` shape.
|
|
51
|
+
* @see {@link RedshiftClientResolvedConfig | config} for RedshiftClient's `config` shape.
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link InvalidPolicyFault} (client fault)
|
|
54
|
+
* <p>The resource policy isn't valid.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link ResourceNotFoundFault} (client fault)
|
|
57
|
+
* <p>The resource could not be found.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link UnsupportedOperationFault} (client fault)
|
|
60
|
+
* <p>The requested operation isn't supported.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link RedshiftServiceException}
|
|
63
|
+
* <p>Base exception class for all service exceptions from Redshift service.</p>
|
|
64
|
+
*
|
|
65
|
+
*/
|
|
66
|
+
export declare class GetResourcePolicyCommand extends $Command<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput, RedshiftClientResolvedConfig> {
|
|
67
|
+
readonly input: GetResourcePolicyCommandInput;
|
|
68
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
69
|
+
/**
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
constructor(input: GetResourcePolicyCommandInput);
|
|
73
|
+
/**
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
76
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput>;
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
80
|
+
private serialize;
|
|
81
|
+
/**
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
84
|
+
private deserialize;
|
|
85
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { PutResourcePolicyMessage, PutResourcePolicyResult } from "../models/models_1";
|
|
5
|
+
import { RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link PutResourcePolicyCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PutResourcePolicyCommandInput extends PutResourcePolicyMessage {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PutResourcePolicyCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PutResourcePolicyCommandOutput extends PutResourcePolicyResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Updates the resource policy for a specified resource.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { RedshiftClient, PutResourcePolicyCommand } from "@aws-sdk/client-redshift"; // ES Modules import
|
|
31
|
+
* // const { RedshiftClient, PutResourcePolicyCommand } = require("@aws-sdk/client-redshift"); // CommonJS import
|
|
32
|
+
* const client = new RedshiftClient(config);
|
|
33
|
+
* const input = { // PutResourcePolicyMessage
|
|
34
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
35
|
+
* Policy: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
37
|
+
* const command = new PutResourcePolicyCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // PutResourcePolicyResult
|
|
40
|
+
* // ResourcePolicy: { // ResourcePolicy
|
|
41
|
+
* // ResourceArn: "STRING_VALUE",
|
|
42
|
+
* // Policy: "STRING_VALUE",
|
|
43
|
+
* // },
|
|
44
|
+
* // };
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param PutResourcePolicyCommandInput - {@link PutResourcePolicyCommandInput}
|
|
49
|
+
* @returns {@link PutResourcePolicyCommandOutput}
|
|
50
|
+
* @see {@link PutResourcePolicyCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link PutResourcePolicyCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link RedshiftClientResolvedConfig | config} for RedshiftClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link ConflictPolicyUpdateFault} (client fault)
|
|
55
|
+
* <p>There is a conflict while updating the resource policy.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link InvalidPolicyFault} (client fault)
|
|
58
|
+
* <p>The resource policy isn't valid.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ResourceNotFoundFault} (client fault)
|
|
61
|
+
* <p>The resource could not be found.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link UnsupportedOperationFault} (client fault)
|
|
64
|
+
* <p>The requested operation isn't supported.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link RedshiftServiceException}
|
|
67
|
+
* <p>Base exception class for all service exceptions from Redshift service.</p>
|
|
68
|
+
*
|
|
69
|
+
*/
|
|
70
|
+
export declare class PutResourcePolicyCommand extends $Command<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput, RedshiftClientResolvedConfig> {
|
|
71
|
+
readonly input: PutResourcePolicyCommandInput;
|
|
72
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
73
|
+
/**
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
constructor(input: PutResourcePolicyCommandInput);
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
80
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput>;
|
|
81
|
+
/**
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
84
|
+
private serialize;
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
88
|
+
private deserialize;
|
|
89
|
+
}
|
|
@@ -38,6 +38,7 @@ export * from "./DeleteEventSubscriptionCommand";
|
|
|
38
38
|
export * from "./DeleteHsmClientCertificateCommand";
|
|
39
39
|
export * from "./DeleteHsmConfigurationCommand";
|
|
40
40
|
export * from "./DeletePartnerCommand";
|
|
41
|
+
export * from "./DeleteResourcePolicyCommand";
|
|
41
42
|
export * from "./DeleteScheduledActionCommand";
|
|
42
43
|
export * from "./DeleteSnapshotCopyGrantCommand";
|
|
43
44
|
export * from "./DeleteSnapshotScheduleCommand";
|
|
@@ -66,6 +67,7 @@ export * from "./DescribeEventSubscriptionsCommand";
|
|
|
66
67
|
export * from "./DescribeEventsCommand";
|
|
67
68
|
export * from "./DescribeHsmClientCertificatesCommand";
|
|
68
69
|
export * from "./DescribeHsmConfigurationsCommand";
|
|
70
|
+
export * from "./DescribeInboundIntegrationsCommand";
|
|
69
71
|
export * from "./DescribeLoggingStatusCommand";
|
|
70
72
|
export * from "./DescribeNodeConfigurationOptionsCommand";
|
|
71
73
|
export * from "./DescribeOrderableClusterOptionsCommand";
|
|
@@ -90,6 +92,7 @@ export * from "./GetClusterCredentialsCommand";
|
|
|
90
92
|
export * from "./GetClusterCredentialsWithIAMCommand";
|
|
91
93
|
export * from "./GetReservedNodeExchangeConfigurationOptionsCommand";
|
|
92
94
|
export * from "./GetReservedNodeExchangeOfferingsCommand";
|
|
95
|
+
export * from "./GetResourcePolicyCommand";
|
|
93
96
|
export * from "./ModifyAquaConfigurationCommand";
|
|
94
97
|
export * from "./ModifyAuthenticationProfileCommand";
|
|
95
98
|
export * from "./ModifyClusterCommand";
|
|
@@ -109,6 +112,7 @@ export * from "./ModifySnapshotScheduleCommand";
|
|
|
109
112
|
export * from "./ModifyUsageLimitCommand";
|
|
110
113
|
export * from "./PauseClusterCommand";
|
|
111
114
|
export * from "./PurchaseReservedNodeOfferingCommand";
|
|
115
|
+
export * from "./PutResourcePolicyCommand";
|
|
112
116
|
export * from "./RebootClusterCommand";
|
|
113
117
|
export * from "./RejectDataShareCommand";
|
|
114
118
|
export * from "./ResetClusterParameterGroupCommand";
|
|
@@ -3363,6 +3363,18 @@ export interface ClusterVersionsMessage {
|
|
|
3363
3363
|
*/
|
|
3364
3364
|
ClusterVersions?: ClusterVersion[];
|
|
3365
3365
|
}
|
|
3366
|
+
/**
|
|
3367
|
+
* @public
|
|
3368
|
+
* <p>There is a conflict while updating the resource policy.</p>
|
|
3369
|
+
*/
|
|
3370
|
+
export declare class ConflictPolicyUpdateFault extends __BaseException {
|
|
3371
|
+
readonly name: "ConflictPolicyUpdateFault";
|
|
3372
|
+
readonly $fault: "client";
|
|
3373
|
+
/**
|
|
3374
|
+
* @internal
|
|
3375
|
+
*/
|
|
3376
|
+
constructor(opts: __ExceptionOptionType<ConflictPolicyUpdateFault, __BaseException>);
|
|
3377
|
+
}
|
|
3366
3378
|
/**
|
|
3367
3379
|
* @public
|
|
3368
3380
|
* <p></p>
|
|
@@ -6097,6 +6109,16 @@ export declare class InvalidHsmConfigurationStateFault extends __BaseException {
|
|
|
6097
6109
|
*/
|
|
6098
6110
|
constructor(opts: __ExceptionOptionType<InvalidHsmConfigurationStateFault, __BaseException>);
|
|
6099
6111
|
}
|
|
6112
|
+
/**
|
|
6113
|
+
* @public
|
|
6114
|
+
*/
|
|
6115
|
+
export interface DeleteResourcePolicyMessage {
|
|
6116
|
+
/**
|
|
6117
|
+
* @public
|
|
6118
|
+
* <p>The Amazon Resource Name (ARN) of the resource of which its resource policy is deleted.</p>
|
|
6119
|
+
*/
|
|
6120
|
+
ResourceArn: string | undefined;
|
|
6121
|
+
}
|
|
6100
6122
|
/**
|
|
6101
6123
|
* @public
|
|
6102
6124
|
*/
|
|
@@ -7229,50 +7251,6 @@ export interface DescribeEventCategoriesMessage {
|
|
|
7229
7251
|
*/
|
|
7230
7252
|
SourceType?: string;
|
|
7231
7253
|
}
|
|
7232
|
-
/**
|
|
7233
|
-
* @public
|
|
7234
|
-
* <p>Describes event information.</p>
|
|
7235
|
-
*/
|
|
7236
|
-
export interface EventInfoMap {
|
|
7237
|
-
/**
|
|
7238
|
-
* @public
|
|
7239
|
-
* <p>The identifier of an Amazon Redshift event.</p>
|
|
7240
|
-
*/
|
|
7241
|
-
EventId?: string;
|
|
7242
|
-
/**
|
|
7243
|
-
* @public
|
|
7244
|
-
* <p>The category of an Amazon Redshift event.</p>
|
|
7245
|
-
*/
|
|
7246
|
-
EventCategories?: string[];
|
|
7247
|
-
/**
|
|
7248
|
-
* @public
|
|
7249
|
-
* <p>The description of an Amazon Redshift event.</p>
|
|
7250
|
-
*/
|
|
7251
|
-
EventDescription?: string;
|
|
7252
|
-
/**
|
|
7253
|
-
* @public
|
|
7254
|
-
* <p>The severity of the event.</p>
|
|
7255
|
-
* <p>Values: ERROR, INFO</p>
|
|
7256
|
-
*/
|
|
7257
|
-
Severity?: string;
|
|
7258
|
-
}
|
|
7259
|
-
/**
|
|
7260
|
-
* @public
|
|
7261
|
-
* <p>Describes event categories.</p>
|
|
7262
|
-
*/
|
|
7263
|
-
export interface EventCategoriesMap {
|
|
7264
|
-
/**
|
|
7265
|
-
* @public
|
|
7266
|
-
* <p>The source type, such as cluster or cluster-snapshot, that the returned categories
|
|
7267
|
-
* belong to.</p>
|
|
7268
|
-
*/
|
|
7269
|
-
SourceType?: string;
|
|
7270
|
-
/**
|
|
7271
|
-
* @public
|
|
7272
|
-
* <p>The events in the event category.</p>
|
|
7273
|
-
*/
|
|
7274
|
-
Events?: EventInfoMap[];
|
|
7275
|
-
}
|
|
7276
7254
|
/**
|
|
7277
7255
|
* @internal
|
|
7278
7256
|
*/
|