Struct aws_sdk_kafka::model::ClusterOperationInfo
source · [−]#[non_exhaustive]pub struct ClusterOperationInfo {
pub client_request_id: Option<String>,
pub cluster_arn: Option<String>,
pub creation_time: Option<DateTime>,
pub end_time: Option<DateTime>,
pub error_info: Option<ErrorInfo>,
pub operation_arn: Option<String>,
pub operation_state: Option<String>,
pub operation_steps: Option<Vec<ClusterOperationStep>>,
pub operation_type: Option<String>,
pub source_cluster_info: Option<MutableClusterInfo>,
pub target_cluster_info: Option<MutableClusterInfo>,
}Expand description
Returns information about a cluster operation.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.client_request_id: Option<String>The ID of the API request that triggered this operation.
cluster_arn: Option<String>ARN of the cluster.
creation_time: Option<DateTime>The time that the operation was created.
end_time: Option<DateTime>The time at which the operation finished.
error_info: Option<ErrorInfo>Describes the error if the operation fails.
operation_arn: Option<String>ARN of the cluster operation.
operation_state: Option<String>State of the cluster operation.
operation_steps: Option<Vec<ClusterOperationStep>>Steps completed during the operation.
operation_type: Option<String>Type of the cluster operation.
source_cluster_info: Option<MutableClusterInfo>Information about cluster attributes before a cluster is updated.
target_cluster_info: Option<MutableClusterInfo>Information about cluster attributes after a cluster is updated.
Implementations
sourceimpl ClusterOperationInfo
impl ClusterOperationInfo
sourcepub fn client_request_id(&self) -> Option<&str>
pub fn client_request_id(&self) -> Option<&str>
The ID of the API request that triggered this operation.
sourcepub fn cluster_arn(&self) -> Option<&str>
pub fn cluster_arn(&self) -> Option<&str>
ARN of the cluster.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The time that the operation was created.
sourcepub fn error_info(&self) -> Option<&ErrorInfo>
pub fn error_info(&self) -> Option<&ErrorInfo>
Describes the error if the operation fails.
sourcepub fn operation_arn(&self) -> Option<&str>
pub fn operation_arn(&self) -> Option<&str>
ARN of the cluster operation.
sourcepub fn operation_state(&self) -> Option<&str>
pub fn operation_state(&self) -> Option<&str>
State of the cluster operation.
sourcepub fn operation_steps(&self) -> Option<&[ClusterOperationStep]>
pub fn operation_steps(&self) -> Option<&[ClusterOperationStep]>
Steps completed during the operation.
sourcepub fn operation_type(&self) -> Option<&str>
pub fn operation_type(&self) -> Option<&str>
Type of the cluster operation.
sourcepub fn source_cluster_info(&self) -> Option<&MutableClusterInfo>
pub fn source_cluster_info(&self) -> Option<&MutableClusterInfo>
Information about cluster attributes before a cluster is updated.
sourcepub fn target_cluster_info(&self) -> Option<&MutableClusterInfo>
pub fn target_cluster_info(&self) -> Option<&MutableClusterInfo>
Information about cluster attributes after a cluster is updated.
sourceimpl ClusterOperationInfo
impl ClusterOperationInfo
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ClusterOperationInfo
Trait Implementations
sourceimpl Clone for ClusterOperationInfo
impl Clone for ClusterOperationInfo
sourcefn clone(&self) -> ClusterOperationInfo
fn clone(&self) -> ClusterOperationInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ClusterOperationInfo
impl Debug for ClusterOperationInfo
sourceimpl PartialEq<ClusterOperationInfo> for ClusterOperationInfo
impl PartialEq<ClusterOperationInfo> for ClusterOperationInfo
sourcefn eq(&self, other: &ClusterOperationInfo) -> bool
fn eq(&self, other: &ClusterOperationInfo) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ClusterOperationInfo) -> bool
fn ne(&self, other: &ClusterOperationInfo) -> bool
This method tests for !=.
impl StructuralPartialEq for ClusterOperationInfo
Auto Trait Implementations
impl RefUnwindSafe for ClusterOperationInfo
impl Send for ClusterOperationInfo
impl Sync for ClusterOperationInfo
impl Unpin for ClusterOperationInfo
impl UnwindSafe for ClusterOperationInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
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
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more