Enum Error

Source
#[non_exhaustive]
pub enum Error {
Show 143 variants AccessToClusterDeniedFault(AccessToClusterDeniedFault), AccessToSnapshotDeniedFault(AccessToSnapshotDeniedFault), AuthenticationProfileAlreadyExistsFault(AuthenticationProfileAlreadyExistsFault), AuthenticationProfileNotFoundFault(AuthenticationProfileNotFoundFault), AuthenticationProfileQuotaExceededFault(AuthenticationProfileQuotaExceededFault), AuthorizationAlreadyExistsFault(AuthorizationAlreadyExistsFault), AuthorizationNotFoundFault(AuthorizationNotFoundFault), AuthorizationQuotaExceededFault(AuthorizationQuotaExceededFault), BatchDeleteRequestSizeExceededFault(BatchDeleteRequestSizeExceededFault), BatchModifyClusterSnapshotsLimitExceededFault(BatchModifyClusterSnapshotsLimitExceededFault), BucketNotFoundFault(BucketNotFoundFault), ClusterAlreadyExistsFault(ClusterAlreadyExistsFault), ClusterNotFoundFault(ClusterNotFoundFault), ClusterOnLatestRevisionFault(ClusterOnLatestRevisionFault), ClusterParameterGroupAlreadyExistsFault(ClusterParameterGroupAlreadyExistsFault), ClusterParameterGroupNotFoundFault(ClusterParameterGroupNotFoundFault), ClusterParameterGroupQuotaExceededFault(ClusterParameterGroupQuotaExceededFault), ClusterQuotaExceededFault(ClusterQuotaExceededFault), ClusterSecurityGroupAlreadyExistsFault(ClusterSecurityGroupAlreadyExistsFault), ClusterSecurityGroupNotFoundFault(ClusterSecurityGroupNotFoundFault), ClusterSecurityGroupQuotaExceededFault(ClusterSecurityGroupQuotaExceededFault), ClusterSnapshotAlreadyExistsFault(ClusterSnapshotAlreadyExistsFault), ClusterSnapshotNotFoundFault(ClusterSnapshotNotFoundFault), ClusterSnapshotQuotaExceededFault(ClusterSnapshotQuotaExceededFault), ClusterSubnetGroupAlreadyExistsFault(ClusterSubnetGroupAlreadyExistsFault), ClusterSubnetGroupNotFoundFault(ClusterSubnetGroupNotFoundFault), ClusterSubnetGroupQuotaExceededFault(ClusterSubnetGroupQuotaExceededFault), ClusterSubnetQuotaExceededFault(ClusterSubnetQuotaExceededFault), ConflictPolicyUpdateFault(ConflictPolicyUpdateFault), CopyToRegionDisabledFault(CopyToRegionDisabledFault), CustomCnameAssociationFault(CustomCnameAssociationFault), CustomDomainAssociationNotFoundFault(CustomDomainAssociationNotFoundFault), DependentServiceAccessDeniedFault(DependentServiceAccessDeniedFault), DependentServiceRequestThrottlingFault(DependentServiceRequestThrottlingFault), DependentServiceUnavailableFault(DependentServiceUnavailableFault), EndpointAlreadyExistsFault(EndpointAlreadyExistsFault), EndpointAuthorizationAlreadyExistsFault(EndpointAuthorizationAlreadyExistsFault), EndpointAuthorizationNotFoundFault(EndpointAuthorizationNotFoundFault), EndpointAuthorizationsPerClusterLimitExceededFault(EndpointAuthorizationsPerClusterLimitExceededFault), EndpointNotFoundFault(EndpointNotFoundFault), EndpointsPerAuthorizationLimitExceededFault(EndpointsPerAuthorizationLimitExceededFault), EndpointsPerClusterLimitExceededFault(EndpointsPerClusterLimitExceededFault), EventSubscriptionQuotaExceededFault(EventSubscriptionQuotaExceededFault), HsmClientCertificateAlreadyExistsFault(HsmClientCertificateAlreadyExistsFault), HsmClientCertificateNotFoundFault(HsmClientCertificateNotFoundFault), HsmClientCertificateQuotaExceededFault(HsmClientCertificateQuotaExceededFault), HsmConfigurationAlreadyExistsFault(HsmConfigurationAlreadyExistsFault), HsmConfigurationNotFoundFault(HsmConfigurationNotFoundFault), HsmConfigurationQuotaExceededFault(HsmConfigurationQuotaExceededFault), InProgressTableRestoreQuotaExceededFault(InProgressTableRestoreQuotaExceededFault), IncompatibleOrderableOptions(IncompatibleOrderableOptions), InsufficientClusterCapacityFault(InsufficientClusterCapacityFault), InsufficientS3BucketPolicyFault(InsufficientS3BucketPolicyFault), IntegrationAlreadyExistsFault(IntegrationAlreadyExistsFault), IntegrationConflictOperationFault(IntegrationConflictOperationFault), IntegrationConflictStateFault(IntegrationConflictStateFault), IntegrationNotFoundFault(IntegrationNotFoundFault), IntegrationQuotaExceededFault(IntegrationQuotaExceededFault), IntegrationSourceNotFoundFault(IntegrationSourceNotFoundFault), IntegrationTargetNotFoundFault(IntegrationTargetNotFoundFault), InvalidAuthenticationProfileRequestFault(InvalidAuthenticationProfileRequestFault), InvalidAuthorizationStateFault(InvalidAuthorizationStateFault), InvalidClusterParameterGroupStateFault(InvalidClusterParameterGroupStateFault), InvalidClusterSecurityGroupStateFault(InvalidClusterSecurityGroupStateFault), InvalidClusterSnapshotScheduleStateFault(InvalidClusterSnapshotScheduleStateFault), InvalidClusterSnapshotStateFault(InvalidClusterSnapshotStateFault), InvalidClusterStateFault(InvalidClusterStateFault), InvalidClusterSubnetGroupStateFault(InvalidClusterSubnetGroupStateFault), InvalidClusterSubnetStateFault(InvalidClusterSubnetStateFault), InvalidClusterTrackFault(InvalidClusterTrackFault), InvalidDataShareFault(InvalidDataShareFault), InvalidElasticIpFault(InvalidElasticIpFault), InvalidEndpointStateFault(InvalidEndpointStateFault), InvalidHsmClientCertificateStateFault(InvalidHsmClientCertificateStateFault), InvalidHsmConfigurationStateFault(InvalidHsmConfigurationStateFault), InvalidNamespaceFault(InvalidNamespaceFault), InvalidPolicyFault(InvalidPolicyFault), InvalidReservedNodeStateFault(InvalidReservedNodeStateFault), InvalidRestoreFault(InvalidRestoreFault), InvalidRetentionPeriodFault(InvalidRetentionPeriodFault), InvalidS3BucketNameFault(InvalidS3BucketNameFault), InvalidS3KeyPrefixFault(InvalidS3KeyPrefixFault), InvalidScheduleFault(InvalidScheduleFault), InvalidScheduledActionFault(InvalidScheduledActionFault), InvalidSnapshotCopyGrantStateFault(InvalidSnapshotCopyGrantStateFault), InvalidSubnet(InvalidSubnet), InvalidSubscriptionStateFault(InvalidSubscriptionStateFault), InvalidTableRestoreArgumentFault(InvalidTableRestoreArgumentFault), InvalidTagFault(InvalidTagFault), InvalidUsageLimitFault(InvalidUsageLimitFault), InvalidVpcNetworkStateFault(InvalidVpcNetworkStateFault), Ipv6CidrBlockNotFoundFault(Ipv6CidrBlockNotFoundFault), LimitExceededFault(LimitExceededFault), NumberOfNodesPerClusterLimitExceededFault(NumberOfNodesPerClusterLimitExceededFault), NumberOfNodesQuotaExceededFault(NumberOfNodesQuotaExceededFault), PartnerNotFoundFault(PartnerNotFoundFault), RedshiftIdcApplicationAlreadyExistsFault(RedshiftIdcApplicationAlreadyExistsFault), RedshiftIdcApplicationNotExistsFault(RedshiftIdcApplicationNotExistsFault), RedshiftIdcApplicationQuotaExceededFault(RedshiftIdcApplicationQuotaExceededFault), ReservedNodeAlreadyExistsFault(ReservedNodeAlreadyExistsFault), ReservedNodeAlreadyMigratedFault(ReservedNodeAlreadyMigratedFault), ReservedNodeExchangeNotFoundFault(ReservedNodeExchangeNotFoundFault), ReservedNodeNotFoundFault(ReservedNodeNotFoundFault), ReservedNodeOfferingNotFoundFault(ReservedNodeOfferingNotFoundFault), ReservedNodeQuotaExceededFault(ReservedNodeQuotaExceededFault), ResizeNotFoundFault(ResizeNotFoundFault), ResourceNotFoundFault(ResourceNotFoundFault), SnsInvalidTopicFault(SnsInvalidTopicFault), SnsNoAuthorizationFault(SnsNoAuthorizationFault), SnsTopicArnNotFoundFault(SnsTopicArnNotFoundFault), ScheduleDefinitionTypeUnsupportedFault(ScheduleDefinitionTypeUnsupportedFault), ScheduledActionAlreadyExistsFault(ScheduledActionAlreadyExistsFault), ScheduledActionNotFoundFault(ScheduledActionNotFoundFault), ScheduledActionQuotaExceededFault(ScheduledActionQuotaExceededFault), ScheduledActionTypeUnsupportedFault(ScheduledActionTypeUnsupportedFault), SnapshotCopyAlreadyDisabledFault(SnapshotCopyAlreadyDisabledFault), SnapshotCopyAlreadyEnabledFault(SnapshotCopyAlreadyEnabledFault), SnapshotCopyDisabledFault(SnapshotCopyDisabledFault), SnapshotCopyGrantAlreadyExistsFault(SnapshotCopyGrantAlreadyExistsFault), SnapshotCopyGrantNotFoundFault(SnapshotCopyGrantNotFoundFault), SnapshotCopyGrantQuotaExceededFault(SnapshotCopyGrantQuotaExceededFault), SnapshotScheduleAlreadyExistsFault(SnapshotScheduleAlreadyExistsFault), SnapshotScheduleNotFoundFault(SnapshotScheduleNotFoundFault), SnapshotScheduleQuotaExceededFault(SnapshotScheduleQuotaExceededFault), SnapshotScheduleUpdateInProgressFault(SnapshotScheduleUpdateInProgressFault), SourceNotFoundFault(SourceNotFoundFault), SubnetAlreadyInUse(SubnetAlreadyInUse), SubscriptionAlreadyExistFault(SubscriptionAlreadyExistFault), SubscriptionCategoryNotFoundFault(SubscriptionCategoryNotFoundFault), SubscriptionEventIdNotFoundFault(SubscriptionEventIdNotFoundFault), SubscriptionNotFoundFault(SubscriptionNotFoundFault), SubscriptionSeverityNotFoundFault(SubscriptionSeverityNotFoundFault), TableLimitExceededFault(TableLimitExceededFault), TableRestoreNotFoundFault(TableRestoreNotFoundFault), TagLimitExceededFault(TagLimitExceededFault), UnauthorizedOperation(UnauthorizedOperation), UnauthorizedPartnerIntegrationFault(UnauthorizedPartnerIntegrationFault), UnknownSnapshotCopyRegionFault(UnknownSnapshotCopyRegionFault), UnsupportedOperationFault(UnsupportedOperationFault), UnsupportedOptionFault(UnsupportedOptionFault), UsageLimitAlreadyExistsFault(UsageLimitAlreadyExistsFault), UsageLimitNotFoundFault(UsageLimitNotFoundFault), Unhandled(Unhandled),
}
Expand description

