Skip to content

RedshiftClient#

Index > Redshift > RedshiftClient

Auto-generated documentation for Redshift type annotations stubs module mypy-boto3-redshift.

RedshiftClient#

Type annotations and code completion for boto3.client("redshift"). boto3 documentation

# RedshiftClient usage example

from boto3.session import Session
from mypy_boto3_redshift.client import RedshiftClient

def get_redshift_client() -> RedshiftClient:
    return Session().client("redshift")

Exceptions#

boto3 client exceptions are generated in runtime. This class provides code completion for boto3.client("redshift").exceptions structure.

# Exceptions.exceptions usage example

client = boto3.client("redshift")

try:
    do_something(client)
except (
    client.exceptions.AccessToClusterDeniedFault,
    client.exceptions.AccessToSnapshotDeniedFault,
    client.exceptions.AuthenticationProfileAlreadyExistsFault,
    client.exceptions.AuthenticationProfileNotFoundFault,
    client.exceptions.AuthenticationProfileQuotaExceededFault,
    client.exceptions.AuthorizationAlreadyExistsFault,
    client.exceptions.AuthorizationNotFoundFault,
    client.exceptions.AuthorizationQuotaExceededFault,
    client.exceptions.BatchDeleteRequestSizeExceededFault,
    client.exceptions.BatchModifyClusterSnapshotsLimitExceededFault,
    client.exceptions.BucketNotFoundFault,
    client.exceptions.ClientError,
    client.exceptions.ClusterAlreadyExistsFault,
    client.exceptions.ClusterNotFoundFault,
    client.exceptions.ClusterOnLatestRevisionFault,
    client.exceptions.ClusterParameterGroupAlreadyExistsFault,
    client.exceptions.ClusterParameterGroupNotFoundFault,
    client.exceptions.ClusterParameterGroupQuotaExceededFault,
    client.exceptions.ClusterQuotaExceededFault,
    client.exceptions.ClusterSecurityGroupAlreadyExistsFault,
    client.exceptions.ClusterSecurityGroupNotFoundFault,
    client.exceptions.ClusterSecurityGroupQuotaExceededFault,
    client.exceptions.ClusterSnapshotAlreadyExistsFault,
    client.exceptions.ClusterSnapshotNotFoundFault,
    client.exceptions.ClusterSnapshotQuotaExceededFault,
    client.exceptions.ClusterSubnetGroupAlreadyExistsFault,
    client.exceptions.ClusterSubnetGroupNotFoundFault,
    client.exceptions.ClusterSubnetGroupQuotaExceededFault,
    client.exceptions.ClusterSubnetQuotaExceededFault,
    client.exceptions.ConflictPolicyUpdateFault,
    client.exceptions.CopyToRegionDisabledFault,
    client.exceptions.CustomCnameAssociationFault,
    client.exceptions.CustomDomainAssociationNotFoundFault,
    client.exceptions.DependentServiceAccessDeniedFault,
    client.exceptions.DependentServiceRequestThrottlingFault,
    client.exceptions.DependentServiceUnavailableFault,
    client.exceptions.EndpointAlreadyExistsFault,
    client.exceptions.EndpointAuthorizationAlreadyExistsFault,
    client.exceptions.EndpointAuthorizationNotFoundFault,
    client.exceptions.EndpointAuthorizationsPerClusterLimitExceededFault,
    client.exceptions.EndpointNotFoundFault,
    client.exceptions.EndpointsPerAuthorizationLimitExceededFault,
    client.exceptions.EndpointsPerClusterLimitExceededFault,
    client.exceptions.EventSubscriptionQuotaExceededFault,
    client.exceptions.HsmClientCertificateAlreadyExistsFault,
    client.exceptions.HsmClientCertificateNotFoundFault,
    client.exceptions.HsmClientCertificateQuotaExceededFault,
    client.exceptions.HsmConfigurationAlreadyExistsFault,
    client.exceptions.HsmConfigurationNotFoundFault,
    client.exceptions.HsmConfigurationQuotaExceededFault,
    client.exceptions.InProgressTableRestoreQuotaExceededFault,
    client.exceptions.IncompatibleOrderableOptions,
    client.exceptions.InsufficientClusterCapacityFault,
    client.exceptions.InsufficientS3BucketPolicyFault,
    client.exceptions.IntegrationNotFoundFault,
    client.exceptions.InvalidAuthenticationProfileRequestFault,
    client.exceptions.InvalidAuthorizationStateFault,
    client.exceptions.InvalidClusterParameterGroupStateFault,
    client.exceptions.InvalidClusterSecurityGroupStateFault,
    client.exceptions.InvalidClusterSnapshotScheduleStateFault,
    client.exceptions.InvalidClusterSnapshotStateFault,
    client.exceptions.InvalidClusterStateFault,
    client.exceptions.InvalidClusterSubnetGroupStateFault,
    client.exceptions.InvalidClusterSubnetStateFault,
    client.exceptions.InvalidClusterTrackFault,
    client.exceptions.InvalidDataShareFault,
    client.exceptions.InvalidElasticIpFault,
    client.exceptions.InvalidEndpointStateFault,
    client.exceptions.InvalidHsmClientCertificateStateFault,
    client.exceptions.InvalidHsmConfigurationStateFault,
    client.exceptions.InvalidNamespaceFault,
    client.exceptions.InvalidPolicyFault,
    client.exceptions.InvalidReservedNodeStateFault,
    client.exceptions.InvalidRestoreFault,
    client.exceptions.InvalidRetentionPeriodFault,
    client.exceptions.InvalidS3BucketNameFault,
    client.exceptions.InvalidS3KeyPrefixFault,
    client.exceptions.InvalidScheduleFault,
    client.exceptions.InvalidScheduledActionFault,
    client.exceptions.InvalidSnapshotCopyGrantStateFault,
    client.exceptions.InvalidSubnet,
    client.exceptions.InvalidSubscriptionStateFault,
    client.exceptions.InvalidTableRestoreArgumentFault,
    client.exceptions.InvalidTagFault,
    client.exceptions.InvalidUsageLimitFault,
    client.exceptions.InvalidVPCNetworkStateFault,
    client.exceptions.Ipv6CidrBlockNotFoundFault,
    client.exceptions.LimitExceededFault,
    client.exceptions.NumberOfNodesPerClusterLimitExceededFault,
    client.exceptions.NumberOfNodesQuotaExceededFault,
    client.exceptions.PartnerNotFoundFault,
    client.exceptions.RedshiftIdcApplicationAlreadyExistsFault,
    client.exceptions.RedshiftIdcApplicationNotExistsFault,
    client.exceptions.RedshiftIdcApplicationQuotaExceededFault,
    client.exceptions.ReservedNodeAlreadyExistsFault,
    client.exceptions.ReservedNodeAlreadyMigratedFault,
    client.exceptions.ReservedNodeExchangeNotFoundFault,
    client.exceptions.ReservedNodeNotFoundFault,
    client.exceptions.ReservedNodeOfferingNotFoundFault,
    client.exceptions.ReservedNodeQuotaExceededFault,
    client.exceptions.ResizeNotFoundFault,
    client.exceptions.ResourceNotFoundFault,
    client.exceptions.SNSInvalidTopicFault,
    client.exceptions.SNSNoAuthorizationFault,
    client.exceptions.SNSTopicArnNotFoundFault,
    client.exceptions.ScheduleDefinitionTypeUnsupportedFault,
    client.exceptions.ScheduledActionAlreadyExistsFault,
    client.exceptions.ScheduledActionNotFoundFault,
    client.exceptions.ScheduledActionQuotaExceededFault,
    client.exceptions.ScheduledActionTypeUnsupportedFault,
    client.exceptions.SnapshotCopyAlreadyDisabledFault,
    client.exceptions.SnapshotCopyAlreadyEnabledFault,
    client.exceptions.SnapshotCopyDisabledFault,
    client.exceptions.SnapshotCopyGrantAlreadyExistsFault,
    client.exceptions.SnapshotCopyGrantNotFoundFault,
    client.exceptions.SnapshotCopyGrantQuotaExceededFault,
    client.exceptions.SnapshotScheduleAlreadyExistsFault,
    client.exceptions.SnapshotScheduleNotFoundFault,
    client.exceptions.SnapshotScheduleQuotaExceededFault,
    client.exceptions.SnapshotScheduleUpdateInProgressFault,
    client.exceptions.SourceNotFoundFault,
    client.exceptions.SubnetAlreadyInUse,
    client.exceptions.SubscriptionAlreadyExistFault,
    client.exceptions.SubscriptionCategoryNotFoundFault,
    client.exceptions.SubscriptionEventIdNotFoundFault,
    client.exceptions.SubscriptionNotFoundFault,
    client.exceptions.SubscriptionSeverityNotFoundFault,
    client.exceptions.TableLimitExceededFault,
    client.exceptions.TableRestoreNotFoundFault,
    client.exceptions.TagLimitExceededFault,
    client.exceptions.UnauthorizedOperation,
    client.exceptions.UnauthorizedPartnerIntegrationFault,
    client.exceptions.UnknownSnapshotCopyRegionFault,
    client.exceptions.UnsupportedOperationFault,
    client.exceptions.UnsupportedOptionFault,
    client.exceptions.UsageLimitAlreadyExistsFault,
    client.exceptions.UsageLimitNotFoundFault,
) as e:
    print(e)
# Exceptions.exceptions type checking example

from mypy_boto3_redshift.client import Exceptions

def handle_error(exc: Exceptions.AccessToClusterDeniedFault) -> None:
    ...

Methods#

accept_reserved_node_exchange#

Exchanges a DC1 Reserved Node for a DC2 Reserved Node with no changes to the configuration (term, payment type, or number of nodes) and no additional costs.

Type annotations and code completion for boto3.client("redshift").accept_reserved_node_exchange method. boto3 documentation

# accept_reserved_node_exchange method definition

def accept_reserved_node_exchange(
    self,
    *,
    ReservedNodeId: str,
    TargetReservedNodeOfferingId: str,
) -> AcceptReservedNodeExchangeOutputMessageTypeDef:  # (1)
    ...
  1. See AcceptReservedNodeExchangeOutputMessageTypeDef
# accept_reserved_node_exchange method usage example with argument unpacking

kwargs: AcceptReservedNodeExchangeInputMessageRequestTypeDef = {  # (1)
    "ReservedNodeId": ...,
    "TargetReservedNodeOfferingId": ...,
}

parent.accept_reserved_node_exchange(**kwargs)
  1. See AcceptReservedNodeExchangeInputMessageRequestTypeDef

add_partner#

Adds a partner integration to a cluster.

Type annotations and code completion for boto3.client("redshift").add_partner method. boto3 documentation

# add_partner method definition

def add_partner(
    self,
    *,
    AccountId: str,
    ClusterIdentifier: str,
    DatabaseName: str,
    PartnerName: str,
) -> PartnerIntegrationOutputMessageTypeDef:  # (1)
    ...
  1. See PartnerIntegrationOutputMessageTypeDef
# add_partner method usage example with argument unpacking

kwargs: PartnerIntegrationInputMessageRequestTypeDef = {  # (1)
    "AccountId": ...,
    "ClusterIdentifier": ...,
    "DatabaseName": ...,
    "PartnerName": ...,
}

parent.add_partner(**kwargs)
  1. See PartnerIntegrationInputMessageRequestTypeDef

associate_data_share_consumer#

From a datashare consumer account, associates a datashare with the account (AssociateEntireAccount) or the specified namespace (ConsumerArn).

Type annotations and code completion for boto3.client("redshift").associate_data_share_consumer method. boto3 documentation

# associate_data_share_consumer method definition

def associate_data_share_consumer(
    self,
    *,
    DataShareArn: str,
    AssociateEntireAccount: bool = ...,
    ConsumerArn: str = ...,
    ConsumerRegion: str = ...,
    AllowWrites: bool = ...,
) -> DataShareResponseTypeDef:  # (1)
    ...
  1. See DataShareResponseTypeDef
# associate_data_share_consumer method usage example with argument unpacking

kwargs: AssociateDataShareConsumerMessageRequestTypeDef = {  # (1)
    "DataShareArn": ...,
}

parent.associate_data_share_consumer(**kwargs)
  1. See AssociateDataShareConsumerMessageRequestTypeDef

authorize_cluster_security_group_ingress#

Adds an inbound (ingress) rule to an Amazon Redshift security group.

Type annotations and code completion for boto3.client("redshift").authorize_cluster_security_group_ingress method. boto3 documentation

# authorize_cluster_security_group_ingress method definition

def authorize_cluster_security_group_ingress(
    self,
    *,
    ClusterSecurityGroupName: str,
    CIDRIP: str = ...,
    EC2SecurityGroupName: str = ...,
    EC2SecurityGroupOwnerId: str = ...,
) -> AuthorizeClusterSecurityGroupIngressResultTypeDef:  # (1)
    ...
  1. See AuthorizeClusterSecurityGroupIngressResultTypeDef
# authorize_cluster_security_group_ingress method usage example with argument unpacking

kwargs: AuthorizeClusterSecurityGroupIngressMessageRequestTypeDef = {  # (1)
    "ClusterSecurityGroupName": ...,
}

parent.authorize_cluster_security_group_ingress(**kwargs)
  1. See AuthorizeClusterSecurityGroupIngressMessageRequestTypeDef

authorize_data_share#

From a data producer account, authorizes the sharing of a datashare with one or more consumer accounts or managing entities.

Type annotations and code completion for boto3.client("redshift").authorize_data_share method. boto3 documentation

# authorize_data_share method definition

def authorize_data_share(
    self,
    *,
    DataShareArn: str,
    ConsumerIdentifier: str,
    AllowWrites: bool = ...,
) -> DataShareResponseTypeDef:  # (1)
    ...
  1. See DataShareResponseTypeDef
# authorize_data_share method usage example with argument unpacking

kwargs: AuthorizeDataShareMessageRequestTypeDef = {  # (1)
    "DataShareArn": ...,
    "ConsumerIdentifier": ...,
}

parent.authorize_data_share(**kwargs)
  1. See AuthorizeDataShareMessageRequestTypeDef

authorize_endpoint_access#

Grants access to a cluster.

Type annotations and code completion for boto3.client("redshift").authorize_endpoint_access method. boto3 documentation

# authorize_endpoint_access method definition

def authorize_endpoint_access(
    self,
    *,
    Account: str,
    ClusterIdentifier: str = ...,
    VpcIds: Sequence[str] = ...,
) -> EndpointAuthorizationResponseTypeDef:  # (1)
    ...
  1. See EndpointAuthorizationResponseTypeDef
# authorize_endpoint_access method usage example with argument unpacking

kwargs: AuthorizeEndpointAccessMessageRequestTypeDef = {  # (1)
    "Account": ...,
}

parent.authorize_endpoint_access(**kwargs)
  1. See AuthorizeEndpointAccessMessageRequestTypeDef

authorize_snapshot_access#

Authorizes the specified Amazon Web Services account to restore the specified snapshot.

Type annotations and code completion for boto3.client("redshift").authorize_snapshot_access method. boto3 documentation

# authorize_snapshot_access method definition

def authorize_snapshot_access(
    self,
    *,
    AccountWithRestoreAccess: str,
    SnapshotIdentifier: str = ...,
    SnapshotArn: str = ...,
    SnapshotClusterIdentifier: str = ...,
) -> AuthorizeSnapshotAccessResultTypeDef:  # (1)
    ...
  1. See AuthorizeSnapshotAccessResultTypeDef
# authorize_snapshot_access method usage example with argument unpacking

kwargs: AuthorizeSnapshotAccessMessageRequestTypeDef = {  # (1)
    "AccountWithRestoreAccess": ...,
}

parent.authorize_snapshot_access(**kwargs)
  1. See AuthorizeSnapshotAccessMessageRequestTypeDef

batch_delete_cluster_snapshots#

Deletes a set of cluster snapshots.

Type annotations and code completion for boto3.client("redshift").batch_delete_cluster_snapshots method. boto3 documentation

# batch_delete_cluster_snapshots method definition

def batch_delete_cluster_snapshots(
    self,
    *,
    Identifiers: Sequence[DeleteClusterSnapshotMessageTypeDef],  # (1)
) -> BatchDeleteClusterSnapshotsResultTypeDef:  # (2)
    ...
  1. See DeleteClusterSnapshotMessageTypeDef
  2. See BatchDeleteClusterSnapshotsResultTypeDef
# batch_delete_cluster_snapshots method usage example with argument unpacking

kwargs: BatchDeleteClusterSnapshotsRequestRequestTypeDef = {  # (1)
    "Identifiers": ...,
}

parent.batch_delete_cluster_snapshots(**kwargs)
  1. See BatchDeleteClusterSnapshotsRequestRequestTypeDef

batch_modify_cluster_snapshots#

Modifies the settings for a set of cluster snapshots.

Type annotations and code completion for boto3.client("redshift").batch_modify_cluster_snapshots method. boto3 documentation

# batch_modify_cluster_snapshots method definition

def batch_modify_cluster_snapshots(
    self,
    *,
    SnapshotIdentifierList: Sequence[str],
    ManualSnapshotRetentionPeriod: int = ...,
    Force: bool = ...,
) -> BatchModifyClusterSnapshotsOutputMessageTypeDef:  # (1)
    ...
  1. See BatchModifyClusterSnapshotsOutputMessageTypeDef
# batch_modify_cluster_snapshots method usage example with argument unpacking

kwargs: BatchModifyClusterSnapshotsMessageRequestTypeDef = {  # (1)
    "SnapshotIdentifierList": ...,
}

parent.batch_modify_cluster_snapshots(**kwargs)
  1. See BatchModifyClusterSnapshotsMessageRequestTypeDef

can_paginate#

Check if an operation can be paginated.

Type annotations and code completion for boto3.client("redshift").can_paginate method. boto3 documentation

# can_paginate method definition

def can_paginate(
    self,
    operation_name: str,
) -> bool:
    ...

cancel_resize#

Cancels a resize operation for a cluster.

Type annotations and code completion for boto3.client("redshift").cancel_resize method. boto3 documentation

# cancel_resize method definition

def cancel_resize(
    self,
    *,
    ClusterIdentifier: str,
) -> ResizeProgressMessageTypeDef:  # (1)
    ...
  1. See ResizeProgressMessageTypeDef
# cancel_resize method usage example with argument unpacking

kwargs: CancelResizeMessageRequestTypeDef = {  # (1)
    "ClusterIdentifier": ...,
}

parent.cancel_resize(**kwargs)
  1. See CancelResizeMessageRequestTypeDef

close#

Closes underlying endpoint connections.

Type annotations and code completion for boto3.client("redshift").close method. boto3 documentation

# close method definition

def close(
    self,
) -> None:
    ...

copy_cluster_snapshot#

Copies the specified automated cluster snapshot to a new manual cluster snapshot.

Type annotations and code completion for boto3.client("redshift").copy_cluster_snapshot method. boto3 documentation

# copy_cluster_snapshot method definition

def copy_cluster_snapshot(
    self,
    *,
    SourceSnapshotIdentifier: str,
    TargetSnapshotIdentifier: str,
    SourceSnapshotClusterIdentifier: str = ...,
    ManualSnapshotRetentionPeriod: int = ...,
) -> CopyClusterSnapshotResultTypeDef:  # (1)
    ...
  1. See CopyClusterSnapshotResultTypeDef
# copy_cluster_snapshot method usage example with argument unpacking

kwargs: CopyClusterSnapshotMessageRequestTypeDef = {  # (1)
    "SourceSnapshotIdentifier": ...,
    "TargetSnapshotIdentifier": ...,
}

parent.copy_cluster_snapshot(**kwargs)
  1. See CopyClusterSnapshotMessageRequestTypeDef

create_authentication_profile#

Creates an authentication profile with the specified parameters.

Type annotations and code completion for boto3.client("redshift").create_authentication_profile method. boto3 documentation

# create_authentication_profile method definition

def create_authentication_profile(
    self,
    *,
    AuthenticationProfileName: str,
    AuthenticationProfileContent: str,
) -> CreateAuthenticationProfileResultTypeDef:  # (1)
    ...
  1. See CreateAuthenticationProfileResultTypeDef
# create_authentication_profile method usage example with argument unpacking

kwargs: CreateAuthenticationProfileMessageRequestTypeDef = {  # (1)
    "AuthenticationProfileName": ...,
    "AuthenticationProfileContent": ...,
}

parent.create_authentication_profile(**kwargs)
  1. See CreateAuthenticationProfileMessageRequestTypeDef

create_cluster#

Creates a new cluster with the specified parameters.

Type annotations and code completion for boto3.client("redshift").create_cluster method. boto3 documentation

# create_cluster method definition

def create_cluster(
    self,
    *,
    ClusterIdentifier: str,
    NodeType: str,
    MasterUsername: str,
    DBName: str = ...,
    ClusterType: str = ...,
    MasterUserPassword: str = ...,
    ClusterSecurityGroups: Sequence[str] = ...,
    VpcSecurityGroupIds: Sequence[str] = ...,
    ClusterSubnetGroupName: str = ...,
    AvailabilityZone: str = ...,
    PreferredMaintenanceWindow: str = ...,
    ClusterParameterGroupName: str = ...,
    AutomatedSnapshotRetentionPeriod: int = ...,
    ManualSnapshotRetentionPeriod: int = ...,
    Port: int = ...,
    ClusterVersion: str = ...,
    AllowVersionUpgrade: bool = ...,
    NumberOfNodes: int = ...,
    PubliclyAccessible: bool = ...,
    Encrypted: bool = ...,
    HsmClientCertificateIdentifier: str = ...,
    HsmConfigurationIdentifier: str = ...,
    ElasticIp: str = ...,
    Tags: Sequence[TagTypeDef] = ...,  # (1)
    KmsKeyId: str = ...,
    EnhancedVpcRouting: bool = ...,
    AdditionalInfo: str = ...,
    IamRoles: Sequence[str] = ...,
    MaintenanceTrackName: str = ...,
    SnapshotScheduleIdentifier: str = ...,
    AvailabilityZoneRelocation: bool = ...,
    AquaConfigurationStatus: AquaConfigurationStatusType = ...,  # (2)
    DefaultIamRoleArn: str = ...,
    LoadSampleData: str = ...,
    ManageMasterPassword: bool = ...,
    MasterPasswordSecretKmsKeyId: str = ...,
    IpAddressType: str = ...,
    MultiAZ: bool = ...,
    RedshiftIdcApplicationArn: str = ...,
) -> CreateClusterResultTypeDef:  # (3)
    ...
  1. See TagTypeDef
  2. See AquaConfigurationStatusType
  3. See CreateClusterResultTypeDef
# create_cluster method usage example with argument unpacking

kwargs: CreateClusterMessageRequestTypeDef = {  # (1)
    "ClusterIdentifier": ...,
    "NodeType": ...,
    "MasterUsername": ...,
}

parent.create_cluster(**kwargs)
  1. See CreateClusterMessageRequestTypeDef

create_cluster_parameter_group#

Creates an Amazon Redshift parameter group.

Type annotations and code completion for boto3.client("redshift").create_cluster_parameter_group method. boto3 documentation

# create_cluster_parameter_group method definition

def create_cluster_parameter_group(
    self,
    *,
    ParameterGroupName: str,
    ParameterGroupFamily: str,
    Description: str,
    Tags: Sequence[TagTypeDef] = ...,  # (1)
) -> CreateClusterParameterGroupResultTypeDef:  # (2)
    ...
  1. See TagTypeDef
  2. See CreateClusterParameterGroupResultTypeDef
# create_cluster_parameter_group method usage example with argument unpacking

kwargs: CreateClusterParameterGroupMessageRequestTypeDef = {  # (1)
    "ParameterGroupName": ...,
    "ParameterGroupFamily": ...,
    "Description": ...,
}

parent.create_cluster_parameter_group(**kwargs)
  1. See CreateClusterParameterGroupMessageRequestTypeDef

create_cluster_security_group#

Creates a new Amazon Redshift security group.

Type annotations and code completion for boto3.client("redshift").create_cluster_security_group method. boto3 documentation

# create_cluster_security_group method definition

def create_cluster_security_group(
    self,
    *,
    ClusterSecurityGroupName: str,
    Description: str,
    Tags: Sequence[TagTypeDef] = ...,  # (1)
) -> CreateClusterSecurityGroupResultTypeDef:  # (2)
    ...
  1. See TagTypeDef
  2. See CreateClusterSecurityGroupResultTypeDef
# create_cluster_security_group method usage example with argument unpacking

kwargs: CreateClusterSecurityGroupMessageRequestTypeDef = {  # (1)
    "ClusterSecurityGroupName": ...,
    "Description": ...,
}

parent.create_cluster_security_group(**kwargs)
  1. See CreateClusterSecurityGroupMessageRequestTypeDef

create_cluster_snapshot#

Creates a manual snapshot of the specified cluster.

Type annotations and code completion for boto3.client("redshift").create_cluster_snapshot method. boto3 documentation

# create_cluster_snapshot method definition

def create_cluster_snapshot(
    self,
    *,
    SnapshotIdentifier: str,
    ClusterIdentifier: str,
    ManualSnapshotRetentionPeriod: int = ...,
    Tags: Sequence[TagTypeDef] = ...,  # (1)
) -> CreateClusterSnapshotResultTypeDef:  # (2)
    ...
  1. See TagTypeDef
  2. See CreateClusterSnapshotResultTypeDef
# create_cluster_snapshot method usage example with argument unpacking

kwargs: CreateClusterSnapshotMessageRequestTypeDef = {  # (1)
    "SnapshotIdentifier": ...,
    "ClusterIdentifier": ...,
}

parent.create_cluster_snapshot(**kwargs)
  1. See CreateClusterSnapshotMessageRequestTypeDef

create_cluster_subnet_group#

Creates a new Amazon Redshift subnet group.

Type annotations and code completion for boto3.client("redshift").create_cluster_subnet_group method. boto3 documentation

# create_cluster_subnet_group method definition

def create_cluster_subnet_group(
    self,
    *,
    ClusterSubnetGroupName: str,
    Description: str,
    SubnetIds: Sequence[str],
    Tags: Sequence[TagTypeDef] = ...,  # (1)
) -> CreateClusterSubnetGroupResultTypeDef:  # (2)
    ...
  1. See TagTypeDef
  2. See CreateClusterSubnetGroupResultTypeDef
# create_cluster_subnet_group method usage example with argument unpacking

kwargs: CreateClusterSubnetGroupMessageRequestTypeDef = {  # (1)
    "ClusterSubnetGroupName": ...,
    "Description": ...,
    "SubnetIds": ...,
}

parent.create_cluster_subnet_group(**kwargs)
  1. See CreateClusterSubnetGroupMessageRequestTypeDef

create_custom_domain_association#

Used to create a custom domain name for a cluster.

Type annotations and code completion for boto3.client("redshift").create_custom_domain_association method. boto3 documentation

# create_custom_domain_association method definition

def create_custom_domain_association(
    self,
    *,
    CustomDomainName: str,
    CustomDomainCertificateArn: str,
    ClusterIdentifier: str,
) -> CreateCustomDomainAssociationResultTypeDef:  # (1)
    ...
  1. See CreateCustomDomainAssociationResultTypeDef
# create_custom_domain_association method usage example with argument unpacking

kwargs: CreateCustomDomainAssociationMessageRequestTypeDef = {  # (1)
    "CustomDomainName": ...,
    "CustomDomainCertificateArn": ...,
    "ClusterIdentifier": ...,
}

parent.create_custom_domain_association(**kwargs)
  1. See CreateCustomDomainAssociationMessageRequestTypeDef

create_endpoint_access#

Creates a Redshift-managed VPC endpoint.

Type annotations and code completion for boto3.client("redshift").create_endpoint_access method. boto3 documentation

# create_endpoint_access method definition

def create_endpoint_access(
    self,
    *,
    EndpointName: str,
    SubnetGroupName: str,
    ClusterIdentifier: str = ...,
    ResourceOwner: str = ...,
    VpcSecurityGroupIds: Sequence[str] = ...,
) -> EndpointAccessResponseTypeDef:  # (1)
    ...
  1. See EndpointAccessResponseTypeDef
# create_endpoint_access method usage example with argument unpacking

kwargs: CreateEndpointAccessMessageRequestTypeDef = {  # (1)
    "EndpointName": ...,
    "SubnetGroupName": ...,
}

parent.create_endpoint_access(**kwargs)
  1. See CreateEndpointAccessMessageRequestTypeDef

create_event_subscription#

Creates an Amazon Redshift event notification subscription.

Type annotations and code completion for boto3.client("redshift").create_event_subscription method. boto3 documentation

# create_event_subscription method definition

def create_event_subscription(
    self,
    *,
    SubscriptionName: str,
    SnsTopicArn: str,
    SourceType: str = ...,
    SourceIds: Sequence[str] = ...,
    EventCategories: Sequence[str] = ...,
    Severity: str = ...,
    Enabled: bool = ...,
    Tags: Sequence[TagTypeDef] = ...,  # (1)
) -> CreateEventSubscriptionResultTypeDef:  # (2)
    ...
  1. See TagTypeDef
  2. See CreateEventSubscriptionResultTypeDef
# create_event_subscription method usage example with argument unpacking

kwargs: CreateEventSubscriptionMessageRequestTypeDef = {  # (1)
    "SubscriptionName": ...,
    "SnsTopicArn": ...,
}

parent.create_event_subscription(**kwargs)
  1. See CreateEventSubscriptionMessageRequestTypeDef

create_hsm_client_certificate#

Creates an HSM client certificate that an Amazon Redshift cluster will use to connect to the client's HSM in order to store and retrieve the keys used to encrypt the cluster databases.

Type annotations and code completion for boto3.client("redshift").create_hsm_client_certificate method. boto3 documentation

# create_hsm_client_certificate method definition

def create_hsm_client_certificate(
    self,
    *,
    HsmClientCertificateIdentifier: str,
    Tags: Sequence[TagTypeDef] = ...,  # (1)
) -> CreateHsmClientCertificateResultTypeDef:  # (2)
    ...
  1. See TagTypeDef
  2. See CreateHsmClientCertificateResultTypeDef
# create_hsm_client_certificate method usage example with argument unpacking

kwargs: CreateHsmClientCertificateMessageRequestTypeDef = {  # (1)
    "HsmClientCertificateIdentifier": ...,
}

parent.create_hsm_client_certificate(**kwargs)
  1. See CreateHsmClientCertificateMessageRequestTypeDef

create_hsm_configuration#

Creates an HSM configuration that contains the information required by an Amazon Redshift cluster to store and use database encryption keys in a Hardware Security Module (HSM).

Type annotations and code completion for boto3.client("redshift").create_hsm_configuration method. boto3 documentation

# create_hsm_configuration method definition

def create_hsm_configuration(
    self,
    *,
    HsmConfigurationIdentifier: str,
    Description: str,
    HsmIpAddress: str,
    HsmPartitionName: str,
    HsmPartitionPassword: str,
    HsmServerPublicCertificate: str,
    Tags: Sequence[TagTypeDef] = ...,  # (1)
) -> CreateHsmConfigurationResultTypeDef:  # (2)
    ...
  1. See TagTypeDef
  2. See CreateHsmConfigurationResultTypeDef
# create_hsm_configuration method usage example with argument unpacking

kwargs: CreateHsmConfigurationMessageRequestTypeDef = {  # (1)
    "HsmConfigurationIdentifier": ...,
    "Description": ...,
    "HsmIpAddress": ...,
    "HsmPartitionName": ...,
    "HsmPartitionPassword": ...,
    "HsmServerPublicCertificate": ...,
}

parent.create_hsm_configuration(**kwargs)
  1. See CreateHsmConfigurationMessageRequestTypeDef

create_redshift_idc_application#

Creates an Amazon Redshift application for use with IAM Identity Center.

Type annotations and code completion for boto3.client("redshift").create_redshift_idc_application method. boto3 documentation

# create_redshift_idc_application method definition

