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