All possible error types for this service.

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

AccessToClusterDeniedFault(AccessToClusterDeniedFault)

You are not authorized to access the cluster.

§

AccessToSnapshotDeniedFault(AccessToSnapshotDeniedFault)

The owner of the specified snapshot has not authorized your account to access the snapshot.

§

AuthenticationProfileAlreadyExistsFault(AuthenticationProfileAlreadyExistsFault)

The authentication profile already exists.

§

AuthenticationProfileNotFoundFault(AuthenticationProfileNotFoundFault)

The authentication profile can't be found.

§

AuthenticationProfileQuotaExceededFault(AuthenticationProfileQuotaExceededFault)

The size or number of authentication profiles has exceeded the quota. The maximum length of the JSON string and maximum number of authentication profiles is determined by a quota for your account.

§

AuthorizationAlreadyExistsFault(AuthorizationAlreadyExistsFault)

The specified CIDR block or EC2 security group is already authorized for the specified cluster security group.

§

AuthorizationNotFoundFault(AuthorizationNotFoundFault)

The specified CIDR IP range or EC2 security group is not authorized for the specified cluster security group.

§

AuthorizationQuotaExceededFault(AuthorizationQuotaExceededFault)

The authorization quota for the cluster security group has been reached.

§

BatchDeleteRequestSizeExceededFault(BatchDeleteRequestSizeExceededFault)

The maximum number for a batch delete of snapshots has been reached. The limit is 100.

§

BatchModifyClusterSnapshotsLimitExceededFault(BatchModifyClusterSnapshotsLimitExceededFault)

The maximum number for snapshot identifiers has been reached. The limit is 100.

§

BucketNotFoundFault(BucketNotFoundFault)

Could not find the specified S3 bucket.

§

ClusterAlreadyExistsFault(ClusterAlreadyExistsFault)

The account already has a cluster with the given identifier.

§

ClusterNotFoundFault(ClusterNotFoundFault)

The ClusterIdentifier parameter does not refer to an existing cluster.

§

ClusterOnLatestRevisionFault(ClusterOnLatestRevisionFault)

Cluster is already on the latest database revision.

§

ClusterParameterGroupAlreadyExistsFault(ClusterParameterGroupAlreadyExistsFault)

A cluster parameter group with the same name already exists.

§

ClusterParameterGroupNotFoundFault(ClusterParameterGroupNotFoundFault)

The parameter group name does not refer to an existing parameter group.

§

ClusterParameterGroupQuotaExceededFault(ClusterParameterGroupQuotaExceededFault)

The request would result in the user exceeding the allowed number of cluster parameter groups. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift Cluster Management Guide.

§

ClusterQuotaExceededFault(ClusterQuotaExceededFault)

The request would exceed the allowed number of cluster instances for this account. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift Cluster Management Guide.

§

ClusterSecurityGroupAlreadyExistsFault(ClusterSecurityGroupAlreadyExistsFault)

A cluster security group with the same name already exists.

§

ClusterSecurityGroupNotFoundFault(ClusterSecurityGroupNotFoundFault)

The cluster security group name does not refer to an existing cluster security group.

§

ClusterSecurityGroupQuotaExceededFault(ClusterSecurityGroupQuotaExceededFault)

The request would result in the user exceeding the allowed number of cluster security groups. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift Cluster Management Guide.

§

ClusterSnapshotAlreadyExistsFault(ClusterSnapshotAlreadyExistsFault)

The value specified as a snapshot identifier is already used by an existing snapshot.

§

ClusterSnapshotNotFoundFault(ClusterSnapshotNotFoundFault)

The snapshot identifier does not refer to an existing cluster snapshot.

§

ClusterSnapshotQuotaExceededFault(ClusterSnapshotQuotaExceededFault)

The request would result in the user exceeding the allowed number of cluster snapshots.

§

ClusterSubnetGroupAlreadyExistsFault(ClusterSubnetGroupAlreadyExistsFault)

A ClusterSubnetGroupName is already used by an existing cluster subnet group.

§

ClusterSubnetGroupNotFoundFault(ClusterSubnetGroupNotFoundFault)

The cluster subnet group name does not refer to an existing cluster subnet group.

§

ClusterSubnetGroupQuotaExceededFault(ClusterSubnetGroupQuotaExceededFault)

The request would result in user exceeding the allowed number of cluster subnet groups. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift Cluster Management Guide.

§

ClusterSubnetQuotaExceededFault(ClusterSubnetQuotaExceededFault)

The request would result in user exceeding the allowed number of subnets in a cluster subnet groups. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift Cluster Management Guide.

§

ConflictPolicyUpdateFault(ConflictPolicyUpdateFault)

There is a conflict while updating the resource policy.

§

CopyToRegionDisabledFault(CopyToRegionDisabledFault)

Cross-region snapshot copy was temporarily disabled. Try your request again.

§

CustomCnameAssociationFault(CustomCnameAssociationFault)

An error occurred when an attempt was made to change the custom domain association.

§

CustomDomainAssociationNotFoundFault(CustomDomainAssociationNotFoundFault)

An error occurred. The custom domain name couldn't be found.

§

DependentServiceAccessDeniedFault(DependentServiceAccessDeniedFault)

A dependent service denied access for the integration.

§

DependentServiceRequestThrottlingFault(DependentServiceRequestThrottlingFault)

The request cannot be completed because a dependent service is throttling requests made by Amazon Redshift on your behalf. Wait and retry the request.

§

DependentServiceUnavailableFault(DependentServiceUnavailableFault)

Your request cannot be completed because a dependent internal service is temporarily unavailable. Wait 30 to 60 seconds and try again.

§