def create_redshift_idc_application(
    self,
    *,
    IdcInstanceArn: str,
    RedshiftIdcApplicationName: str,
    IdcDisplayName: str,
    IamRoleArn: str,
    IdentityNamespace: str = ...,
    AuthorizedTokenIssuerList: Sequence[AuthorizedTokenIssuerTypeDef] = ...,  # (1)
    ServiceIntegrations: Sequence[ServiceIntegrationsUnionTypeDef] = ...,  # (2)
) -> CreateRedshiftIdcApplicationResultTypeDef:  # (3)
    ...
  1. See AuthorizedTokenIssuerTypeDef
  2. See ServiceIntegrationsUnionTypeDef
  3. See CreateRedshiftIdcApplicationResultTypeDef
# create_redshift_idc_application method usage example with argument unpacking

kwargs: CreateRedshiftIdcApplicationMessageRequestTypeDef = {  # (1)
    "IdcInstanceArn": ...,
    "RedshiftIdcApplicationName": ...,
    "IdcDisplayName": ...,
    "IamRoleArn": ...,
}

parent.create_redshift_idc_application(**kwargs)
  1. See CreateRedshiftIdcApplicationMessageRequestTypeDef

create_scheduled_action#

Creates a scheduled action.

Type annotations and code completion for boto3.client("redshift").create_scheduled_action method. boto3 documentation

# create_scheduled_action method definition

def create_scheduled_action(
    self,
    *,
    ScheduledActionName: str,
    TargetAction: ScheduledActionTypeTypeDef,  # (1)
    Schedule: str,
    IamRole: str,
    ScheduledActionDescription: str = ...,
    StartTime: Union[datetime, str] = ...,
    EndTime: Union[datetime, str] = ...,
    Enable: bool = ...,
) -> ScheduledActionResponseTypeDef:  # (2)
    ...
  1. See ScheduledActionTypeTypeDef
  2. See ScheduledActionResponseTypeDef
# create_scheduled_action method usage example with argument unpacking

kwargs: CreateScheduledActionMessageRequestTypeDef = {  # (1)
    "ScheduledActionName": ...,
    "TargetAction": ...,
    "Schedule": ...,
    "IamRole": ...,
}

parent.create_scheduled_action(**kwargs)
  1. See CreateScheduledActionMessageRequestTypeDef

create_snapshot_copy_grant#

Creates a snapshot copy grant that permits Amazon Redshift to use an encrypted symmetric key from Key Management Service (KMS) to encrypt copied snapshots in a destination region.

Type annotations and code completion for boto3.client("redshift").create_snapshot_copy_grant method. boto3 documentation

# create_snapshot_copy_grant method definition

def create_snapshot_copy_grant(
    self,
    *,
    SnapshotCopyGrantName: str,
    KmsKeyId: str = ...,
    Tags: Sequence[TagTypeDef] = ...,  # (1)
) -> CreateSnapshotCopyGrantResultTypeDef:  # (2)
    ...
  1. See TagTypeDef
  2. See CreateSnapshotCopyGrantResultTypeDef
# create_snapshot_copy_grant method usage example with argument unpacking

kwargs: CreateSnapshotCopyGrantMessageRequestTypeDef = {  # (1)
    "SnapshotCopyGrantName": ...,
}

parent.create_snapshot_copy_grant(**kwargs)
  1. See CreateSnapshotCopyGrantMessageRequestTypeDef

create_snapshot_schedule#

Create a snapshot schedule that can be associated to a cluster and which overrides the default system backup schedule.

Type annotations and code completion for boto3.client("redshift").create_snapshot_schedule method. boto3 documentation

# create_snapshot_schedule method definition

