pub fn is_invalid_deployment_id_exception(&self) -> bool {
        matches!(
            &self.kind,
            PutLifecycleEventHookExecutionStatusErrorKind::InvalidDeploymentIdException(_)
        )
    }
/// Returns `true` if the error kind is `PutLifecycleEventHookExecutionStatusErrorKind::InvalidDeploymentIdException`.
Returns `true` if the error kind is `PutLifecycleEventHookExecutionStatusErrorKind::InvalidDeploymentIdException`.
Returns ` true ` if the error kind is ` PutLifecycleEventHookExecutionStatusErrorKind :: InvalidDeploymentIdException ` .
pub fn is_invalid_deployment_id_exception(&self) -> bool {
        matches!(
            &self.kind,
            PutLifecycleEventHookExecutionStatusErrorKind::InvalidDeploymentIdException(_)
        )
    }
pub fn is_invalid_deployment_id_exception ( & self ) -> bool { matches ! ( self kind PutLifecycleEventHookExecutionStatusErrorKind InvalidDeploymentIdException ( ) ) }
Returns `true` if the error kind is `PutLifecycleEventHookExecutionStatusErrorKind::InvalidDeploymentIdException`.
Returns ` true ` if the error kind is ` PutLifecycleEventHookExecutionStatusErrorKind :: InvalidDeploymentIdException ` .
&self
&self