EndpointAlreadyExistsFault(EndpointAlreadyExistsFault)

The account already has a Redshift-managed VPC endpoint with the given identifier.

§

EndpointAuthorizationAlreadyExistsFault(EndpointAuthorizationAlreadyExistsFault)

The authorization already exists for this endpoint.

§

EndpointAuthorizationNotFoundFault(EndpointAuthorizationNotFoundFault)

The authorization for this endpoint can't be found.

§

EndpointAuthorizationsPerClusterLimitExceededFault(EndpointAuthorizationsPerClusterLimitExceededFault)

The number of endpoint authorizations per cluster has exceeded its limit.

§

EndpointNotFoundFault(EndpointNotFoundFault)

The endpoint name doesn't refer to an existing endpoint.

§

EndpointsPerAuthorizationLimitExceededFault(EndpointsPerAuthorizationLimitExceededFault)

The number of Redshift-managed VPC endpoints per authorization has exceeded its limit.

§

EndpointsPerClusterLimitExceededFault(EndpointsPerClusterLimitExceededFault)

The number of Redshift-managed VPC endpoints per cluster has exceeded its limit.

§

EventSubscriptionQuotaExceededFault(EventSubscriptionQuotaExceededFault)

The request would exceed the allowed number of event subscriptions for this account. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift Cluster Management Guide.

§

HsmClientCertificateAlreadyExistsFault(HsmClientCertificateAlreadyExistsFault)

There is already an existing Amazon Redshift HSM client certificate with the specified identifier.

§

HsmClientCertificateNotFoundFault(HsmClientCertificateNotFoundFault)

There is no Amazon Redshift HSM client certificate with the specified identifier.

§

HsmClientCertificateQuotaExceededFault(HsmClientCertificateQuotaExceededFault)

The quota for HSM client certificates has been reached. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift Cluster Management Guide.

§

HsmConfigurationAlreadyExistsFault(HsmConfigurationAlreadyExistsFault)

There is already an existing Amazon Redshift HSM configuration with the specified identifier.

§

HsmConfigurationNotFoundFault(HsmConfigurationNotFoundFault)

There is no Amazon Redshift HSM configuration with the specified identifier.

§

HsmConfigurationQuotaExceededFault(HsmConfigurationQuotaExceededFault)

The quota for HSM configurations has been reached. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift Cluster Management Guide.

§

InProgressTableRestoreQuotaExceededFault(InProgressTableRestoreQuotaExceededFault)

You have exceeded the allowed number of table restore requests. Wait for your current table restore requests to complete before making a new request.

§

IncompatibleOrderableOptions(IncompatibleOrderableOptions)

The specified options are incompatible.

§

InsufficientClusterCapacityFault(InsufficientClusterCapacityFault)

The number of nodes specified exceeds the allotted capacity of the cluster.

§

InsufficientS3BucketPolicyFault(InsufficientS3BucketPolicyFault)

The cluster does not have read bucket or put object permissions on the S3 bucket specified when enabling logging.

§

IntegrationAlreadyExistsFault(IntegrationAlreadyExistsFault)

The integration you are trying to create already exists.

§

IntegrationConflictOperationFault(IntegrationConflictOperationFault)

A conflicting conditional operation is currently in progress against this resource. This typically occurs when there are multiple requests being made to the same resource at the same time, and these requests conflict with each other.

§

IntegrationConflictStateFault(IntegrationConflictStateFault)

The integration is in an invalid state and can't perform the requested operation.

§

IntegrationNotFoundFault(IntegrationNotFoundFault)

The integration can't be found.

§

IntegrationQuotaExceededFault(IntegrationQuotaExceededFault)

You can't create any more zero-ETL or S3 event integrations because the quota has been reached.

§

IntegrationSourceNotFoundFault(IntegrationSourceNotFoundFault)

The specified integration source can't be found.

§

IntegrationTargetNotFoundFault(IntegrationTargetNotFoundFault)

The specified integration target can't be found.

§

InvalidAuthenticationProfileRequestFault(InvalidAuthenticationProfileRequestFault)

The authentication profile request is not valid. The profile name can't be null or empty. The authentication profile API operation must be available in the Amazon Web Services Region.

§

InvalidAuthorizationStateFault(InvalidAuthorizationStateFault)

The status of the authorization is not valid.

§

InvalidClusterParameterGroupStateFault(InvalidClusterParameterGroupStateFault)

The cluster parameter group action can not be completed because another task is in progress that involves the parameter group. Wait a few moments and try the operation again.

§

InvalidClusterSecurityGroupStateFault(InvalidClusterSecurityGroupStateFault)

The state of the cluster security group is not available.

§

InvalidClusterSnapshotScheduleStateFault(InvalidClusterSnapshotScheduleStateFault)

The cluster snapshot schedule state is not valid.

§

InvalidClusterSnapshotStateFault(InvalidClusterSnapshotStateFault)

The specified cluster snapshot is not in the available state, or other accounts are authorized to access the snapshot.

§

InvalidClusterStateFault(InvalidClusterStateFault)

The specified cluster is not in the available state.

§

InvalidClusterSubnetGroupStateFault(InvalidClusterSubnetGroupStateFault)

The cluster subnet group cannot be deleted because it is in use.

§

InvalidClusterSubnetStateFault(InvalidClusterSubnetStateFault)

The state of the subnet is invalid.

§

InvalidClusterTrackFault(InvalidClusterTrackFault)

The provided cluster track name is not valid.

§

InvalidDataShareFault(InvalidDataShareFault)

There is an error with the datashare.

§

InvalidElasticIpFault(InvalidElasticIpFault)

The Elastic IP (EIP) is invalid or cannot be found.

§

InvalidEndpointStateFault(InvalidEndpointStateFault)

The status of the endpoint is not valid.

§

InvalidHsmClientCertificateStateFault(InvalidHsmClientCertificateStateFault)

The specified HSM client certificate is not in the available state, or it is still in use by one or more Amazon Redshift clusters.

§

InvalidHsmConfigurationStateFault(InvalidHsmConfigurationStateFault)

The specified HSM configuration is not in the available state, or it is still in use by one or more Amazon Redshift clusters.

§

InvalidNamespaceFault(InvalidNamespaceFault)

The namespace isn't valid because the namespace doesn't exist. Provide a valid namespace.

§

InvalidPolicyFault(InvalidPolicyFault)

The resource policy isn't valid.

§

InvalidReservedNodeStateFault(InvalidReservedNodeStateFault)

Indicates that the Reserved Node being exchanged is not in an active state.

§

InvalidRestoreFault(InvalidRestoreFault)

The restore is invalid.

§

InvalidRetentionPeriodFault(InvalidRetentionPeriodFault)

The retention period specified is either in the past or is not a valid value.

The value must be either -1 or an integer between 1 and 3,653.

§

InvalidS3BucketNameFault(InvalidS3BucketNameFault)

The S3 bucket name is invalid. For more information about naming rules, go to Bucket Restrictions and Limitations in the Amazon Simple Storage Service (S3) Developer Guide.

§

InvalidS3KeyPrefixFault(InvalidS3KeyPrefixFault)

The string specified for the logging S3 key prefix does not comply with the documented constraints.

§

InvalidScheduleFault(InvalidScheduleFault)

The schedule you submitted isn't valid.

§

InvalidScheduledActionFault(InvalidScheduledActionFault)

The scheduled action is not valid.

§

InvalidSnapshotCopyGrantStateFault(InvalidSnapshotCopyGrantStateFault)

The snapshot copy grant can't be deleted because it is used by one or more clusters.

§

InvalidSubnet(InvalidSubnet)

The requested subnet is not valid, or not all of the subnets are in the same VPC.

§

InvalidSubscriptionStateFault(InvalidSubscriptionStateFault)

The subscription request is invalid because it is a duplicate request. This subscription request is already in progress.

§

InvalidTableRestoreArgumentFault(InvalidTableRestoreArgumentFault)

The value specified for the sourceDatabaseName, sourceSchemaName, or sourceTableName parameter, or a combination of these, doesn't exist in the snapshot.

§

InvalidTagFault(InvalidTagFault)

The tag is invalid.

§

InvalidUsageLimitFault(InvalidUsageLimitFault)

The usage limit is not valid.

§

InvalidVpcNetworkStateFault(InvalidVpcNetworkStateFault)

The cluster subnet group does not cover all Availability Zones.

§

Ipv6CidrBlockNotFoundFault(Ipv6CidrBlockNotFoundFault)

There are no subnets in your VPC with associated IPv6 CIDR blocks. To use dual-stack mode, associate an IPv6 CIDR block with each subnet in your VPC.

§

LimitExceededFault(LimitExceededFault)

The encryption key has exceeded its grant limit in Amazon Web Services KMS.

§

NumberOfNodesPerClusterLimitExceededFault(NumberOfNodesPerClusterLimitExceededFault)

The operation would exceed the number of nodes allowed for a cluster.

§

NumberOfNodesQuotaExceededFault(NumberOfNodesQuotaExceededFault)

The operation would exceed the number of nodes allotted to the account. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift Cluster Management Guide.

§

PartnerNotFoundFault(PartnerNotFoundFault)

The name of the partner was not found.

§

RedshiftIdcApplicationAlreadyExistsFault(RedshiftIdcApplicationAlreadyExistsFault)

The application you attempted to add already exists.

§

RedshiftIdcApplicationNotExistsFault(RedshiftIdcApplicationNotExistsFault)

The application you attempted to find doesn't exist.

§

RedshiftIdcApplicationQuotaExceededFault(RedshiftIdcApplicationQuotaExceededFault)

The maximum number of Redshift IAM Identity Center applications was exceeded.

§

ReservedNodeAlreadyExistsFault(ReservedNodeAlreadyExistsFault)

User already has a reservation with the given identifier.

§

ReservedNodeAlreadyMigratedFault(ReservedNodeAlreadyMigratedFault)

Indicates that the reserved node has already been exchanged.

§

ReservedNodeExchangeNotFoundFault(ReservedNodeExchangeNotFoundFault)

The reserved-node exchange status wasn't found.

§

ReservedNodeNotFoundFault(ReservedNodeNotFoundFault)

The specified reserved compute node not found.

§

ReservedNodeOfferingNotFoundFault(ReservedNodeOfferingNotFoundFault)

Specified offering does not exist.

§

ReservedNodeQuotaExceededFault(ReservedNodeQuotaExceededFault)

Request would exceed the user's compute node quota. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift Cluster Management Guide.

§

ResizeNotFoundFault(ResizeNotFoundFault)

A resize operation for the specified cluster is not found.

§

ResourceNotFoundFault(ResourceNotFoundFault)

The resource could not be found.

§

SnsInvalidTopicFault(SnsInvalidTopicFault)

Amazon SNS has responded that there is a problem with the specified Amazon SNS topic.

§

SnsNoAuthorizationFault(SnsNoAuthorizationFault)

You do not have permission to publish to the specified Amazon SNS topic.

§

SnsTopicArnNotFoundFault(SnsTopicArnNotFoundFault)

An Amazon SNS topic with the specified Amazon Resource Name (ARN) does not exist.

§

ScheduleDefinitionTypeUnsupportedFault(ScheduleDefinitionTypeUnsupportedFault)

The definition you submitted is not supported.

§

ScheduledActionAlreadyExistsFault(ScheduledActionAlreadyExistsFault)

The scheduled action already exists.

§

ScheduledActionNotFoundFault(ScheduledActionNotFoundFault)

The scheduled action cannot be found.

§

ScheduledActionQuotaExceededFault(ScheduledActionQuotaExceededFault)

The quota for scheduled actions exceeded.

§

ScheduledActionTypeUnsupportedFault(ScheduledActionTypeUnsupportedFault)

The action type specified for a scheduled action is not supported.

§

SnapshotCopyAlreadyDisabledFault(SnapshotCopyAlreadyDisabledFault)

The cluster already has cross-region snapshot copy disabled.

§

SnapshotCopyAlreadyEnabledFault(SnapshotCopyAlreadyEnabledFault)

The cluster already has cross-region snapshot copy enabled.

§

SnapshotCopyDisabledFault(SnapshotCopyDisabledFault)

Cross-region snapshot copy was temporarily disabled. Try your request again.

§

SnapshotCopyGrantAlreadyExistsFault(SnapshotCopyGrantAlreadyExistsFault)

The snapshot copy grant can't be created because a grant with the same name already exists.

§

SnapshotCopyGrantNotFoundFault(SnapshotCopyGrantNotFoundFault)

The specified snapshot copy grant can't be found. Make sure that the name is typed correctly and that the grant exists in the destination region.

§

SnapshotCopyGrantQuotaExceededFault(SnapshotCopyGrantQuotaExceededFault)

The Amazon Web Services account has exceeded the maximum number of snapshot copy grants in this region.

§

SnapshotScheduleAlreadyExistsFault(SnapshotScheduleAlreadyExistsFault)

The specified snapshot schedule already exists.

§

SnapshotScheduleNotFoundFault(SnapshotScheduleNotFoundFault)

We could not find the specified snapshot schedule.

§

SnapshotScheduleQuotaExceededFault(SnapshotScheduleQuotaExceededFault)

You have exceeded the quota of snapshot schedules.

§

SnapshotScheduleUpdateInProgressFault(SnapshotScheduleUpdateInProgressFault)

The specified snapshot schedule is already being updated.

§

SourceNotFoundFault(SourceNotFoundFault)

The specified Amazon Redshift event source could not be found.

§

SubnetAlreadyInUse(SubnetAlreadyInUse)

A specified subnet is already in use by another cluster.

§

SubscriptionAlreadyExistFault(SubscriptionAlreadyExistFault)

There is already an existing event notification subscription with the specified name.

§

SubscriptionCategoryNotFoundFault(SubscriptionCategoryNotFoundFault)

The value specified for the event category was not one of the allowed values, or it specified a category that does not apply to the specified source type. The allowed values are Configuration, Management, Monitoring, and Security.

§

SubscriptionEventIdNotFoundFault(SubscriptionEventIdNotFoundFault)

An Amazon Redshift event with the specified event ID does not exist.

§

SubscriptionNotFoundFault(SubscriptionNotFoundFault)

An Amazon Redshift event notification subscription with the specified name does not exist.

§

SubscriptionSeverityNotFoundFault(SubscriptionSeverityNotFoundFault)

The value specified for the event severity was not one of the allowed values, or it specified a severity that does not apply to the specified source type. The allowed values are ERROR and INFO.

§

TableLimitExceededFault(TableLimitExceededFault)

The number of tables in the cluster exceeds the limit for the requested new cluster node type.

§

TableRestoreNotFoundFault(TableRestoreNotFoundFault)

The specified TableRestoreRequestId value was not found.

§

TagLimitExceededFault(TagLimitExceededFault)

You have exceeded the number of tags allowed.

§

UnauthorizedOperation(UnauthorizedOperation)

Your account is not authorized to perform the requested operation.

§

UnauthorizedPartnerIntegrationFault(UnauthorizedPartnerIntegrationFault)

The partner integration is not authorized.

§

UnknownSnapshotCopyRegionFault(UnknownSnapshotCopyRegionFault)

The specified region is incorrect or does not exist.

§

UnsupportedOperationFault(UnsupportedOperationFault)

The requested operation isn't supported.

§

UnsupportedOptionFault(UnsupportedOptionFault)

A request option was specified that is not supported.

§

UsageLimitAlreadyExistsFault(UsageLimitAlreadyExistsFault)

The usage limit already exists.

§

UsageLimitNotFoundFault(UsageLimitNotFoundFault)

The usage limit identifier can't be found.

§

Unhandled(Unhandled)

👎Deprecated: Matching Unhandled directly is not forwards compatible. Instead, match using a variable wildcard pattern and check .code():    err if err.code() == Some("SpecificExceptionCode") => { /* handle the error */ } See ProvideErrorMetadata for what information is available for the error.

An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).

Trait Implementations§

Source§

impl Debug for Error

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for Error

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Error for Error

Source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · Source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
Source§

impl From<AcceptReservedNodeExchangeError> for Error

Source§

fn from(err: AcceptReservedNodeExchangeError) -> Self

Converts to this type from the input type.
Source§

impl From<AddPartnerError> for Error

Source§

fn from(err: AddPartnerError) -> Self

Converts to this type from the input type.
Source§

impl From<AssociateDataShareConsumerError> for Error

Source§

fn from(err: AssociateDataShareConsumerError) -> Self

Converts to this type from the input type.
Source§

impl From<AuthorizeClusterSecurityGroupIngressError> for Error

Source§

fn from(err: AuthorizeClusterSecurityGroupIngressError) -> Self

Converts to this type from the input type.
Source§

impl From<AuthorizeDataShareError> for Error

Source§

fn from(err: AuthorizeDataShareError) -> Self

Converts to this type from the input type.
Source§

impl From<AuthorizeEndpointAccessError> for Error

Source§

fn from(err: AuthorizeEndpointAccessError) -> Self

Converts to this type from the input type.
Source§

impl From<AuthorizeSnapshotAccessError> for Error

Source§

fn from(err: AuthorizeSnapshotAccessError) -> Self

Converts to this type from the input type.
Source§

impl From<BatchDeleteClusterSnapshotsError> for Error

Source§

