How to use describe_reserved_node_exchange_status method in localstack

Best Python code snippet using localstack_python

__init__.pyi

Source:__init__.pyi Github

copy

Full Screen

1"""2Main interface for redshift service.3Usage::4 ```python5 import boto36 from mypy_boto3_redshift import (7 Client,8 ClusterAvailableWaiter,9 ClusterDeletedWaiter,10 ClusterRestoredWaiter,11 DescribeClusterDbRevisionsPaginator,12 DescribeClusterParameterGroupsPaginator,13 DescribeClusterParametersPaginator,14 DescribeClusterSecurityGroupsPaginator,15 DescribeClusterSnapshotsPaginator,16 DescribeClusterSubnetGroupsPaginator,17 DescribeClusterTracksPaginator,18 DescribeClusterVersionsPaginator,19 DescribeClustersPaginator,20 DescribeDataSharesForConsumerPaginator,21 DescribeDataSharesForProducerPaginator,22 DescribeDataSharesPaginator,23 DescribeDefaultClusterParametersPaginator,24 DescribeEndpointAccessPaginator,25 DescribeEndpointAuthorizationPaginator,26 DescribeEventSubscriptionsPaginator,27 DescribeEventsPaginator,28 DescribeHsmClientCertificatesPaginator,29 DescribeHsmConfigurationsPaginator,30 DescribeNodeConfigurationOptionsPaginator,31 DescribeOrderableClusterOptionsPaginator,32 DescribeReservedNodeExchangeStatusPaginator,33 DescribeReservedNodeOfferingsPaginator,34 DescribeReservedNodesPaginator,35 DescribeScheduledActionsPaginator,36 DescribeSnapshotCopyGrantsPaginator,37 DescribeSnapshotSchedulesPaginator,38 DescribeTableRestoreStatusPaginator,39 DescribeTagsPaginator,40 DescribeUsageLimitsPaginator,41 GetReservedNodeExchangeConfigurationOptionsPaginator,42 GetReservedNodeExchangeOfferingsPaginator,43 RedshiftClient,44 SnapshotAvailableWaiter,45 )46 session = boto3.Session()47 client: RedshiftClient = boto3.client("redshift")48 session_client: RedshiftClient = session.client("redshift")49 cluster_available_waiter: ClusterAvailableWaiter = client.get_waiter("cluster_available")50 cluster_deleted_waiter: ClusterDeletedWaiter = client.get_waiter("cluster_deleted")51 cluster_restored_waiter: ClusterRestoredWaiter = client.get_waiter("cluster_restored")52 snapshot_available_waiter: SnapshotAvailableWaiter = client.get_waiter("snapshot_available")53 describe_cluster_db_revisions_paginator: DescribeClusterDbRevisionsPaginator = client.get_paginator("describe_cluster_db_revisions")54 describe_cluster_parameter_groups_paginator: DescribeClusterParameterGroupsPaginator = client.get_paginator("describe_cluster_parameter_groups")55 describe_cluster_parameters_paginator: DescribeClusterParametersPaginator = client.get_paginator("describe_cluster_parameters")56 describe_cluster_security_groups_paginator: DescribeClusterSecurityGroupsPaginator = client.get_paginator("describe_cluster_security_groups")57 describe_cluster_snapshots_paginator: DescribeClusterSnapshotsPaginator = client.get_paginator("describe_cluster_snapshots")58 describe_cluster_subnet_groups_paginator: DescribeClusterSubnetGroupsPaginator = client.get_paginator("describe_cluster_subnet_groups")59 describe_cluster_tracks_paginator: DescribeClusterTracksPaginator = client.get_paginator("describe_cluster_tracks")60 describe_cluster_versions_paginator: DescribeClusterVersionsPaginator = client.get_paginator("describe_cluster_versions")61 describe_clusters_paginator: DescribeClustersPaginator = client.get_paginator("describe_clusters")62 describe_data_shares_paginator: DescribeDataSharesPaginator = client.get_paginator("describe_data_shares")63 describe_data_shares_for_consumer_paginator: DescribeDataSharesForConsumerPaginator = client.get_paginator("describe_data_shares_for_consumer")64 describe_data_shares_for_producer_paginator: DescribeDataSharesForProducerPaginator = client.get_paginator("describe_data_shares_for_producer")65 describe_default_cluster_parameters_paginator: DescribeDefaultClusterParametersPaginator = client.get_paginator("describe_default_cluster_parameters")66 describe_endpoint_access_paginator: DescribeEndpointAccessPaginator = client.get_paginator("describe_endpoint_access")67 describe_endpoint_authorization_paginator: DescribeEndpointAuthorizationPaginator = client.get_paginator("describe_endpoint_authorization")68 describe_event_subscriptions_paginator: DescribeEventSubscriptionsPaginator = client.get_paginator("describe_event_subscriptions")69 describe_events_paginator: DescribeEventsPaginator = client.get_paginator("describe_events")70 describe_hsm_client_certificates_paginator: DescribeHsmClientCertificatesPaginator = client.get_paginator("describe_hsm_client_certificates")71 describe_hsm_configurations_paginator: DescribeHsmConfigurationsPaginator = client.get_paginator("describe_hsm_configurations")72 describe_node_configuration_options_paginator: DescribeNodeConfigurationOptionsPaginator = client.get_paginator("describe_node_configuration_options")73 describe_orderable_cluster_options_paginator: DescribeOrderableClusterOptionsPaginator = client.get_paginator("describe_orderable_cluster_options")74 describe_reserved_node_exchange_status_paginator: DescribeReservedNodeExchangeStatusPaginator = client.get_paginator("describe_reserved_node_exchange_status")75 describe_reserved_node_offerings_paginator: DescribeReservedNodeOfferingsPaginator = client.get_paginator("describe_reserved_node_offerings")76 describe_reserved_nodes_paginator: DescribeReservedNodesPaginator = client.get_paginator("describe_reserved_nodes")77 describe_scheduled_actions_paginator: DescribeScheduledActionsPaginator = client.get_paginator("describe_scheduled_actions")78 describe_snapshot_copy_grants_paginator: DescribeSnapshotCopyGrantsPaginator = client.get_paginator("describe_snapshot_copy_grants")79 describe_snapshot_schedules_paginator: DescribeSnapshotSchedulesPaginator = client.get_paginator("describe_snapshot_schedules")80 describe_table_restore_status_paginator: DescribeTableRestoreStatusPaginator = client.get_paginator("describe_table_restore_status")81 describe_tags_paginator: DescribeTagsPaginator = client.get_paginator("describe_tags")82 describe_usage_limits_paginator: DescribeUsageLimitsPaginator = client.get_paginator("describe_usage_limits")83 get_reserved_node_exchange_configuration_options_paginator: GetReservedNodeExchangeConfigurationOptionsPaginator = client.get_paginator("get_reserved_node_exchange_configuration_options")84 get_reserved_node_exchange_offerings_paginator: GetReservedNodeExchangeOfferingsPaginator = client.get_paginator("get_reserved_node_exchange_offerings")85 ```86"""87from .client import RedshiftClient88from .paginator import (89 DescribeClusterDbRevisionsPaginator,90 DescribeClusterParameterGroupsPaginator,91 DescribeClusterParametersPaginator,92 DescribeClusterSecurityGroupsPaginator,93 DescribeClusterSnapshotsPaginator,94 DescribeClustersPaginator,95 DescribeClusterSubnetGroupsPaginator,96 DescribeClusterTracksPaginator,97 DescribeClusterVersionsPaginator,98 DescribeDataSharesForConsumerPaginator,99 DescribeDataSharesForProducerPaginator,100 DescribeDataSharesPaginator,101 DescribeDefaultClusterParametersPaginator,102 DescribeEndpointAccessPaginator,103 DescribeEndpointAuthorizationPaginator,104 DescribeEventsPaginator,105 DescribeEventSubscriptionsPaginator,106 DescribeHsmClientCertificatesPaginator,107 DescribeHsmConfigurationsPaginator,108 DescribeNodeConfigurationOptionsPaginator,109 DescribeOrderableClusterOptionsPaginator,110 DescribeReservedNodeExchangeStatusPaginator,111 DescribeReservedNodeOfferingsPaginator,112 DescribeReservedNodesPaginator,113 DescribeScheduledActionsPaginator,114 DescribeSnapshotCopyGrantsPaginator,115 DescribeSnapshotSchedulesPaginator,116 DescribeTableRestoreStatusPaginator,117 DescribeTagsPaginator,118 DescribeUsageLimitsPaginator,119 GetReservedNodeExchangeConfigurationOptionsPaginator,120 GetReservedNodeExchangeOfferingsPaginator,121)122from .waiter import (123 ClusterAvailableWaiter,124 ClusterDeletedWaiter,125 ClusterRestoredWaiter,126 SnapshotAvailableWaiter,127)128Client = RedshiftClient129__all__ = (130 "Client",131 "ClusterAvailableWaiter",132 "ClusterDeletedWaiter",133 "ClusterRestoredWaiter",134 "DescribeClusterDbRevisionsPaginator",135 "DescribeClusterParameterGroupsPaginator",136 "DescribeClusterParametersPaginator",137 "DescribeClusterSecurityGroupsPaginator",138 "DescribeClusterSnapshotsPaginator",139 "DescribeClusterSubnetGroupsPaginator",140 "DescribeClusterTracksPaginator",141 "DescribeClusterVersionsPaginator",142 "DescribeClustersPaginator",143 "DescribeDataSharesForConsumerPaginator",144 "DescribeDataSharesForProducerPaginator",145 "DescribeDataSharesPaginator",146 "DescribeDefaultClusterParametersPaginator",147 "DescribeEndpointAccessPaginator",148 "DescribeEndpointAuthorizationPaginator",149 "DescribeEventSubscriptionsPaginator",150 "DescribeEventsPaginator",151 "DescribeHsmClientCertificatesPaginator",152 "DescribeHsmConfigurationsPaginator",153 "DescribeNodeConfigurationOptionsPaginator",154 "DescribeOrderableClusterOptionsPaginator",155 "DescribeReservedNodeExchangeStatusPaginator",156 "DescribeReservedNodeOfferingsPaginator",157 "DescribeReservedNodesPaginator",158 "DescribeScheduledActionsPaginator",159 "DescribeSnapshotCopyGrantsPaginator",160 "DescribeSnapshotSchedulesPaginator",161 "DescribeTableRestoreStatusPaginator",162 "DescribeTagsPaginator",163 "DescribeUsageLimitsPaginator",164 "GetReservedNodeExchangeConfigurationOptionsPaginator",165 "GetReservedNodeExchangeOfferingsPaginator",166 "RedshiftClient",167 "SnapshotAvailableWaiter",...

Full Screen

Full Screen

literals.pyi

Source:literals.pyi Github

copy

Full Screen

1"""2Type annotations for redshift service literal definitions.3[Open documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_redshift/literals.html)4Usage::5 ```python6 from mypy_boto3_redshift.literals import ActionTypeType7 data: ActionTypeType = "recommend-node-config"8 ```9"""10import sys11if sys.version_info >= (3, 8):12 from typing import Literal13else:14 from typing_extensions import Literal15__all__ = (16 "ActionTypeType",17 "AquaConfigurationStatusType",18 "AquaStatusType",19 "AuthorizationStatusType",20 "ClusterAvailableWaiterName",21 "ClusterDeletedWaiterName",22 "ClusterRestoredWaiterName",23 "DataShareStatusForConsumerType",24 "DataShareStatusForProducerType",25 "DataShareStatusType",26 "DescribeClusterDbRevisionsPaginatorName",27 "DescribeClusterParameterGroupsPaginatorName",28 "DescribeClusterParametersPaginatorName",29 "DescribeClusterSecurityGroupsPaginatorName",30 "DescribeClusterSnapshotsPaginatorName",31 "DescribeClusterSubnetGroupsPaginatorName",32 "DescribeClusterTracksPaginatorName",33 "DescribeClusterVersionsPaginatorName",34 "DescribeClustersPaginatorName",35 "DescribeDataSharesForConsumerPaginatorName",36 "DescribeDataSharesForProducerPaginatorName",37 "DescribeDataSharesPaginatorName",38 "DescribeDefaultClusterParametersPaginatorName",39 "DescribeEndpointAccessPaginatorName",40 "DescribeEndpointAuthorizationPaginatorName",41 "DescribeEventSubscriptionsPaginatorName",42 "DescribeEventsPaginatorName",43 "DescribeHsmClientCertificatesPaginatorName",44 "DescribeHsmConfigurationsPaginatorName",45 "DescribeNodeConfigurationOptionsPaginatorName",46 "DescribeOrderableClusterOptionsPaginatorName",47 "DescribeReservedNodeExchangeStatusPaginatorName",48 "DescribeReservedNodeOfferingsPaginatorName",49 "DescribeReservedNodesPaginatorName",50 "DescribeScheduledActionsPaginatorName",51 "DescribeSnapshotCopyGrantsPaginatorName",52 "DescribeSnapshotSchedulesPaginatorName",53 "DescribeTableRestoreStatusPaginatorName",54 "DescribeTagsPaginatorName",55 "DescribeUsageLimitsPaginatorName",56 "GetReservedNodeExchangeConfigurationOptionsPaginatorName",57 "GetReservedNodeExchangeOfferingsPaginatorName",58 "LogDestinationTypeType",59 "ModeType",60 "NodeConfigurationOptionsFilterNameType",61 "OperatorTypeType",62 "ParameterApplyTypeType",63 "PartnerIntegrationStatusType",64 "ReservedNodeExchangeActionTypeType",65 "ReservedNodeExchangeStatusTypeType",66 "ReservedNodeOfferingTypeType",67 "ScheduleStateType",68 "ScheduledActionFilterNameType",69 "ScheduledActionStateType",70 "ScheduledActionTypeValuesType",71 "SnapshotAttributeToSortByType",72 "SnapshotAvailableWaiterName",73 "SortByOrderType",74 "SourceTypeType",75 "TableRestoreStatusTypeType",76 "UsageLimitBreachActionType",77 "UsageLimitFeatureTypeType",78 "UsageLimitLimitTypeType",79 "UsageLimitPeriodType",80)81ActionTypeType = Literal["recommend-node-config", "resize-cluster", "restore-cluster"]82AquaConfigurationStatusType = Literal["auto", "disabled", "enabled"]83AquaStatusType = Literal["applying", "disabled", "enabled"]84AuthorizationStatusType = Literal["Authorized", "Revoking"]85ClusterAvailableWaiterName = Literal["cluster_available"]86ClusterDeletedWaiterName = Literal["cluster_deleted"]87ClusterRestoredWaiterName = Literal["cluster_restored"]88DataShareStatusForConsumerType = Literal["ACTIVE", "AVAILABLE"]89DataShareStatusForProducerType = Literal[90 "ACTIVE", "AUTHORIZED", "DEAUTHORIZED", "PENDING_AUTHORIZATION", "REJECTED"91]92DataShareStatusType = Literal[93 "ACTIVE", "AUTHORIZED", "AVAILABLE", "DEAUTHORIZED", "PENDING_AUTHORIZATION", "REJECTED"94]95DescribeClusterDbRevisionsPaginatorName = Literal["describe_cluster_db_revisions"]96DescribeClusterParameterGroupsPaginatorName = Literal["describe_cluster_parameter_groups"]97DescribeClusterParametersPaginatorName = Literal["describe_cluster_parameters"]98DescribeClusterSecurityGroupsPaginatorName = Literal["describe_cluster_security_groups"]99DescribeClusterSnapshotsPaginatorName = Literal["describe_cluster_snapshots"]100DescribeClusterSubnetGroupsPaginatorName = Literal["describe_cluster_subnet_groups"]101DescribeClusterTracksPaginatorName = Literal["describe_cluster_tracks"]102DescribeClusterVersionsPaginatorName = Literal["describe_cluster_versions"]103DescribeClustersPaginatorName = Literal["describe_clusters"]104DescribeDataSharesForConsumerPaginatorName = Literal["describe_data_shares_for_consumer"]105DescribeDataSharesForProducerPaginatorName = Literal["describe_data_shares_for_producer"]106DescribeDataSharesPaginatorName = Literal["describe_data_shares"]107DescribeDefaultClusterParametersPaginatorName = Literal["describe_default_cluster_parameters"]108DescribeEndpointAccessPaginatorName = Literal["describe_endpoint_access"]109DescribeEndpointAuthorizationPaginatorName = Literal["describe_endpoint_authorization"]110DescribeEventSubscriptionsPaginatorName = Literal["describe_event_subscriptions"]111DescribeEventsPaginatorName = Literal["describe_events"]112DescribeHsmClientCertificatesPaginatorName = Literal["describe_hsm_client_certificates"]113DescribeHsmConfigurationsPaginatorName = Literal["describe_hsm_configurations"]114DescribeNodeConfigurationOptionsPaginatorName = Literal["describe_node_configuration_options"]115DescribeOrderableClusterOptionsPaginatorName = Literal["describe_orderable_cluster_options"]116DescribeReservedNodeExchangeStatusPaginatorName = Literal["describe_reserved_node_exchange_status"]117DescribeReservedNodeOfferingsPaginatorName = Literal["describe_reserved_node_offerings"]118DescribeReservedNodesPaginatorName = Literal["describe_reserved_nodes"]119DescribeScheduledActionsPaginatorName = Literal["describe_scheduled_actions"]120DescribeSnapshotCopyGrantsPaginatorName = Literal["describe_snapshot_copy_grants"]121DescribeSnapshotSchedulesPaginatorName = Literal["describe_snapshot_schedules"]122DescribeTableRestoreStatusPaginatorName = Literal["describe_table_restore_status"]123DescribeTagsPaginatorName = Literal["describe_tags"]124DescribeUsageLimitsPaginatorName = Literal["describe_usage_limits"]125GetReservedNodeExchangeConfigurationOptionsPaginatorName = Literal[126 "get_reserved_node_exchange_configuration_options"127]128GetReservedNodeExchangeOfferingsPaginatorName = Literal["get_reserved_node_exchange_offerings"]129LogDestinationTypeType = Literal["cloudwatch", "s3"]130ModeType = Literal["high-performance", "standard"]131NodeConfigurationOptionsFilterNameType = Literal[132 "EstimatedDiskUtilizationPercent", "Mode", "NodeType", "NumberOfNodes"133]134OperatorTypeType = Literal["between", "eq", "ge", "gt", "in", "le", "lt"]135ParameterApplyTypeType = Literal["dynamic", "static"]136PartnerIntegrationStatusType = Literal["Active", "ConnectionFailure", "Inactive", "RuntimeFailure"]137ReservedNodeExchangeActionTypeType = Literal["resize-cluster", "restore-cluster"]138ReservedNodeExchangeStatusTypeType = Literal[139 "FAILED", "IN_PROGRESS", "PENDING", "REQUESTED", "RETRYING", "SUCCEEDED"140]141ReservedNodeOfferingTypeType = Literal["Regular", "Upgradable"]142ScheduleStateType = Literal["ACTIVE", "FAILED", "MODIFYING"]143ScheduledActionFilterNameType = Literal["cluster-identifier", "iam-role"]144ScheduledActionStateType = Literal["ACTIVE", "DISABLED"]145ScheduledActionTypeValuesType = Literal["PauseCluster", "ResizeCluster", "ResumeCluster"]146SnapshotAttributeToSortByType = Literal["CREATE_TIME", "SOURCE_TYPE", "TOTAL_SIZE"]147SnapshotAvailableWaiterName = Literal["snapshot_available"]148SortByOrderType = Literal["ASC", "DESC"]149SourceTypeType = Literal[150 "cluster",151 "cluster-parameter-group",152 "cluster-security-group",153 "cluster-snapshot",154 "scheduled-action",155]156TableRestoreStatusTypeType = Literal["CANCELED", "FAILED", "IN_PROGRESS", "PENDING", "SUCCEEDED"]157UsageLimitBreachActionType = Literal["disable", "emit-metric", "log"]158UsageLimitFeatureTypeType = Literal["concurrency-scaling", "cross-region-datasharing", "spectrum"]159UsageLimitLimitTypeType = Literal["data-scanned", "time"]...

Full Screen

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run localstack automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful