#[non_exhaustive]
pub struct AwsRedshiftClusterDetails { /* private fields */ }
Expand description

Details about an Amazon Redshift cluster.

Implementations§

source§

impl AwsRedshiftClusterDetails

source

pub fn allow_version_upgrade(&self) -> bool

Indicates whether major version upgrades are applied automatically to the cluster during the maintenance window.

source

pub fn automated_snapshot_retention_period(&self) -> i32

The number of days that automatic cluster snapshots are retained.

source

pub fn availability_zone(&self) -> Option<&str>

The name of the Availability Zone in which the cluster is located.

source

pub fn cluster_availability_status(&self) -> Option<&str>

The availability status of the cluster for queries. Possible values are the following:

  • Available - The cluster is available for queries.

  • Unavailable - The cluster is not available for queries.

  • Maintenance - The cluster is intermittently available for queries due to maintenance activities.

  • Modifying -The cluster is intermittently available for queries due to changes that modify the cluster.

  • Failed - The cluster failed and is not available for queries.

source

pub fn cluster_create_time(&self) -> Option<&str>

Indicates when the cluster was created.

Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.

source

pub fn cluster_identifier(&self) -> Option<&str>

The unique identifier of the cluster.

source

pub fn cluster_nodes(&self) -> Option<&[AwsRedshiftClusterClusterNode]>

The nodes in the cluster.

source

pub fn cluster_parameter_groups( &self ) -> Option<&[AwsRedshiftClusterClusterParameterGroup]>

The list of cluster parameter groups that are associated with this cluster.

source

pub fn cluster_public_key(&self) -> Option<&str>

The public key for the cluster.

source

pub fn cluster_revision_number(&self) -> Option<&str>

The specific revision number of the database in the cluster.

source

pub fn cluster_security_groups( &self ) -> Option<&[AwsRedshiftClusterClusterSecurityGroup]>

A list of cluster security groups that are associated with the cluster.

source

pub fn cluster_snapshot_copy_status( &self ) -> Option<&AwsRedshiftClusterClusterSnapshotCopyStatus>

Information about the destination Region and retention period for the cross-Region snapshot copy.

source

pub fn cluster_status(&self) -> Option<&str>

The current status of the cluster.

Valid values: available | available, prep-for-resize | available, resize-cleanup | cancelling-resize | creating | deleting | final-snapshot | hardware-failure | incompatible-hsm | incompatible-network | incompatible-parameters | incompatible-restore | modifying | paused | rebooting | renaming | resizing | rotating-keys | storage-full | updating-hsm

source

pub fn cluster_subnet_group_name(&self) -> Option<&str>

The name of the subnet group that is associated with the cluster. This parameter is valid only when the cluster is in a VPC.

source

pub fn cluster_version(&self) -> Option<&str>

The version ID of the Amazon Redshift engine that runs on the cluster.

source

pub fn db_name(&self) -> Option<&str>

The name of the initial database that was created when the cluster was created.

The same name is returned for the life of the cluster.

If an initial database is not specified, a database named devdev is created by default.

source

pub fn deferred_maintenance_windows( &self ) -> Option<&[AwsRedshiftClusterDeferredMaintenanceWindow]>

List of time windows during which maintenance was deferred.

source

pub fn elastic_ip_status(&self) -> Option<&AwsRedshiftClusterElasticIpStatus>

Information about the status of the Elastic IP (EIP) address.

source

pub fn elastic_resize_number_of_node_options(&self) -> Option<&str>

The number of nodes that you can use the elastic resize method to resize the cluster to.

source

pub fn encrypted(&self) -> bool

Indicates whether the data in the cluster is encrypted at rest.

source

pub fn endpoint(&self) -> Option<&AwsRedshiftClusterEndpoint>

The connection endpoint.

source

pub fn enhanced_vpc_routing(&self) -> bool

Indicates whether to create the cluster with enhanced VPC routing enabled.

source

pub fn expected_next_snapshot_schedule_time(&self) -> Option<&str>

Indicates when the next snapshot is expected to be taken. The cluster must have a valid snapshot schedule and have backups enabled.

Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.

source

pub fn expected_next_snapshot_schedule_time_status(&self) -> Option<&str>

The status of the next expected snapshot.

Valid values: OnTrack | Pending

source

pub fn hsm_status(&self) -> Option<&AwsRedshiftClusterHsmStatus>

Information about whether the Amazon Redshift cluster finished applying any changes to hardware security module (HSM) settings that were specified in a modify cluster command.

source

pub fn iam_roles(&self) -> Option<&[AwsRedshiftClusterIamRole]>

A list of IAM roles that the cluster can use to access other Amazon Web Services services.

source

pub fn kms_key_id(&self) -> Option<&str>

The identifier of the KMS encryption key that is used to encrypt data in the cluster.

source

pub fn maintenance_track_name(&self) -> Option<&str>

The name of the maintenance track for the cluster.

source

pub fn manual_snapshot_retention_period(&self) -> i32

The default number of days to retain a manual snapshot.

If the value is -1, the snapshot is retained indefinitely.

This setting doesn't change the retention period of existing snapshots.

Valid values: Either -1 or an integer between 1 and 3,653

source

pub fn master_username(&self) -> Option<&str>

The master user name for the cluster. This name is used to connect to the database that is specified in as the value of DBName.

source

pub fn next_maintenance_window_start_time(&self) -> Option<&str>

Indicates the start of the next maintenance window.

Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.

source

pub fn node_type(&self) -> Option<&str>

The node type for the nodes in the cluster.

source

pub fn number_of_nodes(&self) -> i32

The number of compute nodes in the cluster.

source

pub fn pending_actions(&self) -> Option<&[String]>

A list of cluster operations that are waiting to start.

source

pub fn pending_modified_values( &self ) -> Option<&AwsRedshiftClusterPendingModifiedValues>

A list of changes to the cluster that are currently pending.

source

pub fn preferred_maintenance_window(&self) -> Option<&str>

The weekly time range, in Universal Coordinated Time (UTC), during which system maintenance can occur.

Format: :HH:MM- :HH:MM

For the day values, use mon | tue | wed | thu | fri | sat | sun

For example, sun:09:32-sun:10:02

source

pub fn publicly_accessible(&self) -> bool

Whether the cluster can be accessed from a public network.

source

pub fn resize_info(&self) -> Option<&AwsRedshiftClusterResizeInfo>

Information about the resize operation for the cluster.

source

pub fn restore_status(&self) -> Option<&AwsRedshiftClusterRestoreStatus>

Information about the status of a cluster restore action. Only applies to a cluster that was created by restoring a snapshot.

source

pub fn snapshot_schedule_identifier(&self) -> Option<&str>

A unique identifier for the cluster snapshot schedule.

source

pub fn snapshot_schedule_state(&self) -> Option<&str>

The current state of the cluster snapshot schedule.

Valid values: MODIFYING | ACTIVE | FAILED

source

pub fn vpc_id(&self) -> Option<&str>

The identifier of the VPC that the cluster is in, if the cluster is in a VPC.

source

pub fn vpc_security_groups( &self ) -> Option<&[AwsRedshiftClusterVpcSecurityGroup]>

The list of VPC security groups that the cluster belongs to, if the cluster is in a VPC.

source

pub fn logging_status(&self) -> Option<&AwsRedshiftClusterLoggingStatus>

Information about the logging status of the cluster.

source§

impl AwsRedshiftClusterDetails

source

pub fn builder() -> AwsRedshiftClusterDetailsBuilder

Creates a new builder-style object to manufacture AwsRedshiftClusterDetails.

Trait Implementations§

source§

impl Clone for AwsRedshiftClusterDetails

source§

fn clone(&self) -> AwsRedshiftClusterDetails

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AwsRedshiftClusterDetails

source§

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

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

impl PartialEq<AwsRedshiftClusterDetails> for AwsRedshiftClusterDetails

source§

fn eq(&self, other: &AwsRedshiftClusterDetails) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for AwsRedshiftClusterDetails

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · 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 Twhere U: From<T>,

const: unstable · 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> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

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

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

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

Performs the conversion.
source§

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

§

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

The type returned in the event of a conversion error.
const: unstable · 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