fn from(err: BatchDeleteClusterSnapshotsError) -> Self

Converts to this type from the input type.
Source§

impl From<BatchModifyClusterSnapshotsError> for Error

Source§

fn from(err: BatchModifyClusterSnapshotsError) -> Self

Converts to this type from the input type.
Source§

impl From<BuildError> for Error

Source§

fn from(value: BuildError) -> Self

Converts to this type from the input type.
Source§

impl From<CancelResizeError> for Error

Source§

fn from(err: CancelResizeError) -> Self

Converts to this type from the input type.
Source§

impl From<CopyClusterSnapshotError> for Error

Source§

fn from(err: CopyClusterSnapshotError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateAuthenticationProfileError> for Error

Source§

fn from(err: CreateAuthenticationProfileError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateClusterError> for Error

Source§

fn from(err: CreateClusterError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateClusterParameterGroupError> for Error

Source§

fn from(err: CreateClusterParameterGroupError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateClusterSecurityGroupError> for Error

Source§

fn from(err: CreateClusterSecurityGroupError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateClusterSnapshotError> for Error

Source§

fn from(err: CreateClusterSnapshotError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateClusterSubnetGroupError> for Error

Source§

fn from(err: CreateClusterSubnetGroupError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateCustomDomainAssociationError> for Error

Source§

fn from(err: CreateCustomDomainAssociationError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateEndpointAccessError> for Error

Source§

fn from(err: CreateEndpointAccessError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateEventSubscriptionError> for Error

Source§

fn from(err: CreateEventSubscriptionError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateHsmClientCertificateError> for Error

Source§

fn from(err: CreateHsmClientCertificateError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateHsmConfigurationError> for Error

Source§

fn from(err: CreateHsmConfigurationError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateIntegrationError> for Error

Source§

fn from(err: CreateIntegrationError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateRedshiftIdcApplicationError> for Error

Source§

fn from(err: CreateRedshiftIdcApplicationError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateScheduledActionError> for Error

Source§

fn from(err: CreateScheduledActionError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateSnapshotCopyGrantError> for Error

Source§

fn from(err: CreateSnapshotCopyGrantError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateSnapshotScheduleError> for Error

Source§

fn from(err: CreateSnapshotScheduleError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateTagsError> for Error

Source§

fn from(err: CreateTagsError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateUsageLimitError> for Error

Source§

fn from(err: CreateUsageLimitError) -> Self

Converts to this type from the input type.
Source§

impl From<DeauthorizeDataShareError> for Error

Source§

fn from(err: DeauthorizeDataShareError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteAuthenticationProfileError> for Error

Source§

fn from(err: DeleteAuthenticationProfileError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteClusterError> for Error

Source§

fn from(err: DeleteClusterError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteClusterParameterGroupError> for Error

Source§

fn from(err: DeleteClusterParameterGroupError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteClusterSecurityGroupError> for Error

Source§

fn from(err: DeleteClusterSecurityGroupError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteClusterSnapshotError> for Error

Source§

fn from(err: DeleteClusterSnapshotError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteClusterSubnetGroupError> for Error

Source§

fn from(err: DeleteClusterSubnetGroupError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteCustomDomainAssociationError> for Error

Source§

fn from(err: DeleteCustomDomainAssociationError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteEndpointAccessError> for Error

Source§

fn from(err: DeleteEndpointAccessError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteEventSubscriptionError> for Error

Source§

fn from(err: DeleteEventSubscriptionError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteHsmClientCertificateError> for Error

Source§

fn from(err: DeleteHsmClientCertificateError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteHsmConfigurationError> for Error

Source§

fn from(err: DeleteHsmConfigurationError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteIntegrationError> for Error

Source§

fn from(err: DeleteIntegrationError) -> Self

Converts to this type from the input type.
Source§

impl From<DeletePartnerError> for Error

Source§

fn from(err: DeletePartnerError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteRedshiftIdcApplicationError> for Error

Source§

fn from(err: DeleteRedshiftIdcApplicationError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteResourcePolicyError> for Error

Source§

fn from(err: DeleteResourcePolicyError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteScheduledActionError> for Error

Source§

fn from(err: DeleteScheduledActionError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteSnapshotCopyGrantError> for Error

Source§

fn from(err: DeleteSnapshotCopyGrantError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteSnapshotScheduleError> for Error

Source§

fn from(err: DeleteSnapshotScheduleError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteTagsError> for Error

Source§

fn from(err: DeleteTagsError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteUsageLimitError> for Error

Source§

fn from(err: DeleteUsageLimitError) -> Self

Converts to this type from the input type.
Source§

impl From<DeregisterNamespaceError> for Error

Source§

fn from(err: DeregisterNamespaceError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeAccountAttributesError> for Error

Source§

fn from(err: DescribeAccountAttributesError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeAuthenticationProfilesError> for Error

Source§

fn from(err: DescribeAuthenticationProfilesError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeClusterDbRevisionsError> for Error

Source§

fn from(err: DescribeClusterDbRevisionsError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeClusterParameterGroupsError> for Error

Source§

fn from(err: DescribeClusterParameterGroupsError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeClusterParametersError> for Error

Source§

fn from(err: DescribeClusterParametersError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeClusterSecurityGroupsError> for Error

Source§

fn from(err: DescribeClusterSecurityGroupsError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeClusterSnapshotsError> for Error

Source§

fn from(err: DescribeClusterSnapshotsError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeClusterSubnetGroupsError> for Error

Source§

fn from(err: DescribeClusterSubnetGroupsError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeClusterTracksError> for Error

Source§

fn from(err: DescribeClusterTracksError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeClusterVersionsError> for Error

Source§

fn from(err: DescribeClusterVersionsError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeClustersError> for Error

Source§

fn from(err: DescribeClustersError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeCustomDomainAssociationsError> for Error

Source§

fn from(err: DescribeCustomDomainAssociationsError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeDataSharesError> for Error

Source§

fn from(err: DescribeDataSharesError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeDataSharesForConsumerError> for Error

Source§

fn from(err: DescribeDataSharesForConsumerError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeDataSharesForProducerError> for Error

Source§

fn from(err: DescribeDataSharesForProducerError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeDefaultClusterParametersError> for Error

Source§

fn from(err: DescribeDefaultClusterParametersError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeEndpointAccessError> for Error

Source§

fn from(err: DescribeEndpointAccessError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeEndpointAuthorizationError> for Error

Source§

fn from(err: DescribeEndpointAuthorizationError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeEventCategoriesError> for Error

Source§

fn from(err: DescribeEventCategoriesError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeEventSubscriptionsError> for Error

Source§

fn from(err: DescribeEventSubscriptionsError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeEventsError> for Error

Source§

fn from(err: DescribeEventsError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeHsmClientCertificatesError> for Error

Source§

fn from(err: DescribeHsmClientCertificatesError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeHsmConfigurationsError> for Error

Source§

fn from(err: DescribeHsmConfigurationsError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeInboundIntegrationsError> for Error

Source§

fn from(err: DescribeInboundIntegrationsError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeIntegrationsError> for Error

Source§

fn from(err: DescribeIntegrationsError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeLoggingStatusError> for Error

Source§

fn from(err: DescribeLoggingStatusError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeNodeConfigurationOptionsError> for Error

Source§

fn from(err: DescribeNodeConfigurationOptionsError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeOrderableClusterOptionsError> for Error

Source§

fn from(err: DescribeOrderableClusterOptionsError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribePartnersError> for Error

Source§

fn from(err: DescribePartnersError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeRedshiftIdcApplicationsError> for Error

Source§

fn from(err: DescribeRedshiftIdcApplicationsError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeReservedNodeExchangeStatusError> for Error

Source§

fn from(err: DescribeReservedNodeExchangeStatusError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeReservedNodeOfferingsError> for Error

Source§

fn from(err: DescribeReservedNodeOfferingsError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeReservedNodesError> for Error

Source§

fn from(err: DescribeReservedNodesError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeResizeError> for Error

Source§

fn from(err: DescribeResizeError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeScheduledActionsError> for Error

Source§

fn from(err: DescribeScheduledActionsError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeSnapshotCopyGrantsError> for Error

Source§

fn from(err: DescribeSnapshotCopyGrantsError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeSnapshotSchedulesError> for Error

Source§

fn from(err: DescribeSnapshotSchedulesError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeStorageError> for Error

Source§

fn from(err: DescribeStorageError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeTableRestoreStatusError> for Error

Source§

fn from(err: DescribeTableRestoreStatusError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeTagsError> for Error

Source§

fn from(err: DescribeTagsError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeUsageLimitsError> for Error

Source§

fn from(err: DescribeUsageLimitsError) -> Self

Converts to this type from the input type.
Source§

impl From<DisableLoggingError> for Error

Source§

fn from(err: DisableLoggingError) -> Self

Converts to this type from the input type.
Source§

impl From<DisableSnapshotCopyError> for Error

Source§

fn from(err: DisableSnapshotCopyError) -> Self

Converts to this type from the input type.
Source§

impl From<DisassociateDataShareConsumerError> for Error

Source§

fn from(err: DisassociateDataShareConsumerError) -> Self

Converts to this type from the input type.
Source§

impl From<EnableLoggingError> for Error

Source§

fn from(err: EnableLoggingError) -> Self

Converts to this type from the input type.
Source§

impl From<EnableSnapshotCopyError> for Error

Source§

fn from(err: EnableSnapshotCopyError) -> Self

Converts to this type from the input type.
Source§

impl From<FailoverPrimaryComputeError> for Error

Source§

fn from(err: FailoverPrimaryComputeError) -> Self

Converts to this type from the input type.
Source§

impl From<GetClusterCredentialsError> for Error

Source§

fn from(err: GetClusterCredentialsError) -> Self

Converts to this type from the input type.
Source§

impl From<GetClusterCredentialsWithIAMError> for Error

Source§

fn from(err: GetClusterCredentialsWithIAMError) -> Self

Converts to this type from the input type.
Source§

impl From<GetReservedNodeExchangeConfigurationOptionsError> for Error

Source§

fn from(err: GetReservedNodeExchangeConfigurationOptionsError) -> Self

Converts to this type from the input type.
Source§

impl From<GetReservedNodeExchangeOfferingsError> for Error

Source§

fn from(err: GetReservedNodeExchangeOfferingsError) -> Self

Converts to this type from the input type.
Source§

impl From<GetResourcePolicyError> for Error

Source§

fn from(err: GetResourcePolicyError) -> Self

Converts to this type from the input type.
Source§

impl From<ListRecommendationsError> for Error

Source§

fn from(err: ListRecommendationsError) -> Self

Converts to this type from the input type.
Source§

impl From<ModifyAquaConfigurationError> for Error

Source§

fn from(err: ModifyAquaConfigurationError) -> Self

Converts to this type from the input type.
Source§

impl From<ModifyAuthenticationProfileError> for Error

Source§

fn from(err: ModifyAuthenticationProfileError) -> Self

Converts to this type from the input type.
Source§

impl From<ModifyClusterDbRevisionError> for Error

Source§

fn from(err: ModifyClusterDbRevisionError) -> Self

Converts to this type from the input type.
Source§

impl From<ModifyClusterError> for Error

Source§

fn from(err: ModifyClusterError) -> Self

Converts to this type from the input type.
Source§

impl From<ModifyClusterIamRolesError> for Error

Source§

fn from(err: ModifyClusterIamRolesError) -> Self

Converts to this type from the input type.
Source§

impl From<ModifyClusterMaintenanceError> for Error

Source§

fn from(err: ModifyClusterMaintenanceError) -> Self

Converts to this type from the input type.
Source§

impl From<ModifyClusterParameterGroupError> for Error

Source§

fn from(err: ModifyClusterParameterGroupError) -> Self

Converts to this type from the input type.
Source§

impl From<ModifyClusterSnapshotError> for Error

Source§

fn from(err: ModifyClusterSnapshotError) -> Self

Converts to this type from the input type.
Source§

impl From<ModifyClusterSnapshotScheduleError> for Error

Source§

fn from(err: ModifyClusterSnapshotScheduleError) -> Self

Converts to this type from the input type.
Source§

impl From<ModifyClusterSubnetGroupError> for Error

Source§

fn from(err: ModifyClusterSubnetGroupError) -> Self

Converts to this type from the input type.
Source§

impl From<ModifyCustomDomainAssociationError> for Error

Source§

fn from(err: ModifyCustomDomainAssociationError) -> Self

Converts to this type from the input type.
Source§

impl From<ModifyEndpointAccessError> for Error

Source§

fn from(err: ModifyEndpointAccessError) -> Self

Converts to this type from the input type.
Source§

impl From<ModifyEventSubscriptionError> for Error

Source§

fn from(err: ModifyEventSubscriptionError) -> Self

Converts to this type from the input type.
Source§

impl From<ModifyIntegrationError> for Error

Source§

fn from(err: ModifyIntegrationError) -> Self

Converts to this type from the input type.
Source§

impl From<ModifyRedshiftIdcApplicationError> for Error

Source§

fn from(err: ModifyRedshiftIdcApplicationError) -> Self

Converts to this type from the input type.
Source§

impl From<ModifyScheduledActionError> for Error

Source§

fn from(err: ModifyScheduledActionError) -> Self

Converts to this type from the input type.
Source§

impl From<ModifySnapshotCopyRetentionPeriodError> for Error

Source§

fn from(err: ModifySnapshotCopyRetentionPeriodError) -> Self

Converts to this type from the input type.
Source§

impl From<ModifySnapshotScheduleError> for Error

Source§

fn from(err: ModifySnapshotScheduleError) -> Self

Converts to this type from the input type.
Source§

impl From<ModifyUsageLimitError> for Error

Source§

fn from(err: ModifyUsageLimitError) -> Self

Converts to this type from the input type.
Source§

impl From<PauseClusterError> for Error

Source§

fn from(err: PauseClusterError) -> Self

Converts to this type from the input type.
Source§

impl From<PurchaseReservedNodeOfferingError> for Error

Source§

fn from(err: PurchaseReservedNodeOfferingError) -> Self

Converts to this type from the input type.
Source§

impl From<PutResourcePolicyError> for Error

Source§

fn from(err: PutResourcePolicyError) -> Self

Converts to this type from the input type.
Source§

impl From<RebootClusterError> for Error

Source§

fn from(err: RebootClusterError) -> Self

Converts to this type from the input type.
Source§

impl From<RegisterNamespaceError> for Error

Source§

fn from(err: RegisterNamespaceError) -> Self

Converts to this type from the input type.
Source§

impl From<RejectDataShareError> for Error

Source§

fn from(err: RejectDataShareError) -> Self

Converts to this type from the input type.
Source§

impl From<ResetClusterParameterGroupError> for Error

Source§

fn from(err: ResetClusterParameterGroupError) -> Self

Converts to this type from the input type.
Source§

impl From<ResizeClusterError> for Error

Source§

fn from(err: ResizeClusterError) -> Self

Converts to this type from the input type.
Source§

impl From<RestoreFromClusterSnapshotError> for Error

Source§

fn from(err: RestoreFromClusterSnapshotError) -> Self

Converts to this type from the input type.
Source§

impl From<RestoreTableFromClusterSnapshotError> for Error

Source§

fn from(err: RestoreTableFromClusterSnapshotError) -> Self

Converts to this type from the input type.
Source§

impl From<ResumeClusterError> for Error

Source§

fn from(err: ResumeClusterError) -> Self

Converts to this type from the input type.
Source§

impl From<RevokeClusterSecurityGroupIngressError> for Error

Source§

fn from(err: RevokeClusterSecurityGroupIngressError) -> Self

Converts to this type from the input type.
Source§

impl From<RevokeEndpointAccessError> for Error

Source§

fn from(err: RevokeEndpointAccessError) -> Self

Converts to this type from the input type.
Source§

impl From<RevokeSnapshotAccessError> for Error

Source§

fn from(err: RevokeSnapshotAccessError) -> Self

Converts to this type from the input type.
Source§

impl From<RotateEncryptionKeyError> for Error

Source§

fn from(err: RotateEncryptionKeyError) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<AcceptReservedNodeExchangeError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<AcceptReservedNodeExchangeError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<AddPartnerError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<AddPartnerError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<AssociateDataShareConsumerError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<AssociateDataShareConsumerError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<AuthorizeClusterSecurityGroupIngressError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<AuthorizeClusterSecurityGroupIngressError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<AuthorizeDataShareError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<AuthorizeDataShareError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<AuthorizeEndpointAccessError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<AuthorizeEndpointAccessError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<AuthorizeSnapshotAccessError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<AuthorizeSnapshotAccessError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<BatchDeleteClusterSnapshotsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<BatchDeleteClusterSnapshotsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<BatchModifyClusterSnapshotsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<BatchModifyClusterSnapshotsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CancelResizeError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CancelResizeError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CopyClusterSnapshotError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CopyClusterSnapshotError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CreateAuthenticationProfileError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CreateAuthenticationProfileError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CreateClusterError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CreateClusterError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CreateClusterParameterGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CreateClusterParameterGroupError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CreateClusterSecurityGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CreateClusterSecurityGroupError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CreateClusterSnapshotError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CreateClusterSnapshotError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CreateClusterSubnetGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CreateClusterSubnetGroupError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CreateCustomDomainAssociationError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CreateCustomDomainAssociationError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CreateEndpointAccessError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CreateEndpointAccessError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CreateEventSubscriptionError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CreateEventSubscriptionError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CreateHsmClientCertificateError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CreateHsmClientCertificateError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CreateHsmConfigurationError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CreateHsmConfigurationError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CreateIntegrationError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CreateIntegrationError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CreateRedshiftIdcApplicationError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CreateRedshiftIdcApplicationError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CreateScheduledActionError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CreateScheduledActionError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CreateSnapshotCopyGrantError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CreateSnapshotCopyGrantError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CreateSnapshotScheduleError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CreateSnapshotScheduleError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CreateTagsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CreateTagsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CreateUsageLimitError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CreateUsageLimitError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeauthorizeDataShareError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeauthorizeDataShareError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeleteAuthenticationProfileError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeleteAuthenticationProfileError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeleteClusterError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeleteClusterError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeleteClusterParameterGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeleteClusterParameterGroupError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeleteClusterSecurityGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeleteClusterSecurityGroupError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeleteClusterSnapshotError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeleteClusterSnapshotError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeleteClusterSubnetGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeleteClusterSubnetGroupError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeleteCustomDomainAssociationError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeleteCustomDomainAssociationError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeleteEndpointAccessError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeleteEndpointAccessError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeleteEventSubscriptionError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeleteEventSubscriptionError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeleteHsmClientCertificateError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeleteHsmClientCertificateError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeleteHsmConfigurationError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeleteHsmConfigurationError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeleteIntegrationError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeleteIntegrationError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeletePartnerError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeletePartnerError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeleteRedshiftIdcApplicationError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeleteRedshiftIdcApplicationError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeleteResourcePolicyError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeleteResourcePolicyError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeleteScheduledActionError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeleteScheduledActionError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeleteSnapshotCopyGrantError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeleteSnapshotCopyGrantError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeleteSnapshotScheduleError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeleteSnapshotScheduleError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeleteTagsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeleteTagsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeleteUsageLimitError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeleteUsageLimitError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeregisterNamespaceError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeregisterNamespaceError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeAccountAttributesError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeAccountAttributesError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeAuthenticationProfilesError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeAuthenticationProfilesError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeClusterDbRevisionsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeClusterDbRevisionsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeClusterParameterGroupsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeClusterParameterGroupsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeClusterParametersError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeClusterParametersError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeClusterSecurityGroupsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeClusterSecurityGroupsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeClusterSnapshotsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeClusterSnapshotsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeClusterSubnetGroupsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeClusterSubnetGroupsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeClusterTracksError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeClusterTracksError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeClusterVersionsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeClusterVersionsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeClustersError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeClustersError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeCustomDomainAssociationsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeCustomDomainAssociationsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeDataSharesError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeDataSharesError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeDataSharesForConsumerError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeDataSharesForConsumerError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeDataSharesForProducerError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeDataSharesForProducerError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeDefaultClusterParametersError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeDefaultClusterParametersError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeEndpointAccessError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeEndpointAccessError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeEndpointAuthorizationError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeEndpointAuthorizationError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeEventCategoriesError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeEventCategoriesError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeEventSubscriptionsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeEventSubscriptionsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeEventsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeEventsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeHsmClientCertificatesError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeHsmClientCertificatesError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeHsmConfigurationsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeHsmConfigurationsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeInboundIntegrationsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeInboundIntegrationsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeIntegrationsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeIntegrationsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeLoggingStatusError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeLoggingStatusError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeNodeConfigurationOptionsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeNodeConfigurationOptionsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeOrderableClusterOptionsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeOrderableClusterOptionsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribePartnersError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribePartnersError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeRedshiftIdcApplicationsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeRedshiftIdcApplicationsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeReservedNodeExchangeStatusError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeReservedNodeExchangeStatusError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeReservedNodeOfferingsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeReservedNodeOfferingsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeReservedNodesError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeReservedNodesError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeResizeError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeResizeError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeScheduledActionsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeScheduledActionsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeSnapshotCopyGrantsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeSnapshotCopyGrantsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeSnapshotSchedulesError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeSnapshotSchedulesError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeStorageError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeStorageError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeTableRestoreStatusError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeTableRestoreStatusError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeTagsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeTagsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeUsageLimitsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeUsageLimitsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DisableLoggingError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DisableLoggingError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DisableSnapshotCopyError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DisableSnapshotCopyError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DisassociateDataShareConsumerError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DisassociateDataShareConsumerError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<EnableLoggingError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<EnableLoggingError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<EnableSnapshotCopyError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<EnableSnapshotCopyError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<FailoverPrimaryComputeError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<FailoverPrimaryComputeError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<GetClusterCredentialsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<GetClusterCredentialsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<GetClusterCredentialsWithIAMError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<GetClusterCredentialsWithIAMError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<GetReservedNodeExchangeConfigurationOptionsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from( err: SdkError<GetReservedNodeExchangeConfigurationOptionsError, R>, ) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<GetReservedNodeExchangeOfferingsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<GetReservedNodeExchangeOfferingsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<GetResourcePolicyError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<GetResourcePolicyError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ListRecommendationsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ListRecommendationsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ModifyAquaConfigurationError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ModifyAquaConfigurationError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ModifyAuthenticationProfileError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ModifyAuthenticationProfileError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ModifyClusterDbRevisionError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ModifyClusterDbRevisionError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ModifyClusterError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ModifyClusterError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ModifyClusterIamRolesError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ModifyClusterIamRolesError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ModifyClusterMaintenanceError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ModifyClusterMaintenanceError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ModifyClusterParameterGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ModifyClusterParameterGroupError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ModifyClusterSnapshotError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ModifyClusterSnapshotError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ModifyClusterSnapshotScheduleError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ModifyClusterSnapshotScheduleError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ModifyClusterSubnetGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ModifyClusterSubnetGroupError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ModifyCustomDomainAssociationError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ModifyCustomDomainAssociationError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ModifyEndpointAccessError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ModifyEndpointAccessError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ModifyEventSubscriptionError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ModifyEventSubscriptionError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ModifyIntegrationError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ModifyIntegrationError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ModifyRedshiftIdcApplicationError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ModifyRedshiftIdcApplicationError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ModifyScheduledActionError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ModifyScheduledActionError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ModifySnapshotCopyRetentionPeriodError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ModifySnapshotCopyRetentionPeriodError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ModifySnapshotScheduleError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ModifySnapshotScheduleError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ModifyUsageLimitError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ModifyUsageLimitError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<PauseClusterError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<PauseClusterError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<PurchaseReservedNodeOfferingError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<PurchaseReservedNodeOfferingError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<PutResourcePolicyError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<PutResourcePolicyError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<RebootClusterError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<RebootClusterError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<RegisterNamespaceError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<RegisterNamespaceError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<RejectDataShareError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<RejectDataShareError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ResetClusterParameterGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ResetClusterParameterGroupError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ResizeClusterError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ResizeClusterError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<RestoreFromClusterSnapshotError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<RestoreFromClusterSnapshotError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<RestoreTableFromClusterSnapshotError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<RestoreTableFromClusterSnapshotError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ResumeClusterError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ResumeClusterError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<RevokeClusterSecurityGroupIngressError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<RevokeClusterSecurityGroupIngressError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<RevokeEndpointAccessError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<RevokeEndpointAccessError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<RevokeSnapshotAccessError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<RevokeSnapshotAccessError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<RotateEncryptionKeyError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<RotateEncryptionKeyError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<UpdatePartnerStatusError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<UpdatePartnerStatusError, R>) -> Self

Converts to this type from the input type.
Source§

impl From<UpdatePartnerStatusError> for Error

Source§

fn from(err: UpdatePartnerStatusError) -> Self

Converts to this type from the input type.
Source§

impl<O, E> From<WaiterError<O, E>> for Error
where O: Debug + Send + Sync + 'static, E: Error + Send + Sync + 'static,

Source§

fn from(err: WaiterError<O, E>) -> Self

Converts to this type from the input type.
Source§

impl ProvideErrorMetadata for Error

Source§

fn meta(&self) -> &ErrorMetadata

Returns error metadata, which includes the error code, message, request ID, and potentially additional information.
Source§

fn code(&self) -> Option<&str>

Returns the error code if it’s available.
Source§

fn message(&self) -> Option<&str>

Returns the error message, if there is one.
Source§

impl RequestId for Error

Source§

fn request_id(&self) -> Option<&str>

Returns the request ID, or None if the service could not be reached.

Auto Trait Implementations§

§

impl Freeze for Error

§

impl !RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl !UnwindSafe for Error

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

Source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
Source§

impl<T> Paint for T
where T: ?Sized,

Source§

fn fg(&self, value: Color) -> Painted<&T>

Returns a styled value derived from self with the foreground set to value.

This method should be used rarely. Instead, prefer to use color-specific builder methods like red() and green(), which have the same functionality but are pithier.

§Example

Set foreground color to white using fg():

use yansi::{Paint, Color};

painted.fg(Color::White);

Set foreground color to white using white().

use yansi::Paint;

painted.white();
Source§

fn primary(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Primary].

§Example
println!("{}", value.primary());
Source§

fn fixed(&self, color: u8) -> Painted<&T>

Returns self with the fg() set to [Color :: Fixed].

§Example
println!("{}", value.fixed(color));
Source§

fn rgb(&self, r: u8, g: u8, b: u8) -> Painted<&T>

Returns self with the fg() set to [Color :: Rgb].

§Example
println!("{}", value.rgb(r, g, b));
Source§

fn black(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Black].

§Example
println!("{}", value.black());
Source§

fn red(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Red].

§Example
println!("{}", value.red());
Source§

fn green(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Green].

§Example
println!("{}", value.green());
Source§

fn yellow(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Yellow].

§Example
println!("{}", value.yellow());
Source§

fn blue(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Blue].

§Example
println!("{}", value.blue());
Source§

fn magenta(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Magenta].

§Example
println!("{}", value.magenta());
Source§

fn cyan(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Cyan].

§Example
println!("{}", value.cyan());
Source§

fn white(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: White].

§Example
println!("{}", value.white());
Source§

fn bright_black(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightBlack].

§Example
println!("{}", value.bright_black());
Source§

fn bright_red(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightRed].

§Example
println!("{}", value.bright_red());
Source§

fn bright_green(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightGreen].

§Example
println!("{}", value.bright_green());
Source§

fn bright_yellow(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightYellow].

§Example
println!("{}", value.bright_yellow());
Source§

fn bright_blue(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightBlue].

§Example
println!("{}", value.bright_blue());
Source§

fn bright_magenta(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightMagenta].

§Example
println!("{}", value.bright_magenta());
Source§

fn bright_cyan(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightCyan].

§Example
println!("{}", value.bright_cyan());
Source§

fn bright_white(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightWhite].

§Example
println!("{}", value.bright_white());
Source§

fn bg(&self, value: Color) -> Painted<&T>

Returns a styled value derived from self with the background set to value.

This method should be used rarely. Instead, prefer to use color-specific builder methods like on_red() and on_green(), which have the same functionality but are pithier.

§Example

Set background color to red using fg():

use yansi::{Paint, Color};

painted.bg(Color::Red);

Set background color to red using on_red().

use yansi::Paint;

painted.on_red();
Source§

fn on_primary(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: Primary].

§Example
println!("{}", value.on_primary());
Source§

fn on_fixed(&self, color: u8) -> Painted<&T>

Returns self with the bg() set to [Color :: Fixed].

§Example
println!("{}", value.on_fixed(color));
Source§

fn on_rgb(&self, r: u8, g: u8, b: u8) -> Painted<&T>

Returns self with the bg() set to [Color :: Rgb].

§Example
println!("{}", value.on_rgb(r, g, b));
Source§

fn on_black(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: Black].

§Example
println!("{}", value.on_black());
Source§

fn on_red(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: Red].

§Example
println!("{}", value.on_red());
Source§

fn on_green(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: Green].

§Example
println!("{}", value.on_green());
Source§

fn on_yellow(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: Yellow].

§Example
println!("{}", value.on_yellow());
Source§

fn on_blue(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: Blue].

§Example
println!("{}", value.on_blue());
Source§

fn on_magenta(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: Magenta].

§Example
println!("{}", value.on_magenta());
Source§

fn on_cyan(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: Cyan].

§Example
println!("{}", value.on_cyan());
Source§

fn on_white(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: White].

§Example
println!("{}", value.on_white());
Source§

fn on_bright_black(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightBlack].

§Example
println!("{}", value.on_bright_black());
Source§

fn on_bright_red(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightRed].

§Example
println!("{}", value.on_bright_red());
Source§

fn on_bright_green(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightGreen].

§Example
println!("{}", value.on_bright_green());
Source§

fn on_bright_yellow(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightYellow].

§Example
println!("{}", value.on_bright_yellow());
Source§

fn on_bright_blue(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightBlue].

§Example
println!("{}", value.on_bright_blue());
Source§

fn on_bright_magenta(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightMagenta].

§Example
println!("{}", value.on_bright_magenta());
Source§

fn on_bright_cyan(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightCyan].

§Example
println!("{}", value.on_bright_cyan());
Source§

fn on_bright_white(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightWhite].

§Example
println!("{}", value.on_bright_white());
Source§

fn attr(&self, value: Attribute) -> Painted<&T>

Enables the styling Attribute value.

This method should be used rarely. Instead, prefer to use attribute-specific builder methods like bold() and underline(), which have the same functionality but are pithier.

§Example

Make text bold using attr():

use yansi::{Paint, Attribute};

painted.attr(Attribute::Bold);

Make text bold using using bold().

use yansi::Paint;

painted.bold();
Source§

fn bold(&self) -> Painted<&T>

Returns self with the attr() set to [Attribute :: Bold].

§Example
println!("{}", value.bold());
Source§

fn dim(&self) -> Painted<&T>

Returns self with the attr() set to [Attribute :: Dim].

§Example
println!("{}", value.dim());
Source§

fn italic(&self) -> Painted<&T>

Returns self with the attr() set to [Attribute :: Italic].

§Example
println!("{}", value.italic());
Source§

fn underline(&self) -> Painted<&T>

Returns self with the attr() set to [Attribute :: Underline].

§Example
println!("{}", value.underline());

Returns self with the attr() set to [Attribute :: Blink].

§Example
println!("{}", value.blink());

Returns self with the attr() set to [Attribute :: RapidBlink].

§Example
println!("{}", value.rapid_blink());
Source§

fn invert(&self) -> Painted<&T>

Returns self with the attr() set to [Attribute :: Invert].

§Example
println!("{}", value.invert());
Source§

fn conceal(&self) -> Painted<&T>

Returns self with the attr() set to [Attribute :: Conceal].

§Example
println!("{}", value.conceal());
Source§

fn strike(&self) -> Painted<&T>

Returns self with the attr() set to [Attribute :: Strike].

§Example
println!("{}", value.strike());
Source§

fn quirk(&self, value: Quirk) -> Painted<&T>

Enables the yansi Quirk value.

This method should be used rarely. Instead, prefer to use quirk-specific builder methods like mask() and wrap(), which have the same functionality but are pithier.

§Example

Enable wrapping using .quirk():

use yansi::{Paint, Quirk};

painted.quirk(Quirk::Wrap);

Enable wrapping using wrap().

use yansi::Paint;

painted.wrap();
Source§

fn mask(&self) -> Painted<&T>

Returns self with the quirk() set to [Quirk :: Mask].

§Example
println!("{}", value.mask());
Source§

fn wrap(&self) -> Painted<&T>

Returns self with the quirk() set to [Quirk :: Wrap].

§Example
println!("{}", value.wrap());
Source§

fn linger(&self) -> Painted<&T>

Returns self with the quirk() set to [Quirk :: Linger].

§Example
println!("{}", value.linger());
Source§

fn clear(&self) -> Painted<&T>

👎Deprecated since 1.0.1: renamed to resetting() due to conflicts with Vec::clear(). The clear() method will be removed in a future release.

Returns self with the quirk() set to [Quirk :: Clear].

§Example
println!("{}", value.clear());
Source§

fn resetting(&self) -> Painted<&T>

Returns self with the quirk() set to [Quirk :: Resetting].

§Example
println!("{}", value.resetting());
Source§

fn bright(&self) -> Painted<&T>

Returns self with the quirk() set to [Quirk :: Bright].

§Example
println!("{}", value.bright());
Source§

fn on_bright(&self) -> Painted<&T>

Returns self with the quirk() set to [Quirk :: OnBright].

§Example
println!("{}", value.on_bright());
Source§

fn whenever(&self, value: Condition) -> Painted<&T>

Conditionally enable styling based on whether the Condition value applies. Replaces any previous condition.

See the crate level docs for more details.

§Example

Enable styling painted only when both stdout and stderr are TTYs:

use yansi::{Paint, Condition};

painted.red().on_yellow().whenever(Condition::STDOUTERR_ARE_TTY);
Source§

fn new(self) -> Painted<Self>
where Self: Sized,

Create a new Painted with a default Style. Read more
Source§

fn paint<S>(&self, style: S) -> Painted<&Self>
where S: Into<Style>,

Apply a style wholesale to self. Any previous style is replaced. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> ErasedDestructor for T
where T: 'static,