def create_snapshot_schedule(
    self,
    *,
    ScheduleDefinitions: Sequence[str] = ...,
    ScheduleIdentifier: str = ...,
    ScheduleDescription: str = ...,
    Tags: Sequence[TagTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    NextInvocations: int = ...,
) -> SnapshotScheduleResponseTypeDef:  # (2)
    ...
  1. See TagTypeDef
  2. See SnapshotScheduleResponseTypeDef
# create_snapshot_schedule method usage example with argument unpacking

kwargs: CreateSnapshotScheduleMessageRequestTypeDef = {  # (1)
    "ScheduleDefinitions": ...,
}

parent.create_snapshot_schedule(**kwargs)
  1. See CreateSnapshotScheduleMessageRequestTypeDef

create_tags#

Adds tags to a cluster.

Type annotations and code completion for boto3.client("redshift").create_tags method. boto3 documentation

# create_tags method definition

def create_tags(
    self,
    *,
    ResourceName: str,
    Tags: Sequence[TagTypeDef],  # (1)
) -> EmptyResponseMetadataTypeDef:  # (2)
    ...
  1. See TagTypeDef
  2. See EmptyResponseMetadataTypeDef
# create_tags method usage example with argument unpacking

kwargs: CreateTagsMessageRequestTypeDef = {  # (1)
    "ResourceName": ...,
    "Tags": ...,
}

parent.create_tags(**kwargs)
  1. See CreateTagsMessageRequestTypeDef

create_usage_limit#

Creates a usage limit for a specified Amazon Redshift feature on a cluster.

Type annotations and code completion for boto3.client("redshift").create_usage_limit method. boto3 documentation

# create_usage_limit method definition

def create_usage_limit(
    self,
    *,
    ClusterIdentifier: str,
    FeatureType: UsageLimitFeatureTypeType,  # (1)
    LimitType: UsageLimitLimitTypeType,  # (2)
    Amount: int,
    Period: UsageLimitPeriodType = ...,  # (3)
    BreachAction: UsageLimitBreachActionType = ...,  # (4)
    Tags: Sequence[TagTypeDef] = ...,  # (5)
) -> UsageLimitResponseTypeDef:  # (6)
    ...
  1. See UsageLimitFeatureTypeType
  2. See UsageLimitLimitTypeType
  3. See UsageLimitPeriodType
  4. See UsageLimitBreachActionType
  5. See TagTypeDef
  6. See UsageLimitResponseTypeDef
# create_usage_limit method usage example with argument unpacking

kwargs: CreateUsageLimitMessageRequestTypeDef = {  # (1)
    "ClusterIdentifier": ...,
    "FeatureType": ...,
    "LimitType": ...,
    "Amount": ...,
}

parent.create_usage_limit(**kwargs)
  1. See CreateUsageLimitMessageRequestTypeDef

deauthorize_data_share#

From a datashare producer account, removes authorization from the specified datashare.

Type annotations and code completion for boto3.client("redshift").deauthorize_data_share method. boto3 documentation

# deauthorize_data_share method definition

def deauthorize_data_share(
    self,
    *,
    DataShareArn: str,
    ConsumerIdentifier: str,
) -> DataShareResponseTypeDef:  # (1)
    ...
  1. See DataShareResponseTypeDef
# deauthorize_data_share method usage example with argument unpacking

kwargs: DeauthorizeDataShareMessageRequestTypeDef = {  # (1)
    "DataShareArn": ...,
    "ConsumerIdentifier": ...,
}

parent.deauthorize_data_share(**kwargs)
  1. See DeauthorizeDataShareMessageRequestTypeDef

delete_authentication_profile#

Deletes an authentication profile.

Type annotations and code completion for boto3.client("redshift").delete_authentication_profile method. boto3 documentation

# delete_authentication_profile method definition

def delete_authentication_profile(
    self,
    *,
    AuthenticationProfileName: str,
) -> DeleteAuthenticationProfileResultTypeDef:  # (1)
    ...
  1. See DeleteAuthenticationProfileResultTypeDef
# delete_authentication_profile method usage example with argument unpacking

kwargs: DeleteAuthenticationProfileMessageRequestTypeDef = {  # (1)
    "AuthenticationProfileName": ...,
}

parent.delete_authentication_profile(**kwargs)
  1. See DeleteAuthenticationProfileMessageRequestTypeDef

delete_cluster#

Deletes a previously provisioned cluster without its final snapshot being created.

Type annotations and code completion for boto3.client("redshift").delete_cluster method. boto3 documentation

# delete_cluster method definition

def delete_cluster(
    self,
    *,
    ClusterIdentifier: str,
    SkipFinalClusterSnapshot: bool = ...,
    FinalClusterSnapshotIdentifier: str = ...,
    FinalClusterSnapshotRetentionPeriod: int = ...,
) -> DeleteClusterResultTypeDef:  # (1)
    ...
  1. See DeleteClusterResultTypeDef
# delete_cluster method usage example with argument unpacking

kwargs: DeleteClusterMessageRequestTypeDef = {  # (1)
    "ClusterIdentifier": ...,
}

parent.delete_cluster(**kwargs)
  1. See DeleteClusterMessageRequestTypeDef

delete_cluster_parameter_group#

Deletes a specified Amazon Redshift parameter group.

Type annotations and code completion for boto3.client("redshift").delete_cluster_parameter_group method. boto3 documentation

# delete_cluster_parameter_group method definition

def delete_cluster_parameter_group(
    self,
    *,
    ParameterGroupName: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_cluster_parameter_group method usage example with argument unpacking

kwargs: DeleteClusterParameterGroupMessageRequestTypeDef = {  # (1)
    "ParameterGroupName": ...,
}

parent.delete_cluster_parameter_group(**kwargs)
  1. See DeleteClusterParameterGroupMessageRequestTypeDef

delete_cluster_security_group#

Deletes an Amazon Redshift security group.

Type annotations and code completion for boto3.client("redshift").delete_cluster_security_group method. boto3 documentation

# delete_cluster_security_group method definition

def delete_cluster_security_group(
    self,
    *,
    ClusterSecurityGroupName: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_cluster_security_group method usage example with argument unpacking

kwargs: DeleteClusterSecurityGroupMessageRequestTypeDef = {  # (1)
    "ClusterSecurityGroupName": ...,
}

parent.delete_cluster_security_group(**kwargs)
  1. See DeleteClusterSecurityGroupMessageRequestTypeDef

delete_cluster_snapshot#

Deletes the specified manual snapshot.

Type annotations and code completion for boto3.client("redshift").delete_cluster_snapshot method. boto3 documentation

# delete_cluster_snapshot method definition

def delete_cluster_snapshot(
    self,
    *,
    SnapshotIdentifier: str,
    SnapshotClusterIdentifier: str = ...,
) -> DeleteClusterSnapshotResultTypeDef:  # (1)
    ...
  1. See DeleteClusterSnapshotResultTypeDef
# delete_cluster_snapshot method usage example with argument unpacking

kwargs: DeleteClusterSnapshotMessageRequestTypeDef = {  # (1)
    "SnapshotIdentifier": ...,
}

parent.delete_cluster_snapshot(**kwargs)
  1. See DeleteClusterSnapshotMessageRequestTypeDef

delete_cluster_subnet_group#

Deletes the specified cluster subnet group.

Type annotations and code completion for boto3.client("redshift").delete_cluster_subnet_group method. boto3 documentation

# delete_cluster_subnet_group method definition

def delete_cluster_subnet_group(
    self,
    *,
    ClusterSubnetGroupName: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_cluster_subnet_group method usage example with argument unpacking

kwargs: DeleteClusterSubnetGroupMessageRequestTypeDef = {  # (1)
    "ClusterSubnetGroupName": ...,
}

parent.delete_cluster_subnet_group(**kwargs)
  1. See DeleteClusterSubnetGroupMessageRequestTypeDef

delete_custom_domain_association#

Contains information about deleting a custom domain association for a cluster.

Type annotations and code completion for boto3.client("redshift").delete_custom_domain_association method. boto3 documentation

# delete_custom_domain_association method definition

def delete_custom_domain_association(
    self,
    *,
    ClusterIdentifier: str,
    CustomDomainName: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_custom_domain_association method usage example with argument unpacking

kwargs: DeleteCustomDomainAssociationMessageRequestTypeDef = {  # (1)
    "ClusterIdentifier": ...,
    "CustomDomainName": ...,
}

parent.delete_custom_domain_association(**kwargs)
  1. See DeleteCustomDomainAssociationMessageRequestTypeDef

delete_endpoint_access#

Deletes a Redshift-managed VPC endpoint.

Type annotations and code completion for boto3.client("redshift").delete_endpoint_access method. boto3 documentation

# delete_endpoint_access method definition

def delete_endpoint_access(
    self,
    *,
    EndpointName: str,
) -> EndpointAccessResponseTypeDef:  # (1)
    ...
  1. See EndpointAccessResponseTypeDef
# delete_endpoint_access method usage example with argument unpacking

kwargs: DeleteEndpointAccessMessageRequestTypeDef = {  # (1)
    "EndpointName": ...,
}

parent.delete_endpoint_access(**kwargs)
  1. See DeleteEndpointAccessMessageRequestTypeDef

delete_event_subscription#

Deletes an Amazon Redshift event notification subscription.

Type annotations and code completion for boto3.client("redshift").delete_event_subscription method. boto3 documentation

# delete_event_subscription method definition

def delete_event_subscription(
    self,
    *,
    SubscriptionName: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_event_subscription method usage example with argument unpacking

kwargs: DeleteEventSubscriptionMessageRequestTypeDef = {  # (1)
    "SubscriptionName": ...,
}

parent.delete_event_subscription(**kwargs)
  1. See DeleteEventSubscriptionMessageRequestTypeDef

delete_hsm_client_certificate#

Deletes the specified HSM client certificate.

Type annotations and code completion for boto3.client("redshift").delete_hsm_client_certificate method. boto3 documentation

# delete_hsm_client_certificate method definition

def delete_hsm_client_certificate(
    self,
    *,
    HsmClientCertificateIdentifier: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_hsm_client_certificate method usage example with argument unpacking

kwargs: DeleteHsmClientCertificateMessageRequestTypeDef = {  # (1)
    "HsmClientCertificateIdentifier": ...,
}

parent.delete_hsm_client_certificate(**kwargs)
  1. See DeleteHsmClientCertificateMessageRequestTypeDef

delete_hsm_configuration#

Deletes the specified Amazon Redshift HSM configuration.

Type annotations and code completion for boto3.client("redshift").delete_hsm_configuration method. boto3 documentation

# delete_hsm_configuration method definition

def delete_hsm_configuration(
    self,
    *,
    HsmConfigurationIdentifier: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_hsm_configuration method usage example with argument unpacking

kwargs: DeleteHsmConfigurationMessageRequestTypeDef = {  # (1)
    "HsmConfigurationIdentifier": ...,
}

parent.delete_hsm_configuration(**kwargs)
  1. See DeleteHsmConfigurationMessageRequestTypeDef

delete_partner#

Deletes a partner integration from a cluster.

Type annotations and code completion for boto3.client("redshift").delete_partner method. boto3 documentation

# delete_partner method definition

def delete_partner(
    self,
    *,
    AccountId: str,
    ClusterIdentifier: str,
    DatabaseName: str,
    PartnerName: str,
) -> PartnerIntegrationOutputMessageTypeDef:  # (1)
    ...
  1. See PartnerIntegrationOutputMessageTypeDef
# delete_partner method usage example with argument unpacking

kwargs: PartnerIntegrationInputMessageRequestTypeDef = {  # (1)
    "AccountId": ...,
    "ClusterIdentifier": ...,
    "DatabaseName": ...,
    "PartnerName": ...,
}

parent.delete_partner(**kwargs)
  1. See PartnerIntegrationInputMessageRequestTypeDef

delete_redshift_idc_application#

Deletes an Amazon Redshift IAM Identity Center application.

Type annotations and code completion for boto3.client("redshift").delete_redshift_idc_application method. boto3 documentation

# delete_redshift_idc_application method definition

def delete_redshift_idc_application(
    self,
    *,
    RedshiftIdcApplicationArn: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_redshift_idc_application method usage example with argument unpacking

kwargs: DeleteRedshiftIdcApplicationMessageRequestTypeDef = {  # (1)
    "RedshiftIdcApplicationArn": ...,
}

parent.delete_redshift_idc_application(**kwargs)
  1. See DeleteRedshiftIdcApplicationMessageRequestTypeDef

delete_resource_policy#

Deletes the resource policy for a specified resource.

Type annotations and code completion for boto3.client("redshift").delete_resource_policy method. boto3 documentation

# delete_resource_policy method definition

def delete_resource_policy(
    self,
    *,
    ResourceArn: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_resource_policy method usage example with argument unpacking

kwargs: DeleteResourcePolicyMessageRequestTypeDef = {  # (1)
    "ResourceArn": ...,
}

parent.delete_resource_policy(**kwargs)
  1. See DeleteResourcePolicyMessageRequestTypeDef

delete_scheduled_action#

Deletes a scheduled action.

Type annotations and code completion for boto3.client("redshift").delete_scheduled_action method. boto3 documentation

# delete_scheduled_action method definition

def delete_scheduled_action(
    self,
    *,
    ScheduledActionName: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_scheduled_action method usage example with argument unpacking

kwargs: DeleteScheduledActionMessageRequestTypeDef = {  # (1)
    "ScheduledActionName": ...,
}

parent.delete_scheduled_action(**kwargs)
  1. See DeleteScheduledActionMessageRequestTypeDef

delete_snapshot_copy_grant#

Deletes the specified snapshot copy grant.

Type annotations and code completion for boto3.client("redshift").delete_snapshot_copy_grant method. boto3 documentation

# delete_snapshot_copy_grant method definition

def delete_snapshot_copy_grant(
    self,
    *,
    SnapshotCopyGrantName: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_snapshot_copy_grant method usage example with argument unpacking

kwargs: DeleteSnapshotCopyGrantMessageRequestTypeDef = {  # (1)
    "SnapshotCopyGrantName": ...,
}

parent.delete_snapshot_copy_grant(**kwargs)
  1. See DeleteSnapshotCopyGrantMessageRequestTypeDef

delete_snapshot_schedule#

Deletes a snapshot schedule.

Type annotations and code completion for boto3.client("redshift").delete_snapshot_schedule method. boto3 documentation

# delete_snapshot_schedule method definition

def delete_snapshot_schedule(
    self,
    *,
    ScheduleIdentifier: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_snapshot_schedule method usage example with argument unpacking

kwargs: DeleteSnapshotScheduleMessageRequestTypeDef = {  # (1)
    "ScheduleIdentifier": ...,
}

parent.delete_snapshot_schedule(**kwargs)
  1. See DeleteSnapshotScheduleMessageRequestTypeDef

delete_tags#

Deletes tags from a resource.

Type annotations and code completion for boto3.client("redshift").delete_tags method. boto3 documentation

# delete_tags method definition

def delete_tags(
    self,
    *,
    ResourceName: str,
    TagKeys: Sequence[str],
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_tags method usage example with argument unpacking

kwargs: DeleteTagsMessageRequestTypeDef = {  # (1)
    "ResourceName": ...,
    "TagKeys": ...,
}

parent.delete_tags(**kwargs)
  1. See DeleteTagsMessageRequestTypeDef

delete_usage_limit#

Deletes a usage limit from a cluster.

Type annotations and code completion for boto3.client("redshift").delete_usage_limit method. boto3 documentation

# delete_usage_limit method definition

def delete_usage_limit(
    self,
    *,
    UsageLimitId: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_usage_limit method usage example with argument unpacking

kwargs: DeleteUsageLimitMessageRequestTypeDef = {  # (1)
    "UsageLimitId": ...,
}

parent.delete_usage_limit(**kwargs)
  1. See DeleteUsageLimitMessageRequestTypeDef

describe_account_attributes#

Returns a list of attributes attached to an account See also: AWS API Documentation.

Type annotations and code completion for boto3.client("redshift").describe_account_attributes method. boto3 documentation

# describe_account_attributes method definition

def describe_account_attributes(
    self,
    *,
    AttributeNames: Sequence[str] = ...,
) -> AccountAttributeListTypeDef:  # (1)
    ...
  1. See AccountAttributeListTypeDef
# describe_account_attributes method usage example with argument unpacking

kwargs: DescribeAccountAttributesMessageRequestTypeDef = {  # (1)
    "AttributeNames": ...,
}

parent.describe_account_attributes(**kwargs)
  1. See DescribeAccountAttributesMessageRequestTypeDef

describe_authentication_profiles#

Describes an authentication profile.

Type annotations and code completion for boto3.client("redshift").describe_authentication_profiles method. boto3 documentation

# describe_authentication_profiles method definition

def describe_authentication_profiles(
    self,
    *,
    AuthenticationProfileName: str = ...,
) -> DescribeAuthenticationProfilesResultTypeDef:  # (1)
    ...
  1. See DescribeAuthenticationProfilesResultTypeDef
# describe_authentication_profiles method usage example with argument unpacking

kwargs: DescribeAuthenticationProfilesMessageRequestTypeDef = {  # (1)
    "AuthenticationProfileName": ...,
}

parent.describe_authentication_profiles(**kwargs)
  1. See DescribeAuthenticationProfilesMessageRequestTypeDef

describe_cluster_db_revisions#

Returns an array of ClusterDbRevision objects.

Type annotations and code completion for boto3.client("redshift").describe_cluster_db_revisions method. boto3 documentation

# describe_cluster_db_revisions method definition

def describe_cluster_db_revisions(
    self,
    *,
    ClusterIdentifier: str = ...,
    MaxRecords: int = ...,
    Marker: str = ...,
) -> ClusterDbRevisionsMessageTypeDef:  # (1)
    ...
  1. See ClusterDbRevisionsMessageTypeDef
# describe_cluster_db_revisions method usage example with argument unpacking

kwargs: DescribeClusterDbRevisionsMessageRequestTypeDef = {  # (1)
    "ClusterIdentifier": ...,
}

parent.describe_cluster_db_revisions(**kwargs)
  1. See DescribeClusterDbRevisionsMessageRequestTypeDef

describe_cluster_parameter_groups#

Returns a list of Amazon Redshift parameter groups, including parameter groups you created and the default parameter group.

Type annotations and code completion for boto3.client("redshift").describe_cluster_parameter_groups method. boto3 documentation

# describe_cluster_parameter_groups method definition

def describe_cluster_parameter_groups(
    self,
    *,
    ParameterGroupName: str = ...,
    MaxRecords: int = ...,
    Marker: str = ...,
    TagKeys: Sequence[str] = ...,
    TagValues: Sequence[str] = ...,
) -> ClusterParameterGroupsMessageTypeDef:  # (1)
    ...
  1. See ClusterParameterGroupsMessageTypeDef
# describe_cluster_parameter_groups method usage example with argument unpacking

kwargs: DescribeClusterParameterGroupsMessageRequestTypeDef = {  # (1)
    "ParameterGroupName": ...,
}

parent.describe_cluster_parameter_groups(**kwargs)
  1. See DescribeClusterParameterGroupsMessageRequestTypeDef

describe_cluster_parameters#

Returns a detailed list of parameters contained within the specified Amazon Redshift parameter group.

Type annotations and code completion for boto3.client("redshift").describe_cluster_parameters method. boto3 documentation

# describe_cluster_parameters method definition

def describe_cluster_parameters(
    self,
    *,
    ParameterGroupName: str,
    Source: str = ...,
    MaxRecords: int = ...,
    Marker: str = ...,
) -> ClusterParameterGroupDetailsTypeDef:  # (1)
    ...
  1. See ClusterParameterGroupDetailsTypeDef
# describe_cluster_parameters method usage example with argument unpacking

kwargs: DescribeClusterParametersMessageRequestTypeDef = {  # (1)
    "ParameterGroupName": ...,
}

parent.describe_cluster_parameters(**kwargs)
  1. See DescribeClusterParametersMessageRequestTypeDef

describe_cluster_security_groups#

Returns information about Amazon Redshift security groups.

Type annotations and code completion for boto3.client("redshift").describe_cluster_security_groups method. boto3 documentation

# describe_cluster_security_groups method definition

def describe_cluster_security_groups(
    self,
    *,
    ClusterSecurityGroupName: str = ...,
    MaxRecords: int = ...,
    Marker: str = ...,
    TagKeys: Sequence[str] = ...,
    TagValues: Sequence[str] = ...,
) -> ClusterSecurityGroupMessageTypeDef:  # (1)
    ...
  1. See ClusterSecurityGroupMessageTypeDef
# describe_cluster_security_groups method usage example with argument unpacking

kwargs: DescribeClusterSecurityGroupsMessageRequestTypeDef = {  # (1)
    "ClusterSecurityGroupName": ...,
}

parent.describe_cluster_security_groups(**kwargs)
  1. See DescribeClusterSecurityGroupsMessageRequestTypeDef

describe_cluster_snapshots#

Returns one or more snapshot objects, which contain metadata about your cluster snapshots.

Type annotations and code completion for boto3.client("redshift").describe_cluster_snapshots method. boto3 documentation

# describe_cluster_snapshots method definition

def describe_cluster_snapshots(
    self,
    *,
    ClusterIdentifier: str = ...,
    SnapshotIdentifier: str = ...,
    SnapshotArn: str = ...,
    SnapshotType: str = ...,
    StartTime: Union[datetime, str] = ...,
    EndTime: Union[datetime, str] = ...,
    MaxRecords: int = ...,
    Marker: str = ...,
    OwnerAccount: str = ...,
    TagKeys: Sequence[str] = ...,
    TagValues: Sequence[str] = ...,
    ClusterExists: bool = ...,
    SortingEntities: Sequence[SnapshotSortingEntityTypeDef] = ...,  # (1)
) -> SnapshotMessageTypeDef:  # (2)
    ...
  1. See SnapshotSortingEntityTypeDef
  2. See SnapshotMessageTypeDef
# describe_cluster_snapshots method usage example with argument unpacking

kwargs: DescribeClusterSnapshotsMessageRequestTypeDef = {  # (1)
    "ClusterIdentifier": ...,
}

parent.describe_cluster_snapshots(**kwargs)
  1. See DescribeClusterSnapshotsMessageRequestTypeDef

describe_cluster_subnet_groups#

Returns one or more cluster subnet group objects, which contain metadata about your cluster subnet groups.

Type annotations and code completion for boto3.client("redshift").describe_cluster_subnet_groups method. boto3 documentation

# describe_cluster_subnet_groups method definition

def describe_cluster_subnet_groups(
    self,
    *,
    ClusterSubnetGroupName: str = ...,
    MaxRecords: int = ...,
    Marker: str = ...,
    TagKeys: Sequence[str] = ...,
    TagValues: Sequence[str] = ...,
) -> ClusterSubnetGroupMessageTypeDef:  # (1)
    ...
  1. See ClusterSubnetGroupMessageTypeDef
# describe_cluster_subnet_groups method usage example with argument unpacking

kwargs: DescribeClusterSubnetGroupsMessageRequestTypeDef = {  # (1)
    "ClusterSubnetGroupName": ...,
}

parent.describe_cluster_subnet_groups(**kwargs)
  1. See DescribeClusterSubnetGroupsMessageRequestTypeDef

describe_cluster_tracks#

Returns a list of all the available maintenance tracks.

Type annotations and code completion for boto3.client("redshift").describe_cluster_tracks method. boto3 documentation

# describe_cluster_tracks method definition

def describe_cluster_tracks(
    self,
    *,
    MaintenanceTrackName: str = ...,
    MaxRecords: int = ...,
    Marker: str = ...,
) -> TrackListMessageTypeDef:  # (1)
    ...
  1. See TrackListMessageTypeDef
# describe_cluster_tracks method usage example with argument unpacking

kwargs: DescribeClusterTracksMessageRequestTypeDef = {  # (1)
    "MaintenanceTrackName": ...,
}

parent.describe_cluster_tracks(**kwargs)
  1. See DescribeClusterTracksMessageRequestTypeDef

describe_cluster_versions#

Returns descriptions of the available Amazon Redshift cluster versions.

Type annotations and code completion for boto3.client("redshift").describe_cluster_versions method. boto3 documentation

# describe_cluster_versions method definition

def describe_cluster_versions(
    self,
    *,
    ClusterVersion: str = ...,
    ClusterParameterGroupFamily: str = ...,
    MaxRecords: int = ...,
    Marker: str = ...,
) -> ClusterVersionsMessageTypeDef:  # (1)
    ...
  1. See ClusterVersionsMessageTypeDef
# describe_cluster_versions method usage example with argument unpacking

kwargs: DescribeClusterVersionsMessageRequestTypeDef = {  # (1)
    "ClusterVersion": ...,
}

parent.describe_cluster_versions(**kwargs)
  1. See DescribeClusterVersionsMessageRequestTypeDef

describe_clusters#

Returns properties of provisioned clusters including general cluster properties, cluster database properties, maintenance and backup properties, and security and access properties.

Type annotations and code completion for boto3.client("redshift").describe_clusters method. boto3 documentation

# describe_clusters method definition

def describe_clusters(
    self,
    *,
    ClusterIdentifier: str = ...,
    MaxRecords: int = ...,
    Marker: str = ...,
    TagKeys: Sequence[str] = ...,
    TagValues: Sequence[str] = ...,
) -> ClustersMessageTypeDef:  # (1)
    ...
  1. See ClustersMessageTypeDef
# describe_clusters method usage example with argument unpacking

kwargs: DescribeClustersMessageRequestTypeDef = {  # (1)
    "ClusterIdentifier": ...,
}

parent.describe_clusters(**kwargs)
  1. See DescribeClustersMessageRequestTypeDef

describe_custom_domain_associations#

Contains information about custom domain associations for a cluster.

Type annotations and code completion for boto3.client("redshift").describe_custom_domain_associations method. boto3 documentation

# describe_custom_domain_associations method definition

def describe_custom_domain_associations(
    self,
    *,
    CustomDomainName: str = ...,
    CustomDomainCertificateArn: str = ...,
    MaxRecords: int = ...,
    Marker: str = ...,
) -> CustomDomainAssociationsMessageTypeDef:  # (1)
    ...
  1. See CustomDomainAssociationsMessageTypeDef
# describe_custom_domain_associations method usage example with argument unpacking

kwargs: DescribeCustomDomainAssociationsMessageRequestTypeDef = {  # (1)
    "CustomDomainName": ...,
}

parent.describe_custom_domain_associations(**kwargs)
  1. See DescribeCustomDomainAssociationsMessageRequestTypeDef

describe_data_shares#

Shows the status of any inbound or outbound datashares available in the specified account.

Type annotations and code completion for boto3.client("redshift").describe_data_shares method. boto3 documentation

# describe_data_shares method definition

def describe_data_shares(
    self,
    *,
    DataShareArn: str = ...,
    MaxRecords: int = ...,
    Marker: str = ...,
) -> DescribeDataSharesResultTypeDef:  # (1)
    ...
  1. See DescribeDataSharesResultTypeDef
# describe_data_shares method usage example with argument unpacking

kwargs: DescribeDataSharesMessageRequestTypeDef = {  # (1)
    "DataShareArn": ...,
}

parent.describe_data_shares(**kwargs)
  1. See DescribeDataSharesMessageRequestTypeDef

describe_data_shares_for_consumer#

Returns a list of datashares where the account identifier being called is a consumer account identifier.

Type annotations and code completion for boto3.client("redshift").describe_data_shares_for_consumer method. boto3 documentation

# describe_data_shares_for_consumer method definition

def describe_data_shares_for_consumer(
    self,
    *,
    ConsumerArn: str = ...,
    Status: DataShareStatusForConsumerType = ...,  # (1)
    MaxRecords: int = ...,
    Marker: str = ...,
) -> DescribeDataSharesForConsumerResultTypeDef:  # (2)
    ...
  1. See DataShareStatusForConsumerType
  2. See DescribeDataSharesForConsumerResultTypeDef
# describe_data_shares_for_consumer method usage example with argument unpacking

kwargs: DescribeDataSharesForConsumerMessageRequestTypeDef = {  # (1)
    "ConsumerArn": ...,
}

parent.describe_data_shares_for_consumer(**kwargs)
  1. See DescribeDataSharesForConsumerMessageRequestTypeDef

describe_data_shares_for_producer#

Returns a list of datashares when the account identifier being called is a producer account identifier.

Type annotations and code completion for boto3.client("redshift").describe_data_shares_for_producer method. boto3 documentation

# describe_data_shares_for_producer method definition

def describe_data_shares_for_producer(
    self,
    *,
    ProducerArn: str = ...,
    Status: DataShareStatusForProducerType = ...,  # (1)
    MaxRecords: int = ...,
    Marker: str = ...,
) -> DescribeDataSharesForProducerResultTypeDef:  # (2)
    ...
  1. See DataShareStatusForProducerType
  2. See DescribeDataSharesForProducerResultTypeDef
# describe_data_shares_for_producer method usage example with argument unpacking

kwargs: DescribeDataSharesForProducerMessageRequestTypeDef = {  # (1)
    "ProducerArn": ...,
}

parent.describe_data_shares_for_producer(**kwargs)
  1. See DescribeDataSharesForProducerMessageRequestTypeDef

describe_default_cluster_parameters#

Returns a list of parameter settings for the specified parameter group family.

Type annotations and code completion for boto3.client("redshift").describe_default_cluster_parameters method. boto3 documentation

# describe_default_cluster_parameters method definition

def describe_default_cluster_parameters(
    self,
    *,
    ParameterGroupFamily: str,
    MaxRecords: int = ...,
    Marker: str = ...,
) -> DescribeDefaultClusterParametersResultTypeDef:  # (1)
    ...
  1. See DescribeDefaultClusterParametersResultTypeDef
# describe_default_cluster_parameters method usage example with argument unpacking

kwargs: DescribeDefaultClusterParametersMessageRequestTypeDef = {  # (1)
    "ParameterGroupFamily": ...,
}

parent.describe_default_cluster_parameters(**kwargs)
  1. See DescribeDefaultClusterParametersMessageRequestTypeDef

describe_endpoint_access#

Describes a Redshift-managed VPC endpoint.

Type annotations and code completion for boto3.client("redshift").describe_endpoint_access method. boto3 documentation

# describe_endpoint_access method definition

def describe_endpoint_access(
    self,
    *,
    ClusterIdentifier: str = ...,
    ResourceOwner: str = ...,
    EndpointName: str = ...,
    VpcId: str = ...,
    MaxRecords: int = ...,
    Marker: str = ...,
) -> EndpointAccessListTypeDef:  # (1)
    ...
  1. See EndpointAccessListTypeDef
# describe_endpoint_access method usage example with argument unpacking

kwargs: DescribeEndpointAccessMessageRequestTypeDef = {  # (1)
    "ClusterIdentifier": ...,
}

parent.describe_endpoint_access(**kwargs)
  1. See DescribeEndpointAccessMessageRequestTypeDef

describe_endpoint_authorization#

Describes an endpoint authorization.

Type annotations and code completion for boto3.client("redshift").describe_endpoint_authorization method. boto3 documentation

# describe_endpoint_authorization method definition

def describe_endpoint_authorization(
    self,
    *,
    ClusterIdentifier: str = ...,
    Account: str = ...,
    Grantee: bool = ...,
    MaxRecords: int = ...,
    Marker: str = ...,
) -> EndpointAuthorizationListTypeDef:  # (1)
    ...
  1. See EndpointAuthorizationListTypeDef
# describe_endpoint_authorization method usage example with argument unpacking

kwargs: DescribeEndpointAuthorizationMessageRequestTypeDef = {  # (1)
    "ClusterIdentifier": ...,
}

parent.describe_endpoint_authorization(**kwargs)
  1. See DescribeEndpointAuthorizationMessageRequestTypeDef

describe_event_categories#

Displays a list of event categories for all event source types, or for a specified source type.

Type annotations and code completion for boto3.client("redshift").describe_event_categories method. boto3 documentation

# describe_event_categories method definition

def describe_event_categories(
    self,
    *,
    SourceType: str = ...,
) -> EventCategoriesMessageTypeDef:  # (1)
    ...
  1. See EventCategoriesMessageTypeDef
# describe_event_categories method usage example with argument unpacking

kwargs: DescribeEventCategoriesMessageRequestTypeDef = {  # (1)
    "SourceType": ...,
}

parent.describe_event_categories(**kwargs)
  1. See DescribeEventCategoriesMessageRequestTypeDef

describe_event_subscriptions#

Lists descriptions of all the Amazon Redshift event notification subscriptions for a customer account.

Type annotations and code completion for boto3.client("redshift").describe_event_subscriptions method. boto3 documentation

# describe_event_subscriptions method definition

def describe_event_subscriptions(
    self,
    *,
    SubscriptionName: str = ...,
    MaxRecords: int = ...,
    Marker: str = ...,
    TagKeys: Sequence[str] = ...,
    TagValues: Sequence[str] = ...,
) -> EventSubscriptionsMessageTypeDef:  # (1)
    ...
  1. See EventSubscriptionsMessageTypeDef
# describe_event_subscriptions method usage example with argument unpacking

kwargs: DescribeEventSubscriptionsMessageRequestTypeDef = {  # (1)
    "SubscriptionName": ...,
}

parent.describe_event_subscriptions(**kwargs)
  1. See DescribeEventSubscriptionsMessageRequestTypeDef

describe_events#

Returns events related to clusters, security groups, snapshots, and parameter groups for the past 14 days.

Type annotations and code completion for boto3.client("redshift").describe_events method. boto3 documentation

# describe_events method definition

def describe_events(
    self,
    *,
    SourceIdentifier: str = ...,
    SourceType: SourceTypeType = ...,  # (1)
    StartTime: Union[datetime, str] = ...,
    EndTime: Union[datetime, str] = ...,
    Duration: int = ...,
    MaxRecords: int = ...,
    Marker: str = ...,
) -> EventsMessageTypeDef:  # (2)
    ...
  1. See SourceTypeType
  2. See EventsMessageTypeDef
# describe_events method usage example with argument unpacking

kwargs: DescribeEventsMessageRequestTypeDef = {  # (1)
    "SourceIdentifier": ...,
}

parent.describe_events(**kwargs)
  1. See DescribeEventsMessageRequestTypeDef

describe_hsm_client_certificates#

Returns information about the specified HSM client certificate.

Type annotations and code completion for boto3.client("redshift").describe_hsm_client_certificates method. boto3 documentation

# describe_hsm_client_certificates method definition

def describe_hsm_client_certificates(
    self,
    *,
    HsmClientCertificateIdentifier: str = ...,
    MaxRecords: int = ...,
    Marker: str = ...,
    TagKeys: Sequence[str] = ...,
    TagValues: Sequence[str] = ...,
) -> HsmClientCertificateMessageTypeDef:  # (1)
    ...
  1. See HsmClientCertificateMessageTypeDef
# describe_hsm_client_certificates method usage example with argument unpacking

kwargs: DescribeHsmClientCertificatesMessageRequestTypeDef = {  # (1)
    "HsmClientCertificateIdentifier": ...,
}

parent.describe_hsm_client_certificates(**kwargs)
  1. See DescribeHsmClientCertificatesMessageRequestTypeDef

describe_hsm_configurations#

Returns information about the specified Amazon Redshift HSM configuration.

Type annotations and code completion for boto3.client("redshift").describe_hsm_configurations method. boto3 documentation

# describe_hsm_configurations method definition

def describe_hsm_configurations(
    self,
    *,
    HsmConfigurationIdentifier: str = ...,
    MaxRecords: int = ...,
    Marker: str = ...,
    TagKeys: Sequence[str] = ...,
    TagValues: Sequence[str] = ...,
) -> HsmConfigurationMessageTypeDef:  # (1)
    ...
  1. See HsmConfigurationMessageTypeDef
# describe_hsm_configurations method usage example with argument unpacking

kwargs: DescribeHsmConfigurationsMessageRequestTypeDef = {  # (1)
    "HsmConfigurationIdentifier": ...,
}

parent.describe_hsm_configurations(**kwargs)
  1. See DescribeHsmConfigurationsMessageRequestTypeDef

describe_inbound_integrations#

Returns a list of inbound integrations.

Type annotations and code completion for boto3.client("redshift").describe_inbound_integrations method. boto3 documentation

# describe_inbound_integrations method definition

def describe_inbound_integrations(
    self,
    *,
    IntegrationArn: str = ...,
    TargetArn: str = ...,
    MaxRecords: int = ...,
    Marker: str = ...,
) -> InboundIntegrationsMessageTypeDef:  # (1)
    ...
  1. See InboundIntegrationsMessageTypeDef
# describe_inbound_integrations method usage example with argument unpacking

kwargs: DescribeInboundIntegrationsMessageRequestTypeDef = {  # (1)
    "IntegrationArn": ...,
}

parent.describe_inbound_integrations(**kwargs)
  1. See DescribeInboundIntegrationsMessageRequestTypeDef

describe_logging_status#

Describes whether information, such as queries and connection attempts, is being logged for the specified Amazon Redshift cluster.

Type annotations and code completion for boto3.client("redshift").describe_logging_status method. boto3 documentation

# describe_logging_status method definition

def describe_logging_status(
    self,
    *,
    ClusterIdentifier: str,
) -> LoggingStatusTypeDef:  # (1)
    ...
  1. See LoggingStatusTypeDef
# describe_logging_status method usage example with argument unpacking

kwargs: DescribeLoggingStatusMessageRequestTypeDef = {  # (1)
    "ClusterIdentifier": ...,
}

parent.describe_logging_status(**kwargs)
  1. See DescribeLoggingStatusMessageRequestTypeDef

describe_node_configuration_options#

Returns properties of possible node configurations such as node type, number of nodes, and disk usage for the specified action type.

Type annotations and code completion for boto3.client("redshift").describe_node_configuration_options method. boto3 documentation

# describe_node_configuration_options method definition

def describe_node_configuration_options(
    self,
    *,
    ActionType: ActionTypeType,  # (1)
    ClusterIdentifier: str = ...,
    SnapshotIdentifier: str = ...,
    SnapshotArn: str = ...,
    OwnerAccount: str = ...,
    Filters: Sequence[NodeConfigurationOptionsFilterTypeDef] = ...,  # (2)
    Marker: str = ...,
    MaxRecords: int = ...,
) -> NodeConfigurationOptionsMessageTypeDef:  # (3)
    ...
  1. See ActionTypeType
  2. See NodeConfigurationOptionsFilterTypeDef
  3. See NodeConfigurationOptionsMessageTypeDef
# describe_node_configuration_options method usage example with argument unpacking

kwargs: DescribeNodeConfigurationOptionsMessageRequestTypeDef = {  # (1)
    "ActionType": ...,
}

parent.describe_node_configuration_options(**kwargs)
  1. See DescribeNodeConfigurationOptionsMessageRequestTypeDef

describe_orderable_cluster_options#

Returns a list of orderable cluster options.

Type annotations and code completion for boto3.client("redshift").describe_orderable_cluster_options method. boto3 documentation

# describe_orderable_cluster_options method definition

def describe_orderable_cluster_options(
    self,
    *,
    ClusterVersion: str = ...,
    NodeType: str = ...,
    MaxRecords: int = ...,
    Marker: str = ...,
) -> OrderableClusterOptionsMessageTypeDef:  # (1)
    ...
  1. See OrderableClusterOptionsMessageTypeDef
# describe_orderable_cluster_options method usage example with argument unpacking

kwargs: DescribeOrderableClusterOptionsMessageRequestTypeDef = {  # (1)
    "ClusterVersion": ...,
}

parent.describe_orderable_cluster_options(**kwargs)
  1. See DescribeOrderableClusterOptionsMessageRequestTypeDef

describe_partners#

Returns information about the partner integrations defined for a cluster.

Type annotations and code completion for boto3.client("redshift").describe_partners method. boto3 documentation

# describe_partners method definition

def describe_partners(
    self,
    *,
    AccountId: str,
    ClusterIdentifier: str,
    DatabaseName: str = ...,
    PartnerName: str = ...,
) -> DescribePartnersOutputMessageTypeDef:  # (1)
    ...
  1. See DescribePartnersOutputMessageTypeDef
# describe_partners method usage example with argument unpacking

kwargs: DescribePartnersInputMessageRequestTypeDef = {  # (1)
    "AccountId": ...,
    "ClusterIdentifier": ...,
}

parent.describe_partners(**kwargs)
  1. See DescribePartnersInputMessageRequestTypeDef

describe_redshift_idc_applications#

Lists the Amazon Redshift IAM Identity Center applications.

Type annotations and code completion for boto3.client("redshift").describe_redshift_idc_applications method. boto3 documentation

# describe_redshift_idc_applications method definition

def describe_redshift_idc_applications(
    self,
    *,
    RedshiftIdcApplicationArn: str = ...,
    MaxRecords: int = ...,
    Marker: str = ...,
) -> DescribeRedshiftIdcApplicationsResultTypeDef:  # (1)
    ...
  1. See DescribeRedshiftIdcApplicationsResultTypeDef
# describe_redshift_idc_applications method usage example with argument unpacking

kwargs: DescribeRedshiftIdcApplicationsMessageRequestTypeDef = {  # (1)
    "RedshiftIdcApplicationArn": ...,
}

parent.describe_redshift_idc_applications(**kwargs)
  1. See DescribeRedshiftIdcApplicationsMessageRequestTypeDef

describe_reserved_node_exchange_status#

Returns exchange status details and associated metadata for a reserved-node exchange.

Type annotations and code completion for boto3.client("redshift").describe_reserved_node_exchange_status method. boto3 documentation

# describe_reserved_node_exchange_status method definition

def describe_reserved_node_exchange_status(
    self,
    *,
    ReservedNodeId: str = ...,
    ReservedNodeExchangeRequestId: str = ...,
    MaxRecords: int = ...,
    Marker: str = ...,
) -> DescribeReservedNodeExchangeStatusOutputMessageTypeDef:  # (1)
    ...
  1. See DescribeReservedNodeExchangeStatusOutputMessageTypeDef
# describe_reserved_node_exchange_status method usage example with argument unpacking

kwargs: DescribeReservedNodeExchangeStatusInputMessageRequestTypeDef = {  # (1)
    "ReservedNodeId": ...,
}

parent.describe_reserved_node_exchange_status(**kwargs)
  1. See DescribeReservedNodeExchangeStatusInputMessageRequestTypeDef

describe_reserved_node_offerings#

Returns a list of the available reserved node offerings by Amazon Redshift with their descriptions including the node type, the fixed and recurring costs of reserving the node and duration the node will be reserved for you.

Type annotations and code completion for boto3.client("redshift").describe_reserved_node_offerings method. boto3 documentation

# describe_reserved_node_offerings method definition

def describe_reserved_node_offerings(
    self,
    *,
    ReservedNodeOfferingId: str = ...,
    MaxRecords: int = ...,
    Marker: str = ...,
) -> ReservedNodeOfferingsMessageTypeDef:  # (1)
    ...
  1. See ReservedNodeOfferingsMessageTypeDef
# describe_reserved_node_offerings method usage example with argument unpacking

kwargs: DescribeReservedNodeOfferingsMessageRequestTypeDef = {  # (1)
    "ReservedNodeOfferingId": ...,
}

parent.describe_reserved_node_offerings(**kwargs)
  1. See DescribeReservedNodeOfferingsMessageRequestTypeDef

describe_reserved_nodes#

Returns the descriptions of the reserved nodes.

Type annotations and code completion for boto3.client("redshift").describe_reserved_nodes method. boto3 documentation

# describe_reserved_nodes method definition

def describe_reserved_nodes(
    self,
    *,
    ReservedNodeId: str = ...,
    MaxRecords: int = ...,
    Marker: str = ...,
) -> ReservedNodesMessageTypeDef:  # (1)
    ...
  1. See ReservedNodesMessageTypeDef
# describe_reserved_nodes method usage example with argument unpacking

kwargs: DescribeReservedNodesMessageRequestTypeDef = {  # (1)
    "ReservedNodeId": ...,
}

parent.describe_reserved_nodes(**kwargs)
  1. See DescribeReservedNodesMessageRequestTypeDef

describe_resize#

Returns information about the last resize operation for the specified cluster.

Type annotations and code completion for boto3.client("redshift").describe_resize method. boto3 documentation

# describe_resize method definition

def describe_resize(
    self,
    *,
    ClusterIdentifier: str,
) -> ResizeProgressMessageTypeDef:  # (1)
    ...
  1. See ResizeProgressMessageTypeDef
# describe_resize method usage example with argument unpacking

kwargs: DescribeResizeMessageRequestTypeDef = {  # (1)
    "ClusterIdentifier": ...,
}

parent.describe_resize(**kwargs)
  1. See DescribeResizeMessageRequestTypeDef

describe_scheduled_actions#

Describes properties of scheduled actions.

Type annotations and code completion for boto3.client("redshift").describe_scheduled_actions method. boto3 documentation

# describe_scheduled_actions method definition

def describe_scheduled_actions(
    self,
    *,
    ScheduledActionName: str = ...,
    TargetActionType: ScheduledActionTypeValuesType = ...,  # (1)
    StartTime: Union[datetime, str] = ...,
    EndTime: Union[datetime, str] = ...,
    Active: bool = ...,
    Filters: Sequence[ScheduledActionFilterTypeDef] = ...,  # (2)
    Marker: str = ...,
    MaxRecords: int = ...,
) -> ScheduledActionsMessageTypeDef:  # (3)
    ...
  1. See ScheduledActionTypeValuesType
  2. See ScheduledActionFilterTypeDef
  3. See ScheduledActionsMessageTypeDef
# describe_scheduled_actions method usage example with argument unpacking

kwargs: DescribeScheduledActionsMessageRequestTypeDef = {  # (1)
    "ScheduledActionName": ...,
}

parent.describe_scheduled_actions(**kwargs)
  1. See DescribeScheduledActionsMessageRequestTypeDef

describe_snapshot_copy_grants#

Returns a list of snapshot copy grants owned by the Amazon Web Services account in the destination region.

Type annotations and code completion for boto3.client("redshift").describe_snapshot_copy_grants method. boto3 documentation

# describe_snapshot_copy_grants method definition

def describe_snapshot_copy_grants(
    self,
    *,
    SnapshotCopyGrantName: str = ...,
    MaxRecords: int = ...,
    Marker: str = ...,
    TagKeys: Sequence[str] = ...,
    TagValues: Sequence[str] = ...,
) -> SnapshotCopyGrantMessageTypeDef:  # (1)
    ...
  1. See SnapshotCopyGrantMessageTypeDef
# describe_snapshot_copy_grants method usage example with argument unpacking

kwargs: DescribeSnapshotCopyGrantsMessageRequestTypeDef = {  # (1)
    "SnapshotCopyGrantName": ...,
}

parent.describe_snapshot_copy_grants(**kwargs)
  1. See DescribeSnapshotCopyGrantsMessageRequestTypeDef

describe_snapshot_schedules#

Returns a list of snapshot schedules.

Type annotations and code completion for boto3.client("redshift").describe_snapshot_schedules method. boto3 documentation

# describe_snapshot_schedules method definition

def describe_snapshot_schedules(
    self,
    *,
    ClusterIdentifier: str = ...,
    ScheduleIdentifier: str = ...,
    TagKeys: Sequence[str] = ...,
    TagValues: Sequence[str] = ...,
    Marker: str = ...,
    MaxRecords: int = ...,
) -> DescribeSnapshotSchedulesOutputMessageTypeDef:  # (1)
    ...
  1. See DescribeSnapshotSchedulesOutputMessageTypeDef
# describe_snapshot_schedules method usage example with argument unpacking

kwargs: DescribeSnapshotSchedulesMessageRequestTypeDef = {  # (1)
    "ClusterIdentifier": ...,
}

parent.describe_snapshot_schedules(**kwargs)
  1. See DescribeSnapshotSchedulesMessageRequestTypeDef

describe_storage#

Returns account level backups storage size and provisional storage.

Type annotations and code completion for boto3.client("redshift").describe_storage method. boto3 documentation

# describe_storage method definition

def describe_storage(
    self,
) -> CustomerStorageMessageTypeDef:  # (1)
    ...
  1. See CustomerStorageMessageTypeDef

describe_table_restore_status#

Lists the status of one or more table restore requests made using the RestoreTableFromClusterSnapshot API action.

Type annotations and code completion for boto3.client("redshift").describe_table_restore_status method. boto3 documentation

# describe_table_restore_status method definition

def describe_table_restore_status(
    self,
    *,
    ClusterIdentifier: str = ...,
    TableRestoreRequestId: str = ...,
    MaxRecords: int = ...,
    Marker: str = ...,
) -> TableRestoreStatusMessageTypeDef:  # (1)
    ...
  1. See TableRestoreStatusMessageTypeDef
# describe_table_restore_status method usage example with argument unpacking

kwargs: DescribeTableRestoreStatusMessageRequestTypeDef = {  # (1)
    "ClusterIdentifier": ...,
}

parent.describe_table_restore_status(**kwargs)
  1. See DescribeTableRestoreStatusMessageRequestTypeDef

describe_tags#

Returns a list of tags.

Type annotations and code completion for boto3.client("redshift").describe_tags method. boto3 documentation

# describe_tags method definition

def describe_tags(
    self,
    *,
    ResourceName: str = ...,
    ResourceType: str = ...,
    MaxRecords: int = ...,
    Marker: str = ...,
    TagKeys: Sequence[str] = ...,
    TagValues: Sequence[str] = ...,
) -> TaggedResourceListMessageTypeDef:  # (1)
    ...
  1. See TaggedResourceListMessageTypeDef
# describe_tags method usage example with argument unpacking

kwargs: DescribeTagsMessageRequestTypeDef = {  # (1)
    "ResourceName": ...,
}

parent.describe_tags(**kwargs)
  1. See DescribeTagsMessageRequestTypeDef

describe_usage_limits#

Shows usage limits on a cluster.

Type annotations and code completion for boto3.client("redshift").describe_usage_limits method. boto3 documentation

# describe_usage_limits method definition

def describe_usage_limits(
    self,
    *,
    UsageLimitId: str = ...,
    ClusterIdentifier: str = ...,
    FeatureType: UsageLimitFeatureTypeType = ...,  # (1)
    MaxRecords: int = ...,
    Marker: str = ...,
    TagKeys: Sequence[str] = ...,
    TagValues: Sequence[str] = ...,
) -> UsageLimitListTypeDef:  # (2)
    ...
  1. See UsageLimitFeatureTypeType
  2. See UsageLimitListTypeDef
# describe_usage_limits method usage example with argument unpacking

kwargs: DescribeUsageLimitsMessageRequestTypeDef = {  # (1)
    "UsageLimitId": ...,
}

parent.describe_usage_limits(**kwargs)
  1. See DescribeUsageLimitsMessageRequestTypeDef

disable_logging#

Stops logging information, such as queries and connection attempts, for the specified Amazon Redshift cluster.

Type annotations and code completion for boto3.client("redshift").disable_logging method. boto3 documentation

# disable_logging method definition

def disable_logging(
    self,
    *,
    ClusterIdentifier: str,
) -> LoggingStatusTypeDef:  # (1)
    ...
  1. See LoggingStatusTypeDef
# disable_logging method usage example with argument unpacking

kwargs: DisableLoggingMessageRequestTypeDef = {  # (1)
    "ClusterIdentifier": ...,
}

parent.disable_logging(**kwargs)
  1. See DisableLoggingMessageRequestTypeDef

disable_snapshot_copy#

Disables the automatic copying of snapshots from one region to another region for a specified cluster.

Type annotations and code completion for boto3.client("redshift").disable_snapshot_copy method. boto3 documentation

# disable_snapshot_copy method definition

def disable_snapshot_copy(
    self,
    *,
    ClusterIdentifier: str,
) -> DisableSnapshotCopyResultTypeDef:  # (1)
    ...
  1. See DisableSnapshotCopyResultTypeDef
# disable_snapshot_copy method usage example with argument unpacking

kwargs: DisableSnapshotCopyMessageRequestTypeDef = {  # (1)
    "ClusterIdentifier": ...,
}

parent.disable_snapshot_copy(**kwargs)
  1. See DisableSnapshotCopyMessageRequestTypeDef

disassociate_data_share_consumer#

From a datashare consumer account, remove association for the specified datashare.

Type annotations and code completion for boto3.client("redshift").disassociate_data_share_consumer method. boto3 documentation

# disassociate_data_share_consumer method definition

def disassociate_data_share_consumer(
    self,
    *,
    DataShareArn: str,
    DisassociateEntireAccount: bool = ...,
    ConsumerArn: str = ...,
    ConsumerRegion: str = ...,
) -> DataShareResponseTypeDef:  # (1)
    ...
  1. See DataShareResponseTypeDef
# disassociate_data_share_consumer method usage example with argument unpacking

kwargs: DisassociateDataShareConsumerMessageRequestTypeDef = {  # (1)
    "DataShareArn": ...,
}

parent.disassociate_data_share_consumer(**kwargs)
  1. See DisassociateDataShareConsumerMessageRequestTypeDef

enable_logging#

Starts logging information, such as queries and connection attempts, for the specified Amazon Redshift cluster.

Type annotations and code completion for boto3.client("redshift").enable_logging method. boto3 documentation

# enable_logging method definition

def enable_logging(
    self,
    *,
    ClusterIdentifier: str,
    BucketName: str = ...,
    S3KeyPrefix: str = ...,
    LogDestinationType: LogDestinationTypeType = ...,  # (1)
    LogExports: Sequence[str] = ...,
) -> LoggingStatusTypeDef:  # (2)
    ...
  1. See LogDestinationTypeType
  2. See LoggingStatusTypeDef
# enable_logging method usage example with argument unpacking

kwargs: EnableLoggingMessageRequestTypeDef = {  # (1)
    "ClusterIdentifier": ...,
}

parent.enable_logging(**kwargs)
  1. See EnableLoggingMessageRequestTypeDef

enable_snapshot_copy#

Enables the automatic copy of snapshots from one region to another region for a specified cluster.

Type annotations and code completion for boto3.client("redshift").enable_snapshot_copy method. boto3 documentation

# enable_snapshot_copy method definition

def enable_snapshot_copy(
    self,
    *,
    ClusterIdentifier: str,
    DestinationRegion: str,
    RetentionPeriod: int = ...,
    SnapshotCopyGrantName: str = ...,
    ManualSnapshotRetentionPeriod: int = ...,
) -> EnableSnapshotCopyResultTypeDef:  # (1)
    ...
  1. See EnableSnapshotCopyResultTypeDef
# enable_snapshot_copy method usage example with argument unpacking

kwargs: EnableSnapshotCopyMessageRequestTypeDef = {  # (1)
    "ClusterIdentifier": ...,
    "DestinationRegion": ...,
}

parent.enable_snapshot_copy(**kwargs)
  1. See EnableSnapshotCopyMessageRequestTypeDef

failover_primary_compute#

Fails over the primary compute unit of the specified Multi-AZ cluster to another Availability Zone.

Type annotations and code completion for boto3.client("redshift").failover_primary_compute method. boto3 documentation

# failover_primary_compute method definition

def failover_primary_compute(
    self,
    *,
    ClusterIdentifier: str,
) -> FailoverPrimaryComputeResultTypeDef:  # (1)
    ...
  1. See FailoverPrimaryComputeResultTypeDef
# failover_primary_compute method usage example with argument unpacking

kwargs: FailoverPrimaryComputeInputMessageRequestTypeDef = {  # (1)
    "ClusterIdentifier": ...,
}

parent.failover_primary_compute(**kwargs)
  1. See FailoverPrimaryComputeInputMessageRequestTypeDef

generate_presigned_url#

Generate a presigned url given a client, its method, and arguments.

Type annotations and code completion for boto3.client("redshift").generate_presigned_url method. boto3 documentation

# generate_presigned_url method definition

def generate_presigned_url(
    self,
    ClientMethod: str,
    Params: Mapping[str, Any] = ...,
    ExpiresIn: int = 3600,
    HttpMethod: str = ...,
) -> str:
    ...

get_cluster_credentials#

Returns a database user name and temporary password with temporary authorization to log on to an Amazon Redshift database.

Type annotations and code completion for boto3.client("redshift").get_cluster_credentials method. boto3 documentation

# get_cluster_credentials method definition

def get_cluster_credentials(
    self,
    *,
    DbUser: str,
    DbName: str = ...,
    ClusterIdentifier: str = ...,
    DurationSeconds: int = ...,
    AutoCreate: bool = ...,
    DbGroups: Sequence[str] = ...,
    CustomDomainName: str = ...,
) -> ClusterCredentialsTypeDef:  # (1)
    ...
  1. See ClusterCredentialsTypeDef
# get_cluster_credentials method usage example with argument unpacking

kwargs: GetClusterCredentialsMessageRequestTypeDef = {  # (1)
    "DbUser": ...,
}

parent.get_cluster_credentials(**kwargs)
  1. See GetClusterCredentialsMessageRequestTypeDef

get_cluster_credentials_with_iam#

Returns a database user name and temporary password with temporary authorization to log in to an Amazon Redshift database.

Type annotations and code completion for boto3.client("redshift").get_cluster_credentials_with_iam method. boto3 documentation

# get_cluster_credentials_with_iam method definition

def get_cluster_credentials_with_iam(
    self,
    *,
    DbName: str = ...,
    ClusterIdentifier: str = ...,
    DurationSeconds: int = ...,
    CustomDomainName: str = ...,
) -> ClusterExtendedCredentialsTypeDef:  # (1)
    ...
  1. See ClusterExtendedCredentialsTypeDef
# get_cluster_credentials_with_iam method usage example with argument unpacking

kwargs: GetClusterCredentialsWithIAMMessageRequestTypeDef = {  # (1)
    "DbName": ...,
}

parent.get_cluster_credentials_with_iam(**kwargs)
  1. See GetClusterCredentialsWithIAMMessageRequestTypeDef

get_reserved_node_exchange_configuration_options#

Gets the configuration options for the reserved-node exchange.

Type annotations and code completion for boto3.client("redshift").get_reserved_node_exchange_configuration_options method. boto3 documentation

# get_reserved_node_exchange_configuration_options method definition

def get_reserved_node_exchange_configuration_options(
    self,
    *,
    ActionType: ReservedNodeExchangeActionTypeType,  # (1)
    ClusterIdentifier: str = ...,
    SnapshotIdentifier: str = ...,
    MaxRecords: int = ...,
    Marker: str = ...,
) -> GetReservedNodeExchangeConfigurationOptionsOutputMessageTypeDef:  # (2)
    ...
  1. See ReservedNodeExchangeActionTypeType
  2. See GetReservedNodeExchangeConfigurationOptionsOutputMessageTypeDef
# get_reserved_node_exchange_configuration_options method usage example with argument unpacking

kwargs: GetReservedNodeExchangeConfigurationOptionsInputMessageRequestTypeDef = {  # (1)
    "ActionType": ...,
}

parent.get_reserved_node_exchange_configuration_options(**kwargs)
  1. See GetReservedNodeExchangeConfigurationOptionsInputMessageRequestTypeDef

get_reserved_node_exchange_offerings#

Returns an array of DC2 ReservedNodeOfferings that matches the payment type, term, and usage price of the given DC1 reserved node.

Type annotations and code completion for boto3.client("redshift").get_reserved_node_exchange_offerings method. boto3 documentation

# get_reserved_node_exchange_offerings method definition

def get_reserved_node_exchange_offerings(
    self,
    *,
    ReservedNodeId: str,
    MaxRecords: int = ...,
    Marker: str = ...,
) -> GetReservedNodeExchangeOfferingsOutputMessageTypeDef:  # (1)
    ...
  1. See GetReservedNodeExchangeOfferingsOutputMessageTypeDef
# get_reserved_node_exchange_offerings method usage example with argument unpacking

kwargs: GetReservedNodeExchangeOfferingsInputMessageRequestTypeDef = {  # (1)
    "ReservedNodeId": ...,
}

parent.get_reserved_node_exchange_offerings(**kwargs)
  1. See GetReservedNodeExchangeOfferingsInputMessageRequestTypeDef

get_resource_policy#

Get the resource policy for a specified resource.

Type annotations and code completion for boto3.client("redshift").get_resource_policy method. boto3 documentation

# get_resource_policy method definition

def get_resource_policy(
    self,
    *,
    ResourceArn: str,
) -> GetResourcePolicyResultTypeDef:  # (1)
    ...
  1. See GetResourcePolicyResultTypeDef
# get_resource_policy method usage example with argument unpacking

kwargs: GetResourcePolicyMessageRequestTypeDef = {  # (1)
    "ResourceArn": ...,
}

parent.get_resource_policy(**kwargs)
  1. See GetResourcePolicyMessageRequestTypeDef

list_recommendations#

List the Amazon Redshift Advisor recommendations for one or multiple Amazon Redshift clusters in an Amazon Web Services account.

Type annotations and code completion for boto3.client("redshift").list_recommendations method. boto3 documentation

# list_recommendations method definition

def list_recommendations(
    self,
    *,
    ClusterIdentifier: str = ...,
    NamespaceArn: str = ...,
    MaxRecords: int = ...,
    Marker: str = ...,
) -> ListRecommendationsResultTypeDef:  # (1)
    ...
  1. See ListRecommendationsResultTypeDef
# list_recommendations method usage example with argument unpacking

kwargs: ListRecommendationsMessageRequestTypeDef = {  # (1)
    "ClusterIdentifier": ...,
}

parent.list_recommendations(**kwargs)
  1. See ListRecommendationsMessageRequestTypeDef

modify_aqua_configuration#

This operation is retired.

Type annotations and code completion for boto3.client("redshift").modify_aqua_configuration method. boto3 documentation

# modify_aqua_configuration method definition

def modify_aqua_configuration(
    self,
    *,
    ClusterIdentifier: str,
    AquaConfigurationStatus: AquaConfigurationStatusType = ...,  # (1)
) -> ModifyAquaOutputMessageTypeDef:  # (2)
    ...
  1. See AquaConfigurationStatusType
  2. See ModifyAquaOutputMessageTypeDef
# modify_aqua_configuration method usage example with argument unpacking

kwargs: ModifyAquaInputMessageRequestTypeDef = {  # (1)
    "ClusterIdentifier": ...,
}

parent.modify_aqua_configuration(**kwargs)
  1. See ModifyAquaInputMessageRequestTypeDef

modify_authentication_profile#

Modifies an authentication profile.

Type annotations and code completion for boto3.client("redshift").modify_authentication_profile method. boto3 documentation

# modify_authentication_profile method definition

def modify_authentication_profile(
    self,
    *,
    AuthenticationProfileName: str,
    AuthenticationProfileContent: str,
) -> ModifyAuthenticationProfileResultTypeDef:  # (1)
    ...
  1. See ModifyAuthenticationProfileResultTypeDef
# modify_authentication_profile method usage example with argument unpacking

kwargs: ModifyAuthenticationProfileMessageRequestTypeDef = {  # (1)
    "AuthenticationProfileName": ...,
    "AuthenticationProfileContent": ...,
}

parent.modify_authentication_profile(**kwargs)
  1. See ModifyAuthenticationProfileMessageRequestTypeDef

modify_cluster#

Modifies the settings for a cluster.

Type annotations and code completion for boto3.client("redshift").modify_cluster method. boto3 documentation

# modify_cluster method definition

def modify_cluster(
    self,
    *,
    ClusterIdentifier: str,
    ClusterType: str = ...,
    NodeType: str = ...,
    NumberOfNodes: int = ...,
    ClusterSecurityGroups: Sequence[str] = ...,
    VpcSecurityGroupIds: Sequence[str] = ...,
    MasterUserPassword: str = ...,
    ClusterParameterGroupName: str = ...,
    AutomatedSnapshotRetentionPeriod: int = ...,
    ManualSnapshotRetentionPeriod: int = ...,
    PreferredMaintenanceWindow: str = ...,
    ClusterVersion: str = ...,
    AllowVersionUpgrade: bool = ...,
    HsmClientCertificateIdentifier: str = ...,
    HsmConfigurationIdentifier: str = ...,
    NewClusterIdentifier: str = ...,
    PubliclyAccessible: bool = ...,
    ElasticIp: str = ...,
    EnhancedVpcRouting: bool = ...,
    MaintenanceTrackName: str = ...,
    Encrypted: bool = ...,
    KmsKeyId: str = ...,
    AvailabilityZoneRelocation: bool = ...,
    AvailabilityZone: str = ...,
    Port: int = ...,
    ManageMasterPassword: bool = ...,
    MasterPasswordSecretKmsKeyId: str = ...,
    IpAddressType: str = ...,
    MultiAZ: bool = ...,
) -> ModifyClusterResultTypeDef:  # (1)
    ...
  1. See ModifyClusterResultTypeDef
# modify_cluster method usage example with argument unpacking

kwargs: ModifyClusterMessageRequestTypeDef = {  # (1)
    "ClusterIdentifier": ...,
}

parent.modify_cluster(**kwargs)
  1. See ModifyClusterMessageRequestTypeDef

modify_cluster_db_revision#

Modifies the database revision of a cluster.

Type annotations and code completion for boto3.client("redshift").modify_cluster_db_revision method. boto3 documentation

# modify_cluster_db_revision method definition

def modify_cluster_db_revision(
    self,
    *,
    ClusterIdentifier: str,
    RevisionTarget: str,
) -> ModifyClusterDbRevisionResultTypeDef:  # (1)
    ...
  1. See ModifyClusterDbRevisionResultTypeDef
# modify_cluster_db_revision method usage example with argument unpacking

kwargs: ModifyClusterDbRevisionMessageRequestTypeDef = {  # (1)
    "ClusterIdentifier": ...,
    "RevisionTarget": ...,
}

parent.modify_cluster_db_revision(**kwargs)
  1. See ModifyClusterDbRevisionMessageRequestTypeDef

modify_cluster_iam_roles#

Modifies the list of Identity and Access Management (IAM) roles that can be used by the cluster to access other Amazon Web Services services.

Type annotations and code completion for boto3.client("redshift").modify_cluster_iam_roles method. boto3 documentation

# modify_cluster_iam_roles method definition

def modify_cluster_iam_roles(
    self,
    *,
    ClusterIdentifier: str,
    AddIamRoles: Sequence[str] = ...,
    RemoveIamRoles: Sequence[str] = ...,
    DefaultIamRoleArn: str = ...,
) -> ModifyClusterIamRolesResultTypeDef:  # (1)
    ...
  1. See ModifyClusterIamRolesResultTypeDef
# modify_cluster_iam_roles method usage example with argument unpacking

kwargs: ModifyClusterIamRolesMessageRequestTypeDef = {  # (1)
    "ClusterIdentifier": ...,
}

parent.modify_cluster_iam_roles(**kwargs)
  1. See ModifyClusterIamRolesMessageRequestTypeDef

modify_cluster_maintenance#

Modifies the maintenance settings of a cluster.

Type annotations and code completion for boto3.client("redshift").modify_cluster_maintenance method. boto3 documentation

# modify_cluster_maintenance method definition

def modify_cluster_maintenance(
    self,
    *,
    ClusterIdentifier: str,
    DeferMaintenance: bool = ...,
    DeferMaintenanceIdentifier: str = ...,
    DeferMaintenanceStartTime: Union[datetime, str] = ...,
    DeferMaintenanceEndTime: Union[datetime, str] = ...,
    DeferMaintenanceDuration: int = ...,
) -> ModifyClusterMaintenanceResultTypeDef:  # (1)
    ...
  1. See ModifyClusterMaintenanceResultTypeDef
# modify_cluster_maintenance method usage example with argument unpacking

kwargs: ModifyClusterMaintenanceMessageRequestTypeDef = {  # (1)
    "ClusterIdentifier": ...,
}

parent.modify_cluster_maintenance(**kwargs)
  1. See ModifyClusterMaintenanceMessageRequestTypeDef

modify_cluster_parameter_group#

Modifies the parameters of a parameter group.

Type annotations and code completion for boto3.client("redshift").modify_cluster_parameter_group method. boto3 documentation

# modify_cluster_parameter_group method definition

def modify_cluster_parameter_group(
    self,
    *,
    ParameterGroupName: str,
    Parameters: Sequence[ParameterTypeDef],  # (1)
) -> ClusterParameterGroupNameMessageTypeDef:  # (2)
    ...
  1. See ParameterTypeDef
  2. See ClusterParameterGroupNameMessageTypeDef
# modify_cluster_parameter_group method usage example with argument unpacking

kwargs: ModifyClusterParameterGroupMessageRequestTypeDef = {  # (1)
    "ParameterGroupName": ...,
    "Parameters": ...,
}

parent.modify_cluster_parameter_group(**kwargs)
  1. See ModifyClusterParameterGroupMessageRequestTypeDef

modify_cluster_snapshot#

Modifies the settings for a snapshot.

Type annotations and code completion for boto3.client("redshift").modify_cluster_snapshot method. boto3 documentation

# modify_cluster_snapshot method definition

def modify_cluster_snapshot(
    self,
    *,
    SnapshotIdentifier: str,
    ManualSnapshotRetentionPeriod: int = ...,
    Force: bool = ...,
) -> ModifyClusterSnapshotResultTypeDef:  # (1)
    ...
  1. See ModifyClusterSnapshotResultTypeDef
# modify_cluster_snapshot method usage example with argument unpacking

kwargs: ModifyClusterSnapshotMessageRequestTypeDef = {  # (1)
    "SnapshotIdentifier": ...,
}

parent.modify_cluster_snapshot(**kwargs)
  1. See ModifyClusterSnapshotMessageRequestTypeDef

modify_cluster_snapshot_schedule#

Modifies a snapshot schedule for a cluster.

Type annotations and code completion for boto3.client("redshift").modify_cluster_snapshot_schedule method. boto3 documentation

# modify_cluster_snapshot_schedule method definition

def modify_cluster_snapshot_schedule(
    self,
    *,
    ClusterIdentifier: str,
    ScheduleIdentifier: str = ...,
    DisassociateSchedule: bool = ...,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# modify_cluster_snapshot_schedule method usage example with argument unpacking

kwargs: ModifyClusterSnapshotScheduleMessageRequestTypeDef = {  # (1)
    "ClusterIdentifier": ...,
}

parent.modify_cluster_snapshot_schedule(**kwargs)
  1. See ModifyClusterSnapshotScheduleMessageRequestTypeDef

modify_cluster_subnet_group#

Modifies a cluster subnet group to include the specified list of VPC subnets.

Type annotations and code completion for boto3.client("redshift").modify_cluster_subnet_group method. boto3 documentation

# modify_cluster_subnet_group method definition

def modify_cluster_subnet_group(
    self,
    *,
    ClusterSubnetGroupName: str,
    SubnetIds: Sequence[str],
    Description: str = ...,
) -> ModifyClusterSubnetGroupResultTypeDef:  # (1)
    ...
  1. See ModifyClusterSubnetGroupResultTypeDef
# modify_cluster_subnet_group method usage example with argument unpacking

kwargs: ModifyClusterSubnetGroupMessageRequestTypeDef = {  # (1)
    "ClusterSubnetGroupName": ...,
    "SubnetIds": ...,
}

parent.modify_cluster_subnet_group(**kwargs)
  1. See ModifyClusterSubnetGroupMessageRequestTypeDef

modify_custom_domain_association#

Contains information for changing a custom domain association.

Type annotations and code completion for boto3.client("redshift").modify_custom_domain_association method. boto3 documentation

# modify_custom_domain_association method definition

def modify_custom_domain_association(
    self,
    *,
    CustomDomainName: str,
    CustomDomainCertificateArn: str,
    ClusterIdentifier: str,
) -> ModifyCustomDomainAssociationResultTypeDef:  # (1)
    ...
  1. See ModifyCustomDomainAssociationResultTypeDef
# modify_custom_domain_association method usage example with argument unpacking

kwargs: ModifyCustomDomainAssociationMessageRequestTypeDef = {  # (1)
    "CustomDomainName": ...,
    "CustomDomainCertificateArn": ...,
    "ClusterIdentifier": ...,
}

parent.modify_custom_domain_association(**kwargs)
  1. See ModifyCustomDomainAssociationMessageRequestTypeDef

modify_endpoint_access#

Modifies a Redshift-managed VPC endpoint.

Type annotations and code completion for boto3.client("redshift").modify_endpoint_access method. boto3 documentation

# modify_endpoint_access method definition

def modify_endpoint_access(
    self,
    *,
    EndpointName: str,
    VpcSecurityGroupIds: Sequence[str] = ...,
) -> EndpointAccessResponseTypeDef:  # (1)
    ...
  1. See EndpointAccessResponseTypeDef
# modify_endpoint_access method usage example with argument unpacking

kwargs: ModifyEndpointAccessMessageRequestTypeDef = {  # (1)
    "EndpointName": ...,
}

parent.modify_endpoint_access(**kwargs)
  1. See ModifyEndpointAccessMessageRequestTypeDef

modify_event_subscription#

Modifies an existing Amazon Redshift event notification subscription.

Type annotations and code completion for boto3.client("redshift").modify_event_subscription method. boto3 documentation

# modify_event_subscription method definition

def modify_event_subscription(
    self,
    *,
    SubscriptionName: str,
    SnsTopicArn: str = ...,
    SourceType: str = ...,
    SourceIds: Sequence[str] = ...,
    EventCategories: Sequence[str] = ...,
    Severity: str = ...,
    Enabled: bool = ...,
) -> ModifyEventSubscriptionResultTypeDef:  # (1)
    ...
  1. See ModifyEventSubscriptionResultTypeDef
# modify_event_subscription method usage example with argument unpacking

kwargs: ModifyEventSubscriptionMessageRequestTypeDef = {  # (1)
    "SubscriptionName": ...,
}

parent.modify_event_subscription(**kwargs)
  1. See ModifyEventSubscriptionMessageRequestTypeDef

modify_redshift_idc_application#

Changes an existing Amazon Redshift IAM Identity Center application.

Type annotations and code completion for boto3.client("redshift").modify_redshift_idc_application method. boto3 documentation

# modify_redshift_idc_application method definition

def modify_redshift_idc_application(
    self,
    *,
    RedshiftIdcApplicationArn: str,
    IdentityNamespace: str = ...,
    IamRoleArn: str = ...,
    IdcDisplayName: str = ...,
    AuthorizedTokenIssuerList: Sequence[AuthorizedTokenIssuerTypeDef] = ...,  # (1)
    ServiceIntegrations: Sequence[ServiceIntegrationsUnionTypeDef] = ...,  # (2)
) -> ModifyRedshiftIdcApplicationResultTypeDef:  # (3)
    ...
  1. See AuthorizedTokenIssuerTypeDef
  2. See ServiceIntegrationsUnionTypeDef
  3. See ModifyRedshiftIdcApplicationResultTypeDef
# modify_redshift_idc_application method usage example with argument unpacking

kwargs: ModifyRedshiftIdcApplicationMessageRequestTypeDef = {  # (1)
    "RedshiftIdcApplicationArn": ...,
}

parent.modify_redshift_idc_application(**kwargs)
  1. See ModifyRedshiftIdcApplicationMessageRequestTypeDef

modify_scheduled_action#

Modifies a scheduled action.

Type annotations and code completion for boto3.client("redshift").modify_scheduled_action method. boto3 documentation

# modify_scheduled_action method definition

def modify_scheduled_action(
    self,
    *,
    ScheduledActionName: str,
    TargetAction: ScheduledActionTypeTypeDef = ...,  # (1)
    Schedule: str = ...,
    IamRole: str = ...,
    ScheduledActionDescription: str = ...,
    StartTime: Union[datetime, str] = ...,
    EndTime: Union[datetime, str] = ...,
    Enable: bool = ...,
) -> ScheduledActionResponseTypeDef:  # (2)
    ...
  1. See ScheduledActionTypeTypeDef
  2. See ScheduledActionResponseTypeDef
# modify_scheduled_action method usage example with argument unpacking

kwargs: ModifyScheduledActionMessageRequestTypeDef = {  # (1)
    "ScheduledActionName": ...,
}

parent.modify_scheduled_action(**kwargs)
  1. See ModifyScheduledActionMessageRequestTypeDef

modify_snapshot_copy_retention_period#

Modifies the number of days to retain snapshots in the destination Amazon Web Services Region after they are copied from the source Amazon Web Services Region.

Type annotations and code completion for boto3.client("redshift").modify_snapshot_copy_retention_period method. boto3 documentation

# modify_snapshot_copy_retention_period method definition

def modify_snapshot_copy_retention_period(
    self,
    *,
    ClusterIdentifier: str,
    RetentionPeriod: int,
    Manual: bool = ...,
) -> ModifySnapshotCopyRetentionPeriodResultTypeDef:  # (1)
    ...
  1. See ModifySnapshotCopyRetentionPeriodResultTypeDef
# modify_snapshot_copy_retention_period method usage example with argument unpacking

kwargs: ModifySnapshotCopyRetentionPeriodMessageRequestTypeDef = {  # (1)
    "ClusterIdentifier": ...,
    "RetentionPeriod": ...,
}

parent.modify_snapshot_copy_retention_period(**kwargs)
  1. See ModifySnapshotCopyRetentionPeriodMessageRequestTypeDef

modify_snapshot_schedule#

Modifies a snapshot schedule.

Type annotations and code completion for boto3.client("redshift").modify_snapshot_schedule method. boto3 documentation

# modify_snapshot_schedule method definition

def modify_snapshot_schedule(
    self,
    *,
    ScheduleIdentifier: str,
    ScheduleDefinitions: Sequence[str],
) -> SnapshotScheduleResponseTypeDef:  # (1)
    ...
  1. See SnapshotScheduleResponseTypeDef
# modify_snapshot_schedule method usage example with argument unpacking

kwargs: ModifySnapshotScheduleMessageRequestTypeDef = {  # (1)
    "ScheduleIdentifier": ...,
    "ScheduleDefinitions": ...,
}

parent.modify_snapshot_schedule(**kwargs)
  1. See ModifySnapshotScheduleMessageRequestTypeDef

modify_usage_limit#

Modifies a usage limit in a cluster.

Type annotations and code completion for boto3.client("redshift").modify_usage_limit method. boto3 documentation

# modify_usage_limit method definition

def modify_usage_limit(
    self,
    *,
    UsageLimitId: str,
    Amount: int = ...,
    BreachAction: UsageLimitBreachActionType = ...,  # (1)
) -> UsageLimitResponseTypeDef:  # (2)
    ...
  1. See UsageLimitBreachActionType
  2. See UsageLimitResponseTypeDef
# modify_usage_limit method usage example with argument unpacking

kwargs: ModifyUsageLimitMessageRequestTypeDef = {  # (1)
    "UsageLimitId": ...,
}

parent.modify_usage_limit(**kwargs)
  1. See ModifyUsageLimitMessageRequestTypeDef

pause_cluster#

Pauses a cluster.

Type annotations and code completion for boto3.client("redshift").pause_cluster method. boto3 documentation

# pause_cluster method definition

def pause_cluster(
    self,
    *,
    ClusterIdentifier: str,
) -> PauseClusterResultTypeDef:  # (1)
    ...
  1. See PauseClusterResultTypeDef
# pause_cluster method usage example with argument unpacking

kwargs: PauseClusterMessageRequestTypeDef = {  # (1)
    "ClusterIdentifier": ...,
}

parent.pause_cluster(**kwargs)
  1. See PauseClusterMessageRequestTypeDef

purchase_reserved_node_offering#

Allows you to purchase reserved nodes.

Type annotations and code completion for boto3.client("redshift").purchase_reserved_node_offering method. boto3 documentation

# purchase_reserved_node_offering method definition

def purchase_reserved_node_offering(
    self,
    *,
    ReservedNodeOfferingId: str,
    NodeCount: int = ...,
) -> PurchaseReservedNodeOfferingResultTypeDef:  # (1)
    ...
  1. See PurchaseReservedNodeOfferingResultTypeDef
# purchase_reserved_node_offering method usage example with argument unpacking

kwargs: PurchaseReservedNodeOfferingMessageRequestTypeDef = {  # (1)
    "ReservedNodeOfferingId": ...,
}

parent.purchase_reserved_node_offering(**kwargs)
  1. See PurchaseReservedNodeOfferingMessageRequestTypeDef

put_resource_policy#

Updates the resource policy for a specified resource.

Type annotations and code completion for boto3.client("redshift").put_resource_policy method. boto3 documentation

# put_resource_policy method definition

def put_resource_policy(
    self,
    *,
    ResourceArn: str,
    Policy: str,
) -> PutResourcePolicyResultTypeDef:  # (1)
    ...
  1. See PutResourcePolicyResultTypeDef
# put_resource_policy method usage example with argument unpacking

kwargs: PutResourcePolicyMessageRequestTypeDef = {  # (1)
    "ResourceArn": ...,
    "Policy": ...,
}

parent.put_resource_policy(**kwargs)
  1. See PutResourcePolicyMessageRequestTypeDef

reboot_cluster#

Reboots a cluster.

Type annotations and code completion for boto3.client("redshift").reboot_cluster method. boto3 documentation

# reboot_cluster method definition

def reboot_cluster(
    self,
    *,
    ClusterIdentifier: str,
) -> RebootClusterResultTypeDef:  # (1)
    ...
  1. See RebootClusterResultTypeDef
# reboot_cluster method usage example with argument unpacking

kwargs: RebootClusterMessageRequestTypeDef = {  # (1)
    "ClusterIdentifier": ...,
}

parent.reboot_cluster(**kwargs)
  1. See RebootClusterMessageRequestTypeDef

reject_data_share#

From a datashare consumer account, rejects the specified datashare.

Type annotations and code completion for boto3.client("redshift").reject_data_share method. boto3 documentation

# reject_data_share method definition

def reject_data_share(
    self,
    *,
    DataShareArn: str,
) -> DataShareResponseTypeDef:  # (1)
    ...
  1. See DataShareResponseTypeDef
# reject_data_share method usage example with argument unpacking

kwargs: RejectDataShareMessageRequestTypeDef = {  # (1)
    "DataShareArn": ...,
}

parent.reject_data_share(**kwargs)
  1. See RejectDataShareMessageRequestTypeDef

reset_cluster_parameter_group#

Sets one or more parameters of the specified parameter group to their default values and sets the source values of the parameters to "engine-default".

Type annotations and code completion for boto3.client("redshift").reset_cluster_parameter_group method. boto3 documentation

# reset_cluster_parameter_group method definition

def reset_cluster_parameter_group(
    self,
    *,
    ParameterGroupName: str,
    ResetAllParameters: bool = ...,
    Parameters: Sequence[ParameterTypeDef] = ...,  # (1)
) -> ClusterParameterGroupNameMessageTypeDef:  # (2)
    ...
  1. See ParameterTypeDef
  2. See ClusterParameterGroupNameMessageTypeDef
# reset_cluster_parameter_group method usage example with argument unpacking

kwargs: ResetClusterParameterGroupMessageRequestTypeDef = {  # (1)
    "ParameterGroupName": ...,
}

parent.reset_cluster_parameter_group(**kwargs)
  1. See ResetClusterParameterGroupMessageRequestTypeDef

resize_cluster#

Changes the size of the cluster.

Type annotations and code completion for boto3.client("redshift").resize_cluster method. boto3 documentation

# resize_cluster method definition

def resize_cluster(
    self,
    *,
    ClusterIdentifier: str,
    ClusterType: str = ...,
    NodeType: str = ...,
    NumberOfNodes: int = ...,
    Classic: bool = ...,
    ReservedNodeId: str = ...,
    TargetReservedNodeOfferingId: str = ...,
) -> ResizeClusterResultTypeDef:  # (1)
    ...
  1. See ResizeClusterResultTypeDef
# resize_cluster method usage example with argument unpacking

kwargs: ResizeClusterMessageRequestTypeDef = {  # (1)
    "ClusterIdentifier": ...,
}

parent.resize_cluster(**kwargs)
  1. See ResizeClusterMessageRequestTypeDef

restore_from_cluster_snapshot#

Creates a new cluster from a snapshot.

Type annotations and code completion for boto3.client("redshift").restore_from_cluster_snapshot method. boto3 documentation

# restore_from_cluster_snapshot method definition

def restore_from_cluster_snapshot(
    self,
    *,
    ClusterIdentifier: str,
    SnapshotIdentifier: str = ...,
    SnapshotArn: str = ...,
    SnapshotClusterIdentifier: str = ...,
    Port: int = ...,
    AvailabilityZone: str = ...,
    AllowVersionUpgrade: bool = ...,
    ClusterSubnetGroupName: str = ...,
    PubliclyAccessible: bool = ...,
    OwnerAccount: str = ...,
    HsmClientCertificateIdentifier: str = ...,
    HsmConfigurationIdentifier: str = ...,
    ElasticIp: str = ...,
    ClusterParameterGroupName: str = ...,
    ClusterSecurityGroups: Sequence[str] = ...,
    VpcSecurityGroupIds: Sequence[str] = ...,
    PreferredMaintenanceWindow: str = ...,
    AutomatedSnapshotRetentionPeriod: int = ...,
    ManualSnapshotRetentionPeriod: int = ...,
    KmsKeyId: str = ...,
    NodeType: str = ...,
    EnhancedVpcRouting: bool = ...,
    AdditionalInfo: str = ...,
    IamRoles: Sequence[str] = ...,
    MaintenanceTrackName: str = ...,
    SnapshotScheduleIdentifier: str = ...,
    NumberOfNodes: int = ...,
    AvailabilityZoneRelocation: bool = ...,
    AquaConfigurationStatus: AquaConfigurationStatusType = ...,  # (1)
    DefaultIamRoleArn: str = ...,
    ReservedNodeId: str = ...,
    TargetReservedNodeOfferingId: str = ...,
    Encrypted: bool = ...,
    ManageMasterPassword: bool = ...,
    MasterPasswordSecretKmsKeyId: str = ...,
    IpAddressType: str = ...,
    MultiAZ: bool = ...,
) -> RestoreFromClusterSnapshotResultTypeDef:  # (2)
    ...
  1. See AquaConfigurationStatusType
  2. See RestoreFromClusterSnapshotResultTypeDef
# restore_from_cluster_snapshot method usage example with argument unpacking

kwargs: RestoreFromClusterSnapshotMessageRequestTypeDef = {  # (1)
    "ClusterIdentifier": ...,
}

parent.restore_from_cluster_snapshot(**kwargs)
  1. See RestoreFromClusterSnapshotMessageRequestTypeDef

restore_table_from_cluster_snapshot#

Creates a new table from a table in an Amazon Redshift cluster snapshot.

Type annotations and code completion for boto3.client("redshift").restore_table_from_cluster_snapshot method. boto3 documentation

# restore_table_from_cluster_snapshot method definition

def restore_table_from_cluster_snapshot(
    self,
    *,
    ClusterIdentifier: str,
    SnapshotIdentifier: str,
    SourceDatabaseName: str,
    SourceTableName: str,
    NewTableName: str,
    SourceSchemaName: str = ...,
    TargetDatabaseName: str = ...,
    TargetSchemaName: str = ...,
    EnableCaseSensitiveIdentifier: bool = ...,
) -> RestoreTableFromClusterSnapshotResultTypeDef:  # (1)
    ...
  1. See RestoreTableFromClusterSnapshotResultTypeDef
# restore_table_from_cluster_snapshot method usage example with argument unpacking

kwargs: RestoreTableFromClusterSnapshotMessageRequestTypeDef = {  # (1)
    "ClusterIdentifier": ...,
    "SnapshotIdentifier": ...,
    "SourceDatabaseName": ...,
    "SourceTableName": ...,
    "NewTableName": ...,
}

parent.restore_table_from_cluster_snapshot(**kwargs)
  1. See RestoreTableFromClusterSnapshotMessageRequestTypeDef

resume_cluster#

Resumes a paused cluster.

Type annotations and code completion for boto3.client("redshift").resume_cluster method. boto3 documentation

# resume_cluster method definition

def resume_cluster(
    self,
    *,
    ClusterIdentifier: str,
) -> ResumeClusterResultTypeDef:  # (1)
    ...
  1. See ResumeClusterResultTypeDef
# resume_cluster method usage example with argument unpacking

kwargs: ResumeClusterMessageRequestTypeDef = {  # (1)
    "ClusterIdentifier": ...,
}

parent.resume_cluster(**kwargs)
  1. See ResumeClusterMessageRequestTypeDef

revoke_cluster_security_group_ingress#

Revokes an ingress rule in an Amazon Redshift security group for a previously authorized IP range or Amazon EC2 security group.

Type annotations and code completion for boto3.client("redshift").revoke_cluster_security_group_ingress method. boto3 documentation

# revoke_cluster_security_group_ingress method definition

def revoke_cluster_security_group_ingress(
    self,
    *,
    ClusterSecurityGroupName: str,
    CIDRIP: str = ...,
    EC2SecurityGroupName: str = ...,
    EC2SecurityGroupOwnerId: str = ...,
) -> RevokeClusterSecurityGroupIngressResultTypeDef:  # (1)
    ...
  1. See RevokeClusterSecurityGroupIngressResultTypeDef
# revoke_cluster_security_group_ingress method usage example with argument unpacking

kwargs: RevokeClusterSecurityGroupIngressMessageRequestTypeDef = {  # (1)
    "ClusterSecurityGroupName": ...,
}

parent.revoke_cluster_security_group_ingress(**kwargs)
  1. See RevokeClusterSecurityGroupIngressMessageRequestTypeDef

revoke_endpoint_access#

Revokes access to a cluster.

Type annotations and code completion for boto3.client("redshift").revoke_endpoint_access method. boto3 documentation

# revoke_endpoint_access method definition

def revoke_endpoint_access(
    self,
    *,
    ClusterIdentifier: str = ...,
    Account: str = ...,
    VpcIds: Sequence[str] = ...,
    Force: bool = ...,
) -> EndpointAuthorizationResponseTypeDef:  # (1)
    ...
  1. See EndpointAuthorizationResponseTypeDef
# revoke_endpoint_access method usage example with argument unpacking

kwargs: RevokeEndpointAccessMessageRequestTypeDef = {  # (1)
    "ClusterIdentifier": ...,
}

parent.revoke_endpoint_access(**kwargs)
  1. See RevokeEndpointAccessMessageRequestTypeDef

revoke_snapshot_access#

Removes the ability of the specified Amazon Web Services account to restore the specified snapshot.

Type annotations and code completion for boto3.client("redshift").revoke_snapshot_access method. boto3 documentation

# revoke_snapshot_access method definition

def revoke_snapshot_access(
    self,
    *,
    AccountWithRestoreAccess: str,
    SnapshotIdentifier: str = ...,
    SnapshotArn: str = ...,
    SnapshotClusterIdentifier: str = ...,
) -> RevokeSnapshotAccessResultTypeDef:  # (1)
    ...
  1. See RevokeSnapshotAccessResultTypeDef
# revoke_snapshot_access method usage example with argument unpacking

kwargs: RevokeSnapshotAccessMessageRequestTypeDef = {  # (1)
    "AccountWithRestoreAccess": ...,
}

parent.revoke_snapshot_access(**kwargs)
  1. See RevokeSnapshotAccessMessageRequestTypeDef

rotate_encryption_key#

Rotates the encryption keys for a cluster.

Type annotations and code completion for boto3.client("redshift").rotate_encryption_key method. boto3 documentation

# rotate_encryption_key method definition

def rotate_encryption_key(
    self,
    *,
    ClusterIdentifier: str,
) -> RotateEncryptionKeyResultTypeDef:  # (1)
    ...
  1. See RotateEncryptionKeyResultTypeDef
# rotate_encryption_key method usage example with argument unpacking

kwargs: RotateEncryptionKeyMessageRequestTypeDef = {  # (1)
    "ClusterIdentifier": ...,
}

parent.rotate_encryption_key(**kwargs)
  1. See RotateEncryptionKeyMessageRequestTypeDef

update_partner_status#

Updates the status of a partner integration.

Type annotations and code completion for boto3.client("redshift").update_partner_status method. boto3 documentation

# update_partner_status method definition

def update_partner_status(
    self,
    *,
    AccountId: str,
    ClusterIdentifier: str,
    DatabaseName: str,
    PartnerName: str,
    Status: PartnerIntegrationStatusType,  # (1)
    StatusMessage: str = ...,
) -> PartnerIntegrationOutputMessageTypeDef:  # (2)
    ...
  1. See PartnerIntegrationStatusType
  2. See PartnerIntegrationOutputMessageTypeDef
# update_partner_status method usage example with argument unpacking

kwargs: UpdatePartnerStatusInputMessageRequestTypeDef = {  # (1)
    "AccountId": ...,
    "ClusterIdentifier": ...,
    "DatabaseName": ...,
    "PartnerName": ...,
    "Status": ...,
}

parent.update_partner_status(**kwargs)
  1. See UpdatePartnerStatusInputMessageRequestTypeDef

get_paginator#

Type annotations and code completion for boto3.client("redshift").get_paginator method with overloads.

get_waiter#

Type annotations and code completion for boto3.client("redshift").get_waiter method with